aspose file tools*
The moose likes EJB and other Java EE Technologies and the fly likes Unable to deploy EJB Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » EJB and other Java EE Technologies
Bookmark "Unable to deploy EJB" Watch "Unable to deploy EJB" New topic
Author

Unable to deploy EJB

Tariq Ahsan
Ranch Hand

Joined: Nov 03, 2003
Posts: 116
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

Joined: May 26, 2003
Posts: 30776
    
157

Tariq,
If the class is not in your manifest.mf file, this error is likely to occur.


[Blog] [JavaRanch FAQ] [How To Ask Questions The Smart Way] [Book Promos]
Blogging on Certs: SCEA Part 1, Part 2 & 3, Core Spring 3, OCAJP, OCPJP beta, TOGAF part 1 and part 2
Nalini Gupta
Greenhorn

Joined: Dec 21, 2007
Posts: 4
Check whether the package declaration is correct or not in your class
[ May 25, 2008: Message edited by: Nalini Gupta ]
 
Don't get me started about those stupid light bulbs.
 
subject: Unable to deploy EJB