Look at your generated jars and classpath instead of relying on a magical
"pom".
The JVM is never wrong about such problems :
java.lang.NoSuchMethodError:
ognl.SimpleNode.isEvalChain(Lognl/OgnlContext;)Z
at
com.opensymphony.xwork2.ognl.OgnlUtil.isEvalExpression(OgnlUtil.java:356)
means
*ogn.SimpleNode is MISSING*
Regards,
Guillaume
Le lun. 6 avr. 2020 à 08:53, Juan Manuel Fandiño Boullón <
[email protected]> a écrit :
> I have added the corresponding dependency in the pom file
>
> In other projects, with struts 1, there was no problem at all
>
>
>
>
> El jueves, 2 de abril de 2020, 15:39:48 (UTC+2), [email protected]
> escribió:
>>
>> Hi,
>>
>> It seems to be clear, the jOpenDocument jar is not in your classpath.
>>
>> Regards,
>>
>> Guillaume
>>
>> Le jeu. 2 avr. 2020 à 15:37, Juan Manuel Fandiño Boullón <
>> [email protected]> a écrit :
>>
>>> Hello
>>>
>>> I work with a aplication that use: Java 6, Struts 2, Tomcat
>>>
>>> I have to read ods files and I try to use jOpenDocument library
>>>
>>> When add the dependency to the pom, always get the same error:
>>>
>>> Anyone knows the reason? the solution?
>>>
>>> an alternative to read ods files with Struts 2?
>>>
>>> Thks
>>>
>>> GRAVE: Excepción arrancando filtro struts2
>>> java.lang.NoSuchMethodError:
>>> ognl.SimpleNode.isEvalChain(Lognl/OgnlContext;)Z
>>> at
>>> com.opensymphony.xwork2.ognl.OgnlUtil.isEvalExpression(OgnlUtil.java:356)
>>> at
>>> com.opensymphony.xwork2.ognl.OgnlUtil.checkEnableEvalExpression(OgnlUtil.java:467)
>>> at
>>> com.opensymphony.xwork2.ognl.OgnlUtil.compileAndExecute(OgnlUtil.java:422)
>>> at com.opensymphony.xwork2.ognl.OgnlUtil.setValue(OgnlUtil.java:334)
>>> at
>>> com.opensymphony.xwork2.ognl.OgnlUtil.internalSetProperty(OgnlUtil.java:663)
>>> at
>>> com.opensymphony.xwork2.ognl.OgnlUtil.setProperties(OgnlUtil.java:226)
>>> at
>>> com.opensymphony.xwork2.ognl.OgnlUtil.setProperties(OgnlUtil.java:253)
>>> at
>>> com.opensymphony.xwork2.ognl.OgnlUtil.setProperties(OgnlUtil.java:240)
>>> 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:209)
>>> at
>>> com.opensymphony.xwork2.config.providers.InterceptorBuilder.constructInterceptorReference(InterceptorBuilder.java:70)
>>> at
>>> com.opensymphony.xwork2.config.providers.XmlConfigurationProvider.lookupInterceptorReference(XmlConfigurationProvider.java:1114)
>>> at
>>> com.opensymphony.xwork2.config.providers.XmlConfigurationProvider.loadInterceptorStack(XmlConfigurationProvider.java:932)
>>> at
>>> com.opensymphony.xwork2.config.providers.XmlConfigurationProvider.loadInterceptorStacks(XmlConfigurationProvider.java:945)
>>> at
>>> com.opensymphony.xwork2.config.providers.XmlConfigurationProvider.loadInterceptors(XmlConfigurationProvider.java:968)
>>> at
>>> com.opensymphony.xwork2.config.providers.XmlConfigurationProvider.addPackage(XmlConfigurationProvider.java:537)
>>> at
>>> com.opensymphony.xwork2.config.providers.XmlConfigurationProvider.loadPackages(XmlConfigurationProvider.java:295)
>>> at
>>> org.apache.struts2.config.StrutsXmlConfigurationProvider.loadPackages(StrutsXmlConfigurationProvider.java:112)
>>> at
>>> com.opensymphony.xwork2.config.impl.DefaultConfiguration.reloadContainer(DefaultConfiguration.java:264)
>>> at
>>> com.opensymphony.xwork2.config.ConfigurationManager.getConfiguration(ConfigurationManager.java:67)
>>> at
>>> org.apache.struts2.dispatcher.Dispatcher.getContainer(Dispatcher.java:978)
>>> at
>>> org.apache.struts2.dispatcher.Dispatcher.init_PreloadConfiguration(Dispatcher.java:446)
>>> at org.apache.struts2.dispatcher.Dispatcher.init(Dispatcher.java:490)
>>> at
>>> org.apache.struts2.dispatcher.ng.InitOperations.initDispatcher(InitOperations.java:74)
>>> at
>>> org.apache.struts2.dispatcher.ng.filter.StrutsPrepareAndExecuteFilter.init(StrutsPrepareAndExecuteFilter.java:57)
>>> at
>>> org.apache.catalina.core.ApplicationFilterConfig.getFilter(ApplicationFilterConfig.java:295)
>>> at
>>> org.apache.catalina.core.ApplicationFilterConfig.setFilterDef(ApplicationFilterConfig.java:422)
>>> at
>>> org.apache.catalina.core.ApplicationFilterConfig.<init>(ApplicationFilterConfig.java:115)
>>> at
>>> org.apache.catalina.core.StandardContext.filterStart(StandardContext.java:4072)
>>> at
>>> org.apache.catalina.core.StandardContext.start(StandardContext.java:4726)
>>> at
>>> org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:799)
>>> at
>>> org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:779)
>>> at
>>> org.apache.catalina.core.StandardHost.addChild(StandardHost.java:601)
>>> at
>>> org.apache.catalina.startup.HostConfig.deployDescriptor(HostConfig.java:675)
>>> at
>>> org.apache.catalina.startup.HostConfig.deployDescriptors(HostConfig.java:601)
>>> at
>>> org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:502)
>>> at org.apache.catalina.startup.HostConfig.start(HostConfig.java:1317)
>>> at
>>> org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:324)
>>> at
>>> org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:142)
>>> at
>>> org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1065)
>>> at org.apache.catalina.core.StandardHost.start(StandardHost.java:840)
>>> at
>>> org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1057)
>>> at
>>> org.apache.catalina.core.StandardEngine.start(StandardEngine.java:463)
>>> at
>>> org.apache.catalina.core.StandardService.start(StandardService.java:525)
>>> at
>>> org.apache.catalina.core.StandardServer.start(StandardServer.java:754)
>>> at org.apache.catalina.startup.Catalina.start(Catalina.java:595)
>>> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>>> at
>>> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
>>> at
>>> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
>>> at java.lang.reflect.Method.invoke(Method.java:597)
>>> at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:289)
>>> at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:414)
>>>
>>> --
>>>
>>> ---
>>> You received this message because you are subscribed to the Google
>>> Groups "jOpenDocument" group.
>>> To unsubscribe from this group and stop receiving emails from it, send
>>> an email to [email protected].
>>> To view this discussion on the web visit
>>> https://groups.google.com/d/msgid/jopendocument/c328c242-4abd-4cec-ad5c-259ffbc22632%40googlegroups.com
>>> <https://groups.google.com/d/msgid/jopendocument/c328c242-4abd-4cec-ad5c-259ffbc22632%40googlegroups.com?utm_medium=email&utm_source=footer>
>>> .
>>>
>> --
>
> ---
> You received this message because you are subscribed to the Google Groups
> "jOpenDocument" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/jopendocument/6015b656-9a50-4689-8a3a-e70d1b60c159%40googlegroups.com
> <https://groups.google.com/d/msgid/jopendocument/6015b656-9a50-4689-8a3a-e70d1b60c159%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
>
--
---
You received this message because you are subscribed to the Google Groups
"jOpenDocument" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/jopendocument/CALhNRbtFEBAMVZC_L2%2BAP4GzZzHwuZ2V0kmWAhC7FC%3DnYcOvVA%40mail.gmail.com.