This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread for details.
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


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 "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
internet detective
Marshal

Joined: May 26, 2003
Posts: 30138
    
150

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 ]
 
 
subject: Unable to deploy EJB
 
Similar Threads
Session beans must not be final doubt.
datasource and connectionpool problem :weblogic6.1 and oracle8.1.5.0
JBoss Remote Lookup
Unable to Access Stateles Session bean from Client
Deploy DataSource in Entity Bean