Win a copy of Murach's Python Programming this week in the Jython/Python forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

NoClassDefFoundError  RSS feed

 
Amit More
Greenhorn
Posts: 24
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
Lasse Koskela
author
Sheriff
Posts: 11962
5
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Grab your .ear file, do jar -tf on it, and double-check that the interface .class files are inside the .ear.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!