0 Replies Latest reply on May 18, 2005 7:44 AM by umeshs79

    ClassNotFoundException in JBossIDE Debug Env for JBoss libra

      Hi,

      I have around 10 projects in eclipse.
      1 is the main project and it depends on all other projects.

      So to debug my application with JBoss:
      I created the sar/war file for my main project, which contains classes only from this project.
      I Created the JBoss Debug Configuration using Right Click -> Debug...
      And I added my all projects on Classpath tab under "User Entries"

      Now when I try to debug from eclipse it throws following exceptions

      For MBean:
      Caused by: java.lang.ClassNotFoundException: Unexpected error during load of: com.mypackage..mbean.MyService, msg=org/jboss/system/ServiceMBeanSupport

      For Application it throws:

      Caused by: java.lang.NoClassDefFoundError: javax/servlet/GenericServlet

      Please help me how do I set classpath so my other projects classes are access in JBoss.

      If I add all jar files from jboss-4.0.2\lib and jboss-4.0.2\server\default\lib all work fine.

      Please help me, I am new to JBoss, earlier I was using Resin and debuging Resin with Eclipse is very easy.

      Thanks
      Umesh