struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Adam Brin <ab...@digitalantiquity.org>
Subject Re: 2.3.28.1 to 2.5.1 - java.lang.NoSuchMethodError: ognl.SimpleNode.isOperation
Date Wed, 29 Jun 2016 19:20:03 GMT
Hi,
 Emi, do you have a maven pom that shows dependencies? It might be that you’ve got multiple
copies of XWork, Struts2 (somehow) or another conflict. Probably need more information to
help debug.

best,

adam
-- 
_________________________________________________________
Adam Brin
Director of Technology, Digital Antiquity
480.965.1278

> On Jun 29, 2016, at 12:17 PM, Emi <emilu@encs.concordia.ca> wrote:
> 
> Hello,
> 
> Upgrade 2.3.28.1 to 2.5.1.
> 
> Tried to start tomcat7.0.70, and got the following msg. Can someone let me know which
jar(s) are missing/wrong version please?
> 
> 
> SEVERE: Exception starting filter struts2:
> java.lang.NoSuchMethodError: ognl.SimpleNode.isOperation(Lognl/OgnlContext;)Z
>    at com.opensymphony.xwork2.ognl.OgnlUtil.isArithmeticExpression(OgnlUtil.java:322)
>    at com.opensymphony.xwork2.ognl.OgnlUtil.access$100(OgnlUtil.java:49)
>    at com.opensymphony.xwork2.ognl.OgnlUtil$1.execute(OgnlUtil.java:292)
>    at com.opensymphony.xwork2.ognl.OgnlUtil$1.execute(OgnlUtil.java:287)
>    at com.opensymphony.xwork2.ognl.OgnlUtil.compileAndExecute(OgnlUtil.java:382)
>    at com.opensymphony.xwork2.ognl.OgnlUtil.setValue(OgnlUtil.java:287)
>    at com.opensymphony.xwork2.ognl.OgnlUtil.internalSetProperty(OgnlUtil.java:610)
>    at com.opensymphony.xwork2.ognl.OgnlUtil.setProperties(OgnlUtil.java:171)
>    at com.opensymphony.xwork2.ognl.OgnlUtil.setProperties(OgnlUtil.java:198)
>    at com.opensymphony.xwork2.ognl.OgnlUtil.setProperties(OgnlUtil.java:185)
>    at com.opensymphony.xwork2.ognl.OgnlReflectionProvider.setProperties(OgnlReflectionProvider.java:58)
>    at com.opensymphony.xwork2.factory.DefaultInterceptorFactory.buildInterceptor(DefaultInterceptorFactory.java:43)
>    at com.opensymphony.xwork2.ObjectFactory.buildInterceptor(ObjectFactory.java:207)
>    at com.opensymphony.xwork2.config.providers.InterceptorBuilder.constructInterceptorReference(InterceptorBuilder.java:71)
>    at com.opensymphony.xwork2.config.providers.XmlConfigurationProvider.lookupInterceptorReference(XmlConfigurationProvider.java:1137)
>    at com.opensymphony.xwork2.config.providers.XmlConfigurationProvider.loadInterceptorStack(XmlConfigurationProvider.java:969)
>    at com.opensymphony.xwork2.config.providers.XmlConfigurationProvider.loadInterceptorStacks(XmlConfigurationProvider.java:982)
>    at com.opensymphony.xwork2.config.providers.XmlConfigurationProvider.loadInterceptors(XmlConfigurationProvider.java:1005)
>    at com.opensymphony.xwork2.config.providers.XmlConfigurationProvider.addPackage(XmlConfigurationProvider.java:536)
>    at com.opensymphony.xwork2.config.providers.XmlConfigurationProvider.loadPackages(XmlConfigurationProvider.java:311)
> 
>    at org.apache.struts2.config.StrutsXmlConfigurationProvider.loadPackages(StrutsXmlConfigurationProvider.java:108)
>    at com.opensymphony.xwork2.config.impl.DefaultConfiguration.reloadContainer(DefaultConfiguration.java:187)
>    at com.opensymphony.xwork2.config.ConfigurationManager.getConfiguration(ConfigurationManager.java:67)
> 
>    at org.apache.struts2.dispatcher.Dispatcher.getContainer(Dispatcher.java:897)
>    at org.apache.struts2.dispatcher.Dispatcher.init_PreloadConfiguration(Dispatcher.java:437)
>    at org.apache.struts2.dispatcher.Dispatcher.init(Dispatcher.java:478)
>    at org.apache.struts2.dispatcher.InitOperations.initDispatcher(InitOperations.java:75)
>    at org.apache.struts2.dispatcher.filter.StrutsPrepareAndExecuteFilter.init(StrutsPrepareAndExecuteFilter.java:63)
> 
>    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:4939)
>    at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5633)
>    at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:147)
>    at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:899)
>    at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:875)
>    at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:652)
>    at org.apache.catalina.startup.HostConfig.deployDescriptor(HostConfig.java:679)
>    at org.apache.catalina.startup.HostConfig$DeployDescriptor.run(HostConfig.java:1966)
> 
>    at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
>    at java.util.concurrent.FutureTask.run(FutureTask.java:266)
>    at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
>    at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
>    at java.lang.Thread.run(Thread.java:745)
> 
> 
> Use: jdk8, tomcat7, spring 4.2.1, tiles3.0.5.
> 
> Thanks a lot!
> 


---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org


Mime
View raw message