Hi, Judging by the version of your Netbeans I'm guessing you're also using an older copy of the Glassfish as well. Consider upgrading...and if it continues, post here. In fact, upgrade both Netbeans and Glassfish; that should help.
Good luck Evans. Please use Reply All or your email will be ignored! Date: Thu, 15 Apr 2010 14:40:30 -0400 Subject: [java ee programming] error in ejb3.0 program in netbeans6.8(java.lang.NoClassDefFoundError) From: ilysk3...@gmail.com To: java-ee-j2ee-programming-with-passion@googlegroups.com Hello Friends, I am doing ejb3.0 program in netbeans 6.0 with glassfish.I am getting the following error.Can any one help me out in rectifying the error. Thanks. Exception in thread "main" java.lang.NoClassDefFoundError: com/sun/logging/LogDomains at com.sun.enterprise.util.ORBManager.<clinit>(ORBManager.java:78) at com.sun.enterprise.naming.SerialInitContextFactory.<clinit>(SerialInitContextFactory.java:56) at java.lang.Class.forName0(Native Method) at java.lang.Class.forName(Class.java:247) at com.sun.naming.internal.VersionHelper12.loadClass(VersionHelper12.java:46) at javax.naming.spi.NamingManager.getInitialContext(NamingManager.java:654) at javax.naming.InitialContext.getDefaultInitCtx(InitialContext.java:288) at javax.naming.InitialContext.init(InitialContext.java:223) at javax.naming.InitialContext.<init>(InitialContext.java:175) at helloclient.Main.main(Main.java:19) Caused by: java.lang.ClassNotFoundException: com.sun.logging.LogDomains at java.net.URLClassLoader$1.run(URLClassLoader.java:200) at java.security.AccessController.doPrivileged(Native Method) at java.net.URLClassLoader.findClass(URLClassLoader.java:188) at java.lang.ClassLoader.loadClass(ClassLoader.java:307) at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301) at java.lang.ClassLoader.loadClass(ClassLoader.java:252) at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:320) ... 10 more -- You received this message because you are subscribed to the Google Groups "Java EE (J2EE) Programming with Passion!" group. To post to this group, send email to java-ee-j2ee-programming-with-passion@googlegroups.com To unsubscribe from this group, send email to java-ee-j2ee-programming-with-passion+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/java-ee-j2ee-programming-with-passion?hl=en?hl=en _________________________________________________________________ http://clk.atdmt.com/UKM/go/197222280/direct/01/ Do you have a story that started on Hotmail? Tell us now -- You received this message because you are subscribed to the Google Groups "Java EE (J2EE) Programming with Passion!" group. To post to this group, send email to java-ee-j2ee-programming-with-passion@googlegroups.com To unsubscribe from this group, send email to java-ee-j2ee-programming-with-passion+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/java-ee-j2ee-programming-with-passion?hl=en?hl=en