struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Dave Newton <davelnew...@gmail.com>
Subject Re: com/opensymphony/xwork2/util/finder
Date Thu, 11 Dec 2014 14:59:52 GMT
Since there's no action servlet in Struts 2 I'm not sure why this is part
of the app at all, you're using Spring security or something?

On Thu, Dec 11, 2014 at 9:56 AM, Emi Lu <emilu@encs.concordia.ca> wrote:

>  On 12/11/2014 09:51 AM, Dave Newton wrote:
>
> Looks like the jQuery plugin needs to be updated.
>
> Also related to springFramework?
>
> Using springFramework3.0.5. If spring causes the problem, which
> springFramework should be used for 2.3.20?
>
> ERROR util.finder.ClassFinder.error:42 - Unable to read class
> [org.springframework.web.struts.ActionServletAwareProcessor]
> java.lang.IncompatibleClassChangeError: class
> com.opensymphony.xwork2.util.finder.ClassFinder$InfoBuildingClassVisitor
> has interface org.objectweb.asm.ClassVisitor as super class
>     at java.lang.ClassLoader.defineClass1(Native Method)
>     at java.lang.ClassLoader.defineClassCond(ClassLoader.java:631)
>     at java.lang.ClassLoader.defineClass(ClassLoader.java:615)
>     at
> java.security.SecureClassLoader.defineClass(SecureClassLoader.java:141)
>     at
> org.apache.catalina.loader.WebappClassLoader.findClassInternal(WebappClassLoader.java:2854)
>     at
> org.apache.catalina.loader.WebappClassLoader.findClass(WebappClassLoader.java:1159)
>     at
> org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1647)
>     at
> org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1526)
>
>     at
> com.opensymphony.xwork2.util.finder.ClassFinder.readClassDef(ClassFinder.java:718)
>     at
> com.opensymphony.xwork2.util.finder.ClassFinder.<init>(ClassFinder.java:113)
>     at
> org.apache.struts2.convention.PackageBasedActionConfigBuilder.findActions(PackageBasedActionConfigBuilder.java:390)
>     at
> org.apache.struts2.convention.PackageBasedActionConfigBuilder.buildActionConfigs(PackageBasedActionConfigBuilder.java:347)
>     at
> org.apache.struts2.convention.ClasspathPackageProvider.loadPackages(ClasspathPackageProvider.java:53)
>     at
> com.opensymphony.xwork2.config.impl.DefaultConfiguration.reloadContainer(DefaultConfiguration.java:274)
>     at
> com.opensymphony.xwork2.config.ConfigurationManager.getConfiguration(ConfigurationManager.java:67)
>     at
> org.apache.struts2.dispatcher.Dispatcher.getContainer(Dispatcher.java:967)
>     at
> org.apache.struts2.dispatcher.Dispatcher.init_PreloadConfiguration(Dispatcher.java:435)
>     at org.apache.struts2.dispatcher.Dispatcher.init(Dispatcher.java:479)
>     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:298)
>     at
> org.apache.catalina.core.ApplicationFilterConfig.<init>(ApplicationFilterConfig.java:119)
>     at
> org.apache.catalina.core.StandardContext.filterStart(StandardContext.java:4076)
>     at
> org.apache.catalina.core.StandardContext.start(StandardContext.java:4730)
>     at
> org.apache.catalina.startup.HostConfig.checkResources(HostConfig.java:1284)
>     at org.apache.catalina.startup.HostConfig.check(HostConfig.java:1382)
>     at
> org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:306)
>     at
> org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:142)
>     at
> org.apache.catalina.core.ContainerBase.backgroundProcess(ContainerBase.java:1389)
>     at
> org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor.processChildren(ContainerBase.java:1653)
>     at
> org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor.processChildren(ContainerBase.java:1662)
>     at
> org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor.run(ContainerBase.java:1642)
>
>
>  On Thu, Dec 11, 2014 at 9:45 AM, Emi Lu <emilu@encs.concordia.ca> wrote:
>
>> Good morning,
>>
>> After upgrade to 2.3.20, my logs says
>> "java.lang.IncompatibleClassChangeError:
>> com/opensymphony/xwork2/util/finder". Could someone tell me which libs
>> missing or version conflict please?
>>
>> ERROR util.finder.ClassFinder.error:42 - Unable to read class
>> [com.jgeppert.struts2.jquery.views.freemarker.tags.DialogModel]
>> java.lang.IncompatibleClassChangeError:
>> com/opensymphony/xwork2/util/finder/ClassFinder$InfoBuildingClassVisitor
>>     at
>> com.opensymphony.xwork2.util.finder.ClassFinder.readClassDef(ClassFinder.java:718)
>>     at
>> com.opensymphony.xwork2.util.finder.ClassFinder.<init>(ClassFinder.java:113)
>>     at
>> org.apache.struts2.convention.PackageBasedActionConfigBuilder.findActions(PackageBasedActionConfigBuilder.java:390)
>>     at
>> org.apache.struts2.convention.PackageBasedActionConfigBuilder.buildActionConfigs(PackageBasedActionConfigBuilder.java:347)
>>     at
>> org.apache.struts2.convention.ClasspathPackageProvider.loadPackages(ClasspathPackageProvider.java:53)
>>     at
>> com.opensymphony.xwork2.config.impl.DefaultConfiguration.reloadContainer(DefaultConfiguration.java:274)
>>     at
>> com.opensymphony.xwork2.config.ConfigurationManager.getConfiguration(ConfigurationManager.java:67)
>>     at
>> org.apache.struts2.dispatcher.Dispatcher.getContainer(Dispatcher.java:967)
>>     at
>> org.apache.struts2.dispatcher.Dispatcher.init_PreloadConfiguration(Dispatcher.java:435)
>>     at org.apache.struts2.dispatcher.Dispatcher.init(Dispatcher.java:479)
>>     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:298)
>>     at
>> org.apache.catalina.core.ApplicationFilterConfig.<init>(ApplicationFilterConfig.java:119)
>>     at
>> org.apache.catalina.core.StandardContext.filterStart(StandardContext.java:4076)
>>     at
>> org.apache.catalina.core.StandardContext.start(StandardContext.java:4730)
>>     at
>> org.apache.catalina.startup.HostConfig.checkResources(HostConfig.java:1284)
>>     at org.apache.catalina.startup.HostConfig.check(HostConfig.java:1382)
>>     at
>> org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:306)
>>     at
>> org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:142)
>>     at
>> org.apache.catalina.core.ContainerBase.backgroundProcess(ContainerBase.java:1389)
>>     at
>> org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor.processChildren(ContainerBase.java:1653)
>>     at
>> org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor.processChildren(ContainerBase.java:1662)
>>     at
>> org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor.run(ContainerBase.java:1642)
>>     at java.lang.Thread.run(Thread.java:662)
>
>


-- 
e: davelnewton@gmail.com
m: 908-380-8699
s: davelnewton_skype
t: @dave_newton <https://twitter.com/dave_newton>
b: Bucky Bits <http://buckybits.blogspot.com/>
g: davelnewton <https://github.com/davelnewton>
so: Dave Newton <http://stackoverflow.com/users/438992/dave-newton>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message