摘要:
假设要在6380开启redis 1.添加配置文件:复制redis.conf为redis_6380.conf 2.修改配置文件:修改redis_6380.conf中port、pidfile 3.防火墙:开启6380端口 4.启动redis:redis-server redis_6380.conf 5. 阅读全文
摘要:
一、spring-data-redis 1.jar包 2.xml文件 3.注入使用 阅读全文
摘要:
1.安装redis 2.开启6379端口,使外部机器能够访问 3. 阅读全文
摘要:
1.如果mybatis的xml文件放在java文件夹下(idea不会编译src的java目录的xml文件),需要在pom.xml中加入以下代码: 2.mybatis的配置文件不要出现classpath 3.spring与mybatis整合关键配置 阅读全文
摘要:
版本在1.3以上,包括1.3: <!DOCTYPE module PUBLIC "-//Puppy Crawl//DTD Check Configuration 1.3//EN" "http://www.puppycrawl.com/dtds/configuration_1_3.dtd"> 阅读全文
摘要:
1.安装CheckStyle 2.配置idea_checks.xml 3.启用CheckStyle idea_checks.xml: 阅读全文