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 BEA/Weblogic and the fly likes How to resolve this Error for Ejb deployment 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 » Products » BEA/Weblogic
Bookmark "How to resolve this Error for Ejb deployment" Watch "How to resolve this Error for Ejb deployment" New topic
Author

How to resolve this Error for Ejb deployment

Kavitha Kamalanathan
Greenhorn

Joined: Apr 21, 2006
Posts: 10
java weblogic.ejbc -compiler javac a.jar a_ejb.jar

Exception in thread "main" java.lang.NoClassDefFoundError: java/util/logging/Han
dler
at weblogic.ejbc20.<init>(ejbc20.java:82)
at weblogic.ejbc.main(ejbc.java:29)
Kavitha Kamalanathan
Greenhorn

Joined: Apr 21, 2006
Posts: 10
I got this problem resolved by placing my j2sdk1.4 rt.jar in the class path.
Now i m getting this new error ..

F:\SamplesEJB>java weblogic.ejbc - compiler javac -source 1.4 t.jar Samples.jar
Exception in thread "main" java.lang.SecurityException: Prohibited package name:
java.util.logging
at java.lang.ClassLoader.defineClass(Unknown Source)
at java.security.SecureClassLoader.defineClass(Unknown Source)
at java.net.URLClassLoader.defineClass(Unknown Source)
at java.net.URLClassLoader.access$100(Unknown Source)
at java.net.URLClassLoader$1.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClassInternal(Unknown Source)
at weblogic.ejbc20.<init>(ejbc20.java:82)
at weblogic.ejbc.main(ejbc.java:29)

Help me if anyone is aware of this error n knows a soln ....



thank you
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: How to resolve this Error for Ejb deployment
 
Similar Threads
zipping as self extracting exe
J2EE
class
WA #2 ..... word association
c++ or Java--your suggestions please