struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Lukasz Lenart <lukaszlen...@apache.org>
Subject Re: Upgrading from struts 2.3.x to struts 2.5.x
Date Wed, 18 Oct 2017 08:27:04 GMT
2017-10-18 10:05 GMT+02:00 ravirajmishra98@gmail.com
<ravirajmishra98@gmail.com>:
> Hello,
>
> I am trying to upgrade from struts 2.3.16 to struts 2.5.13 and i am facing few problems
related to tiles upgradation from tiles 2 to tiles 3
>
> to be specific, I have changed the jar files to tiles 3.0.7 and also upgraded the struts-tiles
plugin to version 2.5.13. But I am getting an error
>  -------------------------------
> SEVERE: Error configuring application listener of class org.apache.struts2.tiles.StrutsTilesListener
> java.lang.NoClassDefFoundError: org/apache/tiles/web/startup/AbstractTilesListener
>         at java.lang.ClassLoader.defineClass1(Native Method)
>         at java.lang.ClassLoader.defineClass(Unknown Source)
>         at java.security.SecureClassLoader.defineClass(Unknown Source)
>         at org.apache.catalina.loader.WebappClassLoader.findClassInternal(WebappClassLoader.java:2901)
>         at org.apache.catalina.loader.WebappClassLoader.findClass(WebappClassLoader.java:1170)
>         at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1678)
>         at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1556)
>         at org.apache.catalina.core.DefaultInstanceManager.loadClass(DefaultInstanceManager.java:532)
>         at org.apache.catalina.core.DefaultInstanceManager.loadClassMaybePrivileged(DefaultInstanceManager.java:514)
>         at org.apache.catalina.core.DefaultInstanceManager.newInstance(DefaultInstanceManager.java:133)
>         at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:4726)
>         at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5284)
>         at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)
>         at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1595)
>         at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1585)
>         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)
> Caused by: java.lang.ClassNotFoundException: org.apache.tiles.web.startup.AbstractTilesListener
>         at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1711)
>         at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1556)
>         ... 19 more

Looks like you are still using Tiles 2
http://www.findjar.com/class/org/apache/tiles/web/startup/AbstractTilesListener.html;jsessionid=4E5C5461DCB215F832112E33F9316F35


Regards
-- 
Ɓukasz
+ 48 606 323 122 http://www.lenart.org.pl/

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


Mime
View raw message