1 Reply Latest reply on Jun 22, 2006 4:56 PM by fkzeljo

    ClassNotFound problems with configuration

    fkzeljo

      I get a classNotFound in my ejb session class when calling web application class.
      The following is my structures:

      +harvester.ear
      ---ejb.harvester.jar
      --------Session.class
      --------Object.class
      --------Home.class
      --------Manifest.mf ****
      --------ejb-jar.xml
      --------jboss.xml
      ---Manifest.mf
      ---harvester.war
      --------WEB-INF/lib/harvester.jar
      ---application.xml

      In the Manifest.mf file labeled with *** I have the following entry:
      Class-Path: WEB-INF/lib/harvester.jar

      So from my Session.class I try to call a class located in harvester.jar. I deploy the application and I get an ClassNotFoundException in the Session.class when trying to call a class in harvester.jar

      Did I specify an incorrect class-path in the manifest? ...

      Thanks

        • 1. Re: ClassNotFound problems with configuration
          fkzeljo

          I have changed the structure and now it seems to work fine. The following is my current structure

          +harvester.ear
          ---ejb.harvester.jar
          --------Session.class
          --------Object.class
          --------Home.class
          --------Manifest.mf ****
          --------ejb-jar.xml
          --------jboss.xml
          ---Manifest.mf
          ---harvest.jar
          ---harvester.war
          --------WEB-INF/lib/other.jar
          ---application.xml