File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
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
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
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: How to resolve this Error for Ejb deployment