概述
- 信息: AppStartListener Launch!
- WARN - Settings: Could not parse struts.locale setting, substituting default VM locale
- 2008-11-25 15:03:14 org.apache.catalina.core.StandardContext filterStart
- 严重: Exception starting filter struts
- java.lang.NoClassDefFoundError: Lcom/opensymphony/xwork2/util/logging/Logger;
- at java.lang.Class.getDeclaredFields0(Native Method)
- at java.lang.Class.privateGetDeclaredFields(Class.java:2259)
- at java.lang.Class.getDeclaredFields(Class.java:1715)
- at com.opensymphony.xwork2.inject.ContainerImpl.injectStatics(ContainerImpl.java:110)
- at com.opensymphony.xwork2.inject.ContainerBuilder.create(ContainerBuilder.java:494)
- at com.opensymphony.xwork2.config.impl.DefaultConfiguration.reload(DefaultConfiguration.java:145)
- at com.opensymphony.xwork2.config.ConfigurationManager.getConfiguration(ConfigurationManager.java:52)
- at org.apache.struts2.dispatcher.Dispatcher.init_PreloadConfiguration(Dispatcher.java:395)
- at org.apache.struts2.dispatcher.Dispatcher.init(Dispatcher.java:452)
- at org.apache.struts2.dispatcher.FilterDispatcher.init(FilterDispatcher.java:203)
- at org.apache.catalina.core.ApplicationFilterConfig.getFilter(ApplicationFilterConfig.java:275)
- at org.apache.catalina.core.ApplicationFilterConfig.setFilterDef(ApplicationFilterConfig.java:397)
- at org.apache.catalina.core.ApplicationFilterConfig.<init>(ApplicationFilterConfig.java:108)
- at org.apache.catalina.core.StandardContext.filterStart(StandardContext.java:3693)
- at org.apache.catalina.core.StandardContext.start(StandardContext.java:4340)
- at org.apache.catalina.startup.HostConfig.checkResources(HostConfig.java:1105)
- at org.apache.catalina.startup.HostConfig.check(HostConfig.java:1203)
- at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:293)
- at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:117)
- at org.apache.catalina.core.ContainerBase.backgroundProcess(ContainerBase.java:1337)
- at org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor.processChildren(ContainerBase.java:1601)
- at org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor.processChildren(ContainerBase.java:1610)
- at org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor.run(ContainerBase.java:1590)
- at java.lang.Thread.run(Thread.java:595)
因为struts2与xwork版本不匹配
估计是struts2 2.0.12 需要xwork 2.1.0以上的版本。
最后
以上就是大方眼神为你收集整理的配置STRUTS2的几个常见错误1的全部内容,希望文章能够帮你解决配置STRUTS2的几个常见错误1所遇到的程序开发问题。
如果觉得靠谱客网站的内容还不错,欢迎将靠谱客网站推荐给程序员好友。
本图文内容来源于网友提供,作为学习参考使用,或来自网络收集整理,版权属于原作者所有。
发表评论 取消回复