Unable to read class [com.mrp.action.BaseAction]
2018-07-20 10:15
756 查看
struts2启动时,出现的 Unable to read class [com.mrp.action.BaseAction]
java.lang.NoClassDefFoundError: com/opensymphony/xwork2/util/finder/DefaultClassFinder$InfoBuildingVisitor 错误解决办法
在项目的struts.xml文件中第一行加入<constant name="struts.convention.package.locators" value="controller"/>,重新启动后会自动消除这个错误,这个错误不是缺少相关jar文件导致的。
相关文章推荐
- Caused by: Unable to locate parent package [json-package] for [class com.you.action.ColumnAction] -
- Caused by: Unable to locate parent package [json-package] for [class com.you.action.ColumnAction] -
- Caused by: Unable to locate parent package [json-default] for [class com.you.user.action.StudentActi
- Caused by: Unable to locate parent package [json-default] for [class com.you.user.action.StudentActi
- Caused by: Unable to locate parent package [json-package] for [class com.you.action.ColumnAction] -
- SSH整合时,tomcat启动报错(unable to load class com.mysql.jdbc.Driver)
- Error:Unable to find method 'com.android.build.gradle.api.BaseVariant.getOutputs()Ljava/util/List
- Unable to instantiate service com.baidu.android.pushservice.PushService: java.lang.ClassNotFoundExc
- hibernate 报错 Unable to load class[com.mysql.jdbc.Driver]
- unable to access 'https://github.com/caskroom/homebrew-cask/': SSLRead() return error -9806
- eclipse 出现Unsupported major.minor version 51.0 (unable to load class org.wjjia.com.LoginServlet)怎么解决
- Unable to load configuration. - action - |Caused by: Action class [login] not found - action -
- Unable to compile class for JSP: Only a type can be imported. com.gao.model.OutputStatistics resolve
- Unable to find a javac compiler; com.sun.tools.javac.Main is not on the classpath. Perhaps JAVA_HOME does not point to the JDK(转
- Unsupported major.minor version 52.0(unable to load class com.cl.business.yx.dao.AnnouncementDAO)
- Unable to resolve dependency for ':app@debug/compileClasspath': Could not resolve com.android.suppor
- java.lang.RuntimeException: Unable to start activity ComponentInfo{com.ex.activity/com.ex.activity.LoginActivity}: android.view.InflateException: Binary XML file line #1: Error inflating class
- Unable to instantiate activity ComponentInfo{com.xxx.xxx} java.lang.ClassNotFoundException
- 问题:Unable to find a javac compiler; com.sun.tools.javac.Main is not on the classpath.Perhaps JAVA_HOME does not point to the JDK
- Unable to find a javac compiler; com.sun.tools.javac.Main is not on the classpath.Perhaps JAVA_HOME does not point to the JDK