I was working on one of my application using struts 2 and it was working
until i decided to use tiles into it.

I am one facing issue whenever i start my server from eclipse and it says:

SEVERE: Error configuring application listener of class
org.apache.struts2.tiles.StrutsTilesListener
java.lang.ClassNotFoundException:
org.apache.struts2.tiles.StrutsTilesListener
        at
org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1678)
        at
org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1523)
        at
org.apache.catalina.core.DefaultInstanceManager.loadClass(DefaultInstanceManager.java:415)
        at
org.apache.catalina.core.DefaultInstanceManager.loadClassMaybePrivileged(DefaultInstanceManager.java:397)
        at
org.apache.catalina.core.DefaultInstanceManager.newInstance(DefaultInstanceManager.java:118)
        at
org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:4660)
        at
org.apache.catalina.core.StandardContext$1.call(StandardContext.java:5226)
        at
org.apache.catalina.core.StandardContext$1.call(StandardContext.java:5221)
        at java.util.concurrent.FutureTask$Sync.innerRun(Unknown Source)
        at java.util.concurrent.FutureTask.run(Unknown Source)
        at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Unknown 
Source)
        at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
        at java.lang.Thread.run(Unknown Source)

I am using the entry for tiles listener in web.xml file :

        <listener>
                <listener-class>
                        org.apache.struts2.tiles.StrutsTilesListener
                </listener-class>
        </listener>
        <context-param>
                <param-name>tilesDefinitions</param-name>
                <param-value>/WEB-INF/tiles.xml</param-value>
        </context-param>


Also, the jars files i am using for the application is as follow:

commons-beanutils-1.8.3-bin.zip
commons-collections-3.2.1-bin.zip
commons-digester3-3.0-bin.zip
commons-fileupload-1.2.2.jar
commons-io-2.0.1-bin.zip
commons-logging-1.0.4.jar
freemarker-2.3.8.jar
ognl-2.6.11.jar
struts2-core-2.0.11.jar
struts2-dojo-plugin-2.1.6.jar.zip
struts2-tiles-plugin-2.1.6.jar.zip
tiles-api-2.2.2.jar
tiles-core-2.2.2.jar
tiles-jsp-2.2.2.jar
xwork-2.0.4.jar

Anybody Please advice.

--
View this message in context: 
http://struts.1045723.n5.nabble.com/java-lang-ClassNotFoundException-with-struts2-after-introducing-tiles-in-my-application-tp4882772p4882772.html
Sent from the Struts - User mailing list archive at Nabble.com.

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

Reply via email to