Spring beans 配置文件所在目录 报错
来源:5-2 Spring MVC开发环境搭建-web.xml配置

帝临江南
2017-12-06
<!-- Spring beans 配置文件所在目录 -->
<context-param>
<param-name>contextConfigLocation</param-name>
<param-value>classpath:applicationContext.xml</param-value>
</context-param>
写回答
1回答
-
你好,这个需要设置resources文件夹为Resource Root,这样才能读到applicationContext.xml这个文件。如果对这个没什么概念或者有疑问的话,可以在qq群里找一下我。祝你学习愉快!
012017-12-06
相似问题