-
1. Re: NoClassDefFound on repos.jar
adamensor Nov 5, 2003 5:34 AM (in response to piusjin)Hi I can't help I'm afraid but am having a similar problem. 3.2.2 says that it has deployed the jar and added to the classpath. However I then get a class not found error on one of the classes.
Can anybody suggest what might be causing problem, I know Jboss had a lot of different class loaders is that issue?
Thanks
Adam -
2. Re: NoClassDefFound on repos.jar
jonlee Nov 5, 2003 8:12 AM (in response to piusjin)JBoss 3.2.2 seems to be slightly sensitive to WAR classloading. This may have to do with work performed to address other classloading issues. The only clear-cut solution I have found is to place the JAR in JBOSS_HOME/server/default/lib or whatever is appropriate for your run-time instance of JBoss (all, default, minimal).
You might also consider jboss-web.xml with a <class-loading java2ClassLoadingCompliance='false'/> element to force classloading to operate up the hierarchy instead of down it. i.e. Start within the WAR scope and then move upward. YMMV.