Meaningless Drivel is fun!*
The moose likes EJB and other Java EE Technologies and the fly likes NoClassDefFoundError Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Java » EJB and other Java EE Technologies
Bookmark "NoClassDefFoundError" Watch "NoClassDefFoundError" New topic
Author

NoClassDefFoundError

Amit More
Greenhorn

Joined: Oct 16, 2003
Posts: 24
hi friends,
I am running an EJB client code in Weblogic server 7, and I have set the classpath and environment appropriately.
The code gets compiled well but while executing it gives me the following error :
Exception in thread "main" java.lang.NoClassDefFoundError: com\ejb\examples\HelloClient
Reply back as earyl as possible.


Thanks,<br />Amit
Lasse Koskela
author
Sheriff

Joined: Jan 23, 2002
Posts: 11962
    
    5
Grab your .ear file, do jar -tf on it, and double-check that the interface .class files are inside the .ear.


Author of Test Driven (2007) and Effective Unit Testing (2013) [Blog] [HowToAskQuestionsOnJavaRanch]
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: NoClassDefFoundError
 
Similar Threads
EJB 3 Local Lookup not working with Weblogic 10.3 and JDK 1.6_05
is SCBCD 1.4 expired??
migration from EJB 1.1 code to EJB 2.0 code
EJB Start Up
is Tomcat support EJB ?