严重: Error configuring application listener of class org.springframework.web.context.ContextLoaderLis
2016-11-06 22:00
495 查看
在maven工程中,做maven install 时,报出如上的错误,用tomcat启动又提醒缺少类,其实jar包都是有的,这种情况下,可以这样操作就避免了这种问题:
其实可能是你的jar文件没有同步发布到自己项目的lib目录中(如果你是用Maven进行构建的话) 可以试试 下面的办法 项目点击右键 点击 Properties 选择Deployment Assembly 再点击右边的Add按钮 选择Java Build Path Entries后点击Next按钮 然后选择你的Maven Dependencies 确定即可
经过如上操作,就可以解决问题。
其实可能是你的jar文件没有同步发布到自己项目的lib目录中(如果你是用Maven进行构建的话) 可以试试 下面的办法 项目点击右键 点击 Properties 选择Deployment Assembly 再点击右边的Add按钮 选择Java Build Path Entries后点击Next按钮 然后选择你的Maven Dependencies 确定即可
经过如上操作,就可以解决问题。
相关文章推荐
- 严重: Error configuring application listener of class org.springframework.web.context.ContextLoaderLis
- 严重: Error configuring application listener of class org.springframework.web.context.ContextLoaderLis
- 严重: Error configuring application listener of class org.springframework.web.context.ContextLoaderLis
- 严重: Error configuring application listener of class org.springframework.web.context.ContextLoaderLis
- 严重: Error configuring application listener of class org.springframework.web.context.ContextLoaderLis
- 严重: Error configuring application listener of class org.springframework.web.context.ContextLoaderLis
- 严重: Error configuring application listener of class org.springframework.web.context.ContextLoaderLis
- 严重: Error configuring application listener of class org.springframework.web.context.ContextLoaderLis
- 严重: Error configuring application listener of class org.springframework.web.context.ContextLoaderLis
- 严重: Error configuring application listener of class org.springframework.web.context.ContextLoaderLis
- 严重: Error configuring application listener of class org.springframework.web.context.ContextLoaderLis
- 严重: Error configuring application listener of class org.springframework.web.context.ContextLoaderLis
- 严重: Error configuring application listener of class org.springframework.web.context.ContextLoaderLis
- 严重: Error configuring application listener of class org.springframework.web.context.ContextLoaderLis
- 严重: Error configuring application listener of class org.springframework.web.context.ContextLoaderLis
- 严重: Error configuring application listener of class org.springframework.web.context.ContextLoaderLis
- 严重: Error configuring application listener of class org.springframework.web.context.ContextLoaderLis
- 严重: Error configuring application listener of class org.springframework.web.context.ContextLoaderLis
- 严重: Error configuring application listener of class org.springframework.web.context.ContextLoaderLis
- 严重: Error configuring application listener of class org.springframework.web.context.ContextLoaderLis