-
1. Re: JBoss3.0.4 - Struts : NoClassDefFoundError (ClassLoading
gerwec Nov 13, 2002 5:20 AM (in response to sy.tan)I had the same problem with one of my ears. after copying the *.jar file from WEB_INF/lib to JBOSS_HOME/server/default/lib it workked. maybe this also works for you.
c.u.
gernot -
2. Re: JBoss3.0.4 - Struts : NoClassDefFoundError (ClassLoading
sy.tan Nov 13, 2002 6:14 AM (in response to sy.tan)Hi gerwec,
Thanks for your prompt reply ....
This may sound wierd ...
I have already tried moving the struts.jar to the jboss default lib ... The result is that jboss actually access some cached copy of my old class files somewhere(which i dun noe where is it) ...
How i noe that it is accessing the old class files cos i recognise the messages logged in the console ...
I have gone to the extent of decoupile my class files from the temp directory jboss dumps the war file to verify the class files' accuracy but to no avail.
The decompiled class files are correct and i have no idea how jboss got hold of the old class files ...
So ... so long as the struts.jar is not in the jboss default lib ... it accesses the correct class files ..
(i also have replaced the jboss a couple of times too to start clean)
- SY