码迷,mamicode.com
首页 > 其他好文 > 详细

com.opensymphony.xwork2.config.ConfigurationManager.addConfigurationProvider

时间:2017-10-19 10:31:52      阅读:141      评论:0      收藏:0      [点我收藏+]

标签:pool   filter   catalina   exec   worker   ati   manager   future   intern   

     下午 org.apache.catalina.core.StandardContext filterStart
严重: Exception starting filter Struts2
java.lang.NoSuchMethodError: com.opensymphony.xwork2.config.ConfigurationManager.addConfigurationProvider(Lcom/opensymphony/xwork2/config/ConfigurationProvider;)V
    at org.apache.struts2.dispatcher.Dispatcher.init_DefaultProperties(Dispatcher.java:310)
    at org.apache.struts2.dispatcher.Dispatcher.init(Dispatcher.java:411)
    at org.apache.struts2.dispatcher.FilterDispatcher.init(FilterDispatcher.java:190)
    at org.texturemedia.smarturls.SmartURLsFilter.init(SmartURLsFilter.java:68)
    at org.apache.catalina.core.ApplicationFilterConfig.initFilter(ApplicationFilterConfig.java:279)
    at org.apache.catalina.core.ApplicationFilterConfig.getFilter(ApplicationFilterConfig.java:260)
    at org.apache.catalina.core.ApplicationFilterConfig.<init>(ApplicationFilterConfig.java:105)
    at org.apache.catalina.core.StandardContext.filterStart(StandardContext.java:4573)
    at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5188)
    at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)
    at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1409)
    at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1399)
    at java.util.concurrent.FutureTask.run(Unknown Source)
    at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
    at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
    at java.lang.Thread.run(Unknown Source)
解决该问题的方法有:第一,检查Struts jar包是否有冲突,就是相同包名多个版本的情况,删除重复的jar包。第二,检查web.xml的配置是否正确。

com.opensymphony.xwork2.config.ConfigurationManager.addConfigurationProvider

标签:pool   filter   catalina   exec   worker   ati   manager   future   intern   

原文地址:http://www.cnblogs.com/Hackerman/p/7690781.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!