hi,
i have jdk5 installed in win xp sp2
when i do java <filename>
i get the error on my machine
Exception in thread "main" java.lang.NoClassDefFoundError: <filename>
i correct it by doing
java -cp . <filename>
then it runs fine.
but on running a client ejb program on the command line
AppClient -client <filename>
i again get the error
WARNING: ACC003: Application threw an exception.
java.lang.NoClassDefFoundError: converter.ConverterHome
where converter.ConverterHome is contained in the jar file
i do not get a solution to this problem
how can i correct the above problem or the overall problem such that
when i give the command
java <filename>
i get the output simply
any helps
Pradyut
-
NoClassFoundError (2 messages)
- Posted by: Pradyut Bhattacharya
- Posted on: November 08 2004 04:44 EST
Threaded Messages (2)
- NoClassFoundError by Padmanabh Kulkarni on November 08 2004 10:14 EST
- NoClassFoundError by Pankil Parikh on September 07 2010 07:35 EDT
-
NoClassFoundError[ Go to top ]
- Posted by: Padmanabh Kulkarni
- Posted on: November 08 2004 10:14 EST
- in response to Pradyut Bhattacharya
Include ur current direcory(set CLASSPATH=%CLASSPATH%;.) in ur classpath. Sometimes it looks silly but u never know. -
NoClassFoundError[ Go to top ]
- Posted by: Pankil Parikh
- Posted on: September 07 2010 07:35 EDT
- in response to Pradyut Bhattacharya
I have the same application as well as i have the same error
but when i run the client within Sun Java Application Server 9.1 (JSP) it works great...