Struts Error NOSUCHMETHODERROR:COM.OPENSYMPHONY.XWORK2

Source: Internet
Author: User

Severity: Exception Starting filter Struts2
JAVA.LANG.NOSUCHMETHODERROR:COM.OPENSYMPHONY.XWORK2.UTIL.FINDER.URLSET.INCLUDECLASSESURL (lcom/opensymphony/ Xwork2/util/finder/classloaderinterface;) Lcom/opensymphony/xwork2/util/finder/urlset;
At Org.apache.struts2.convention.PackageBasedActionConfigBuilder.buildUrlSet ( packagebasedactionconfigbuilder.java:417)
At Org.apache.struts2.convention.PackageBasedActionConfigBuilder.findActions ( packagebasedactionconfigbuilder.java:376)
At Org.apache.struts2.convention.PackageBasedActionConfigBuilder.buildActionConfigs ( packagebasedactionconfigbuilder.java:334)
At Org.apache.struts2.convention.ClasspathPackageProvider.loadPackages (classpathpackageprovider.java:53)
At Com.opensymphony.xwork2.config.impl.DefaultConfiguration.reloadContainer (defaultconfiguration.java:260)
At Com.opensymphony.xwork2.config.ConfigurationManager.getConfiguration (configurationmanager.java:67)
At Org.apache.struts2.dispatcher.Dispatcher.init_PreloadConfiguration (dispatcher.java:429)
At Org.apache.struts2.dispatcher.Dispatcher.init (dispatcher.java:473)
At Org.apache.struts2.dispatcher.ng.InitOperations.initDispatcher (initoperations.java:74)
At Org.apache.struts2.dispatcher.ng.filter.StrutsPrepareAndExecuteFilter.init ( STRUTSPREPAREANDEXECUTEFILTER.JAVA:51)
At Org.apache.catalina.core.ApplicationFilterConfig.initFilter (applicationfilterconfig.java:273)
At Org.apache.catalina.core.ApplicationFilterConfig.getFilter (applicationfilterconfig.java:254)
At Org.apache.catalina.core.ApplicationFilterConfig.setFilterDef (applicationfilterconfig.java:372)
At Org.apache.catalina.core.applicationfilterconfig.<init> (applicationfilterconfig.java:98)
At Org.apache.catalina.core.StandardContext.filterStart (standardcontext.java:4562)
At Org.apache.catalina.core.standardcontext$2.call (standardcontext.java:5240)
At Org.apache.catalina.core.standardcontext$2.call (standardcontext.java:5235)
At Java.util.concurrent.futuretask$sync.innerrun (Unknown Source)
At Java.util.concurrent.FutureTask.run (Unknown Source)
At Java.util.concurrent.threadpoolexecutor$worker.runtask (Unknown Source)
At Java.util.concurrent.threadpoolexecutor$worker.run (Unknown Source)
At Java.lang.Thread.run (Unknown Source)
2013-8-1 16:22:34 Org.apache.catalina.core.StandardContext startinternal

Workaround:

I'm using the jar package: Struts2-core-2.3.12.jar + Struts2-convention-plugin-2.2.16.jar + Xwork-core-2.3.12.jar. The solution is to change the Struts2-convention-plugin-2.2.16.jar to Struts2-convention-plugin-2.3.12.jar. Version number is consistent with Struts-core, Xwork-core version number

Struts Error NOSUCHMETHODERROR:COM.OPENSYMPHONY.XWORK2

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.