I know,"Exception in thread "main" java.lang.NoClassDefFoundError" will occur when my "main" don't identify the class. Actally in my CMB Client program,
everything seems to be alright,including CLASSPATH but it throws the above exceptiong...If anybody knows, what could be the other reasons for the above error please let me know
Thanks
Discussions
EJB programming & troubleshooting: Exception in thread "main" java.lang.NoClassDefFoundError:
-
Exception in thread "main" java.lang.NoClassDefFoundError: (2 messages)
- Posted by: Praburaj Thangaraj
- Posted on: March 13 2001 17:13 EST
Threaded Messages (2)
- Exception in thread "main" java.lang.NoClassDefFoundError: by Neeraj Nargund on March 14 2001 15:33 EST
- Exception in thread "main" java.lang.NoClassDefFoundError: by muthu swamy on March 19 2001 11:51 EST
-
Exception in thread "main" java.lang.NoClassDefFoundError:[ Go to top ]
- Posted by: Neeraj Nargund
- Posted on: March 14 2001 15:33 EST
- in response to Praburaj Thangaraj
this is definetly a classpath problem .
Neeraj... -
Exception in thread "main" java.lang.NoClassDefFoundError:[ Go to top ]
- Posted by: muthu swamy
- Posted on: March 19 2001 11:51 EST
- in response to Praburaj Thangaraj
hi,
depends on which OS u are using. if windows, there won't be any problem. In solaris, you have to export the classpath you have set. so just say export CLASSPATH.
bye
muthu