.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>
严重: 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>
相关文章推荐
- 严重: Exception starting filter struts2 java.lang.reflect.InvocationTargetException - Class: com.opens
- 严重: Exception starting filter struts2 java.lang.reflect.InvocationTargetException - Class: com.opens
- java.lang.reflect.InvocationTargetException问题
- win7 .net加解密模块出错,System.Reflection.TargetInvocationException
- eclipse InvocationTargetException 错误解决
- java.lang.RuntimeException: java.lang.reflect.InvocationTargetException
- java.lang.ClassNotFoundException: org.springframework.aop.TargetSource
- 该死的错误,http500--java.lang.reflect.InvocationTargetException
- InvocationTargetException
- json转换数据时发生异常:java.lang.reflect.InvocationTargetException
- jquery Ajax 返回JSON报错: org.apache.struts2.json.JSONException: java.lang.reflect.InvocationTargetExce
- java.lang.reflect.InvocationTargetException
- 使用反射出现java.lang.reflect.InvocationTargetException
- InvocationTargetException
- net.sf.json.JSONException: java.lang.reflect.InvocationTargetException
- 在 Linux 环境下报错 java.lang.reflect.InvocationTargetException
- 使用Axis2报"An error occurred while completing process -java.lang.reflect.InvocationTargetException"处理
- InvocationTargetException 浅析
- java.lang.reflect.InvocationTargetException(java.lang.StackOverflowError)
- Exception has been thrown by the target of an invocation