Help coderanch get a
new server
by contributing to the fundraiser
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Ron McLeod
  • Paul Clapham
  • Devaka Cooray
  • Liutauras Vilda
Sheriffs:
  • Jeanne Boyarsky
  • paul wheaton
  • Henry Wong
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Tim Moores
  • Carey Brown
  • Mikalai Zaikin
Bartenders:
  • Lou Hamers
  • Piet Souris
  • Frits Walraven

How to resolve this Error for Ejb deployment

 
Greenhorn
Posts: 10
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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
Posts: 10
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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
reply
    Bookmark Topic Watch Topic
  • New Topic