摘要: 基于ssm框架: 1.引入shiro相关jar包: shiro-core-1.2.3.jar shiro-ehcache-1.2.3.jar shiro-quartz-1.2.3.jar shiro-spring-1.2.3.jar shiro-web-1.2.3.jar 2.配置applicati 阅读全文
posted @ 2017-11-24 17:23 super超人 阅读(385) 评论(0) 推荐(0)
摘要: 1.引入jar包: log4j-1.2.12.jarslf4j-api-1.6.6.jarslf4j-log4j12-1.6.6.jar 2.配置文件log4j.properties(放置在src下,默认加载src下的;如果在web.xml配置log4j监听器,可自定义路径): 3.测试: 生成日志 阅读全文
posted @ 2017-11-24 14:23 super超人 阅读(150) 评论(0) 推荐(0)
摘要: 基于ssm项目: 1.导入log4j、slf4j相关jar包 commons-logging-1.1.3.jar、log4j-1.2.12.jar、slf4j-api-1.6.6.jar、slf4j-log4j12-1.6.6.jar 2.设置属性文件log4j.properties放置在/WEB- 阅读全文
posted @ 2017-11-24 13:16 super超人 阅读(251) 评论(0) 推荐(0)
摘要: IDEA中安装FindBugs插件: file--Settings--Plugins 在Plugins搜索FindBugs: 安装完成后在项目中选中文件右键找到findBugs: 检查代码结果: 按照提示修改,直到不再检查得到错误。 阅读全文
posted @ 2017-11-24 10:37 super超人 阅读(248) 评论(0) 推荐(0)