com.opensymphony.xwork2.inject.ContainerImpl$MethodInjector
来源:互联网 发布:电视阿里云系统好不好 编辑:程序博客网 时间:2024/06/05 00:09
以下为度娘结果:
Caused by: java.lang.ClassNotFoundException: javassist.ClassPool
在使用struts-2.2.1时,需要引入javassist-3.7.ga.jar,而这个在struts-2.2.1/lib下是没有的,需要在struts-2.2.1/apps/struts2-blank-2.2.1.war下的lib中找。
通过这个总结出一点经验:每个版本需要的包可能不一样,所以最快捷的方式是下载
struts-2.2.1-all.zip,应用实例中最简单的struts2-blank中导入的包就是最基本的包。
比如,2.1.x版本中需要commons-logging-1.0.4.jar,2.2.1中就不需要了。
0 0
- com.opensymphony.xwork2.inject.ContainerImpl$MethodInjector
- com.opensymphony.xwork2.inject.DependencyException: com.opensymphony.xwork2.inject.ContainerImpl$MissingDependencyException: No
- com.opensymphony.xwork2.inject.DependencyException: com.opensymphony.xwork2.inject.ContainerImpl$Mis
- web ssh项目com.opensymphony.xwork2.inject.ContainerImpl$MissingDependencyException异常及解决方法
- com.opensymphony.xwork2.inject.DependencyException
- The web application created a ThreadLocal with key of type [null] (value [com.opensymphony.xwork2.inject.ContainerImpl$10@1807b9
- Class: com.opensymphony.xwork2.inject.util.
- [Struts2]Caused by: com.opensymphony.xwork2.inject.DependencyException:
- 关于:[Struts2]Caused by: com.opensymphony.xwork2.inject.DependencyException:
- Caused by: com.opensymphony.xwork2.inject.DependencyException: No mapping found解决方案
- Exception starting filter struts2 java.lang.RuntimeException: com.opensymphony.xwork2.inject.Depende
- java.lang.RuntimeException: java.lang.RuntimeException: com.opensymphony.xwork2.inject.DependencyExc
- com.opensymphony.xwork2.interceptor.ParametersInterceptor
- struts.objectFactory=com.opensymphony.xwork2.ObjectFactory
- type: class:com.opensymphony.xwork2.ObjectFactory
- Line: 209 - com/opensymphony/xwork2/spring/SpringO
- com.opensymphony.xwork2.spring.SpringObjectFactory.getClassInstance
- at com.opensymphony.xwork2.spring.SpringObjectFactory.getClassInstance...
- linux20基本命令
- 关系型数据库三范式
- Python中类的方法属性与方法属性的动态绑定
- vs 调试的时候提示和源码对应不上,断点不起作用
- 【数据结构】二叉树的后序遍历
- com.opensymphony.xwork2.inject.ContainerImpl$MethodInjector
- 对绝对路径与相对路径的理解
- 动作标签
- 快排的递归实现和非递归实现
- Java.基础知识篇.01 java开发环境
- 通过 JS 注入获取和设置input域的值
- T解 POJ-2409 Burnside定理 群论 组合数学
- shell遍历文件
- Java 实现插入排序