Antonio Petrelli on 07/10/08 16:46, wrote:
2008/10/7 Adam Hardy <[EMAIL PROTECTED]>:
Antonio Petrelli on 07/10/08 16:06, wrote:
2008/10/7 Adam Hardy <[EMAIL PROTECTED]>:
07-Oct-2008 15:43:29 org.apache.catalina.core.StandardContext
listenerStart
SEVERE: Error configuring application listener of class
org.apache.struts2.tiles.StrutsTilesListener
java.lang.ClassNotFoundException:
org.apache.struts2.tiles.StrutsTilesListener
What happens if you create a war file and deploy it?
Same thing. Just checked. Also just checked the list of jars in WEB-INF/lib,
should be this, right:?

pattern-repo/WEB-INF/lib/struts2-core-2.0.11.2.jar
pattern-repo/WEB-INF/lib/struts2-tiles-plugin-2.0.11.2.jar
pattern-repo/WEB-INF/lib/tiles-api-2.0.6.jar
pattern-repo/WEB-INF/lib/tiles-core-2.0.6.jar
pattern-repo/WEB-INF/lib/tiles-jsp-2.0.6.jar

Everything seems ok... Sorry I don't know what to say!

FYI I solved the problem. Without my knowledge, eclipse tomcat plugin had put some configuration (for Eclipse WTP) including classpath definitions into tomcat for my webapp context, in conf/Catalina/localhost.

This was automatic - I have never seen these before - and for reasons unknown the classpaths included most of the jars I needed but not all of them.

And again for reasons unknown, this configuration had never affected me up until earlier today when I changed the struts and tiles jars for newer versions.

So it was completely out of the blue and the only thing I gain from this is the knowledge that Eclipse and the WTP tomcat plug-in are much more complicated than I thought.

Mystery solved - until the next one!


regards
Adam

Reply via email to