I'm running JBoss 3.0.3 with Tomcat on Windows 2000.
I get the following error when I try to deploy my application '.ear'
I have JAVA_HOME, JBOSS_DIST, and J2EE_HOME set.
I've also tried adding Sun's j2ee.jar to the JBOSS_CLASSPATH and then leaving JBOSS_CLASSPATH blank. It made no difference.
I have done the same with CLASSPATH
I notice on another posting someone mentioned the importance of ensuring that the Sun version of j2ee.jar is not on the CLASSPATH or JBOSS_CLASSPATH as it conflicts with JBoss's version of same. This I have checked and have reached the conclusion that JBOSS_CLASSPATH is best left alone, and I assume JBoss does not even look at CLASSPATH - is this right?
I've now run out of things to try.
Any help in solving this NoClassDEfFoundError will be much appreciated.
with these sort of things best to go back to basics. Clear all those environments variables.
You will need JAVA_HOME set to your jdk.
JBOSS_DIST set to jboss
and thats pretty much it. Jboss will not ignore the classpath, and this will cause your problems. And yes best to leave the jboss classpath alone. It'll sort this out itself