摘要: 在web配置工程中配置shiro,如果启动Tomcat,报错:org.apache.shiro.web.config.WebIniSecurityManagerFactory.setDefaults 报错原因:shiro-web的版本高于了shiro-core的版本 如: 修正版本号即可如: 只要保 阅读全文
posted @ 2018-01-29 16:33 GET_CHEN 阅读(297) 评论(0) 推荐(0)
摘要: 1.ioc:控制反转,spring管理初始化对象的过程就叫控制反转。底层采用反射来实现。 1.1 spring 通过bean.xml文件来实现IOC和DI 1.2 sping通过什么方法实现加载spring容器的? 类路径:ApplicationContext(BeanFactory) ac = C 阅读全文
posted @ 2018-01-29 16:33 GET_CHEN 阅读(136) 评论(0) 推荐(0)