1 Reply Latest reply on Jan 5, 2007 6:00 PM by S G

    Issue with loading jars - NoClassDefFoundError

    S G Newbie

      Folks,

      After successful installation and configuration of JBoss 4.0.5 on AIX 5.1 with JDK 1.4.2, I tried deploying a .ear file that was initailly build for WAS 5.

      I saw few errors during the deployment and I believe they are because of in-proper loading of jar files. Sample of exception is as below:

      ================================================

      java.lang.NoClassDefFoundError: org/jdom/JDOMException
      at org.grnds.facility.GrndsCommonFacilityBootstrap.getXmlFileSource(GrndsCommonFacilityBootstrap.java:485)
      at org.grnds.facility.GrndsCommonFacilityBootstrap.doSetupConfiguration(GrndsCommonFacilityBootstrap.java:238)
      at org.grnds.facility.GrndsCommonFacilityBootstrap.execute(GrndsCommonFacilityBootstrap.java:158)

      ================================================

      I know one way of making the .jar files available to the application is to copy all of them to 'server/lib'. Is there any other way of making this? Do I need to configure something to force the server to add these jars to the CLASSPATH?

      Appreciate yout time and help.

      Thanks