Maven+spring 报错:Error configuring application listener of class org.springframework.web.cont
错误信息:
SEVERE: Error configuring application listener of class org.springframework.web.context.ContextLoaderListener
解决方案:
1. 打开工程属性对话框,到Deployment Assembly页面,点击Add

2. 选择Jave Build Path Entries

3. 把程序用于的Library加入进来

4. 重新运行Server应该看不到这个问题了
错误信息:
SEVERE: Error configuring application listener of class org.springframework.web.context.ContextLoaderListener
解决方案:
1. 打开工程属性对话框,到Deployment Assembly页面,点击Add

2. 选择Jave Build Path Entries

3. 把程序用于的Library加入进来

4. 重新运行Server应该看不到这个问题了
本文解决Maven+Spring项目在部署时遇到的ContextLoaderListener配置错误问题,通过调整工程属性中的部署组件,将必要的Library加入Java Build Path Entries,从而避免启动服务器时出现的错误。
320

被折叠的 条评论
为什么被折叠?



