• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Unable to deploy EJB

 
Tariq Ahsan
Ranch Hand
Posts: 116
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi All,

I am trying to deploy my EJB using the Weblogic 7.0 console. I am getting the this error -

Unable to deploy EJB: MyEJB in My.jar
java.lang.NoClassDefFoundError: com/dir1/dir2/MyClass

Any idea in what circumstances normally one would get this kind of error?

Thanks
 
Jeanne Boyarsky
author & internet detective
Marshal
Posts: 34851
369
Eclipse IDE Java VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Tariq,
If the class is not in your manifest.mf file, this error is likely to occur.
 
Nalini Gupta
Greenhorn
Posts: 4
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Check whether the package declaration is correct or not in your class
[ May 25, 2008: Message edited by: Nalini Gupta ]
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic