您的位置:首页 > 产品设计 > UI/UE

.InvocationTargetException - Class: com.opensymphony.xwork2.inject.ContainerBuilder$4

2013-01-13 01:08 323 查看
问题:
严重: Exception starting filter struts2

java.lang.RuntimeException: java.lang.RuntimeException: java.lang.reflect.InvocationTargetException - Class: com.opensymphony.xwork2.inject.ContainerBuilder$4

File: ContainerBuilder.java

Method: create

解决方法


1.将org.springframework.web-3.0.5.RELEASE.jar拷贝到WEB-INF/lib目录下

2.在web.xml中加入

<context-param>

<param-name>contextConfigLocation</param-name>

<param-value>/WEB-INF/applicationContext-*.xml,classpath*:applicationContext-*.xml</param-value>

</context-param>

<listener>

<listener-class>org.springframework.web.context.ContextLoaderListener</listener-class>

</listener>
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签:  xml create filter