NoClassDefFoundError
I have been using NetBeans to develop the java program that I am working. I just recently finished everything and it works fine when I run it in NetBeans. If I try to compile it via the command line 搄ava 杍ar Location.jar?It will have 揓ava.lang.NoClassDefFoundError?I have set the CLASSPATH variable to contain all the exact same Libraries as NetBeans.
Since I was not able to get it to run on the command line I started searching for the classes that it was wanting and added them to my CLASSPATH. That was working fine and I was moving through all the errors, but I ended up having a problem, I got:
Exeception in thread 搈ain?java.lang.NoClassDefFoundError: com/ibm/ejs/ras/Tr
at com.ibm.ws.webservices.engine.transport.jms.JMSSender.<clinit>(JMSSender,java:134)
So I found the .JAR file that contained the Tr class and added it to my CLASSPATH, but now I get an error that I cannot figure out. It抯 the same as above, but no longer says that class that it is missing. Here is the error:
Exeception in thread 搈ain?java.lang.NoClassDefFoundError
at com.ibm.ws.webservices.engine.transport.jms.JMSSender.<clinit>(JMSSender,java:134)
It抯 the exact same error as before I added the Tr class, but now its missing the class. Do you have any idea what I can do about this? I have had to add about 6 different jar files to the CLASSPATH to get it this far, even though I don抰 have those JAR抯 in my NetBeans project. Do you know why NetBeans would be able to work fine but the command line wouldn抰? I have also added my program to Websphere and I get the same errors as the command line.

