I got the ClassNotFoundException what I try to deploy struts web app. I solved this by putting all the struts .jar into %JBOSS_DIST%/server//lib (don't forget to restart JBoss).
It looks that JBoss does not take into consideration WEB-INF/lib dir, or there are some class clashing problems. Well I did not have that much time to debut this, so once I found the solution I just gave up.
Maybe you will have more luck.
I have the same problem. When I deploy a Struts app JBoss cannot find Validator and Tiles stuff even though I have the correct jar files in WEB-INF/lib. And it goes away if you put them in the lib directory of the server like you said.
This isn't correct behavior, right?
After going through this forum I've seen that we're not alone, a lot of folks have encountered this same problem. I guess we have to stick needed jars in the server lib directory for now.
third party jars, like struts, can be deployed within the WAR (within the WEB-INF/lib directory) of your deployed application EAR. make sure to configure your web.xml file within the WAR with , <servlet-mapping/> and specifics. mine is configured this way and works perfect.
Can you post your web.xml file?