Win a copy of Murach's Python Programming this week in the Jython/Python forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Struts 2 - Tiles Configration  RSS feed

sarbjeet sidhu
Posts: 11
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

I'm facing issue while configuring Struts 2 Tiles in my application here is the error details.

[org.apache.catalina.core.ContainerBase] Error configuring application listener of class org.apache.struts2.tiles.StrutsTilesListener
java.lang.NoClassDefFoundError: com/opensymphony/xwork2/util/logging/LoggerFactory
at org.apache.struts2.tiles.StrutsTilesListener.<clinit>(
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(
at java.lang.reflect.Constructor.newInstance(
at java.lang.Class.newInstance0(
at java.lang.Class.newInstance(
at org.apache.catalina.core.StandardContext.listenerStart(
at org.apache.catalina.core.StandardContext.start(
at org.apache.catalina.core.ContainerBase.addChildInternal(
at org.apache.catalina.core.ContainerBase.addChild(
at org.apache.catalina.core.StandardHost.addChild(
at sun.reflect.GeneratedMethodAccessor154.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(

I have added following jar files in my classpath

1. commons-fileupload-1.2.1.jar
2. struts2-core-
3. commons-logging.jar
4. freemarker-2.3.15.jar
5. ognl-2.7.3.jar
6. xwork-core-2.1.6.jar
7. benefitscommon.jar
8. tiles-api-2.1.2.jar
9. tiles-compat-2.1.2.jar
10. tiles-core-2.1.2.jar
11. tiles-jsp-2.1.2.jar
12. tiles-servlet-2.1.2.jar
13. commons-beanutils-1.6.jar
14. commons-digester-1.8.jar
15. struts2-tiles-plugin-"

Harsha Ka
Ranch Hand
Posts: 45
Eclipse IDE Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I had faced a similar issue. This can occur if there is version mismatch in the jars you have used.This got resolved when I downloaded the libs from this tutorial's sample WAR file.
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!