码迷,mamicode.com
首页 > Web开发 > 详细

web.xml配置出错

时间:2016-06-01 19:37:24      阅读:206      评论:0      收藏:0      [点我收藏+]

标签:

 

严重: ********** FATAL ERROR STARTING UP STRUTS-SPRING INTEGRATION **********
Looks like the Spring listener was not configured for your web app!
Nothing will work until WebApplicationContextUtils returns a valid ApplicationContext.
You might need to add the following to web.xml:
<listener>
<listener-class>org.springframework.web.context.ContextLoaderListener</listener-class>
</listener>
六月 01, 2016 5:50:30 下午 com.opensymphony.xwork2.util.logging.commons.CommonsLogger error
严重: Dispatcher initialization failed
java.lang.NullPointerException

 

将以下内容添加到web.xml文件中: 
<listener>
<listener-class>org.springframework.web.context.ContextLoaderListener</listener-class>
</listener>

web.xml配置出错

标签:

原文地址:http://www.cnblogs.com/azhi/p/5550541.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!