4 Replies Latest reply on Feb 26, 2004 6:37 PM by noleme


    zuurbier Newbie

      I try to deploy my first EJB. Created a bean-class, a home-interface and a remote-interface put them in a jar-file. Copied the jar-file to de deploy-folder of jboss-4.0.0DR2. I have made a client application and when I run it, I get a java.lang.NoClassDefFoundError:

      java.lang.NoClassDefFoundError: org/jboss/system/ServiceMBeanSupport
      at java.lang.ClassLoader.defineClass0(Native Method)
      ... (lines left away)
      at javax.naming.InitialContext.lookup(InitialContext.java:347)
      at HelloWorldClient.main(HelloWorldClient.java:19)

      The file jboss-system-client.jar, which I included in the classpath, contains a class org/jboss/system/ServiceMBeanSupportMBean and a class org/jboss/system/ServiceMBean, but no class org/jboss/system/ServiceMBeanSupport