
spring配置
tl_
这个作者很懒,什么都没留下…
展开
-
Spring加载配置文件流程
加载流程通过web.xml里配置原创 2017-09-19 18:05:11 · 563 阅读 · 0 评论 -
IntelliJ Idea解决Could not autowire. No beans of 'xxxx' type found的错误提示
1.针对第一种原因,解决办法是:降低Autowired检测的级别,将Severity的级别由之前的error改成warning或其它可以忽略的级别。 2.File-Project Structure 页面 Facets下删掉 Spring(直接右键Delete)。并不会降低安全性!!因为创建项目的时候,都是先创建空项目再创建web moduele(你想直接创建web project也可以),一般不原创 2017-11-01 11:10:47 · 6567 阅读 · 1 评论 -
Spring contextConfigLocation默认加载文件的位置
<context-param> <param-name>contextConfigLocation</param-name> <param-value>/WEB-INF/config/spring-bean-config.xml</param-value> </context-param> <listener> <listener-cla原创 2017-11-06 11:50:52 · 469 阅读 · 0 评论