Hi all, When i try to run any java program that has a main method inside WSAD, i get the following exception in WSAD console.can somebody help me?Is this a configuration issue in WSAD?If yes,how do I fix it? I will be able to procee if only i get a solution to this problem. java.lang.NoClassDefFoundError: business/TCETopicsReader Exception in thread "main"
This is very urgent!Please,any help ASAP would be great! Thanks, Prabha
This error: java.lang.NoClassDefFoundError: business/TCETopicsReader is the result of the JVM not finding the class business.TCETopicsReader in the classpath. Your program should not have compiled, as WSAD uses the same classpath to compile and run. I usually use the Package View in WSAD, and to set up the classpath one would left-click on the package name, click on "Properties" and in the Properties Editor, click on "Java Build Path" to get a tabbed editor for configuring the classpath. WSAD also has excellent help. A search of WSAD for "classpath" returns a couple hundred results.