2 Replies Latest reply on Jun 11, 2003 4:26 AM by bakkis

    Must have JARs in both WEB-INF/lib and in jboss/server/defau

    bakkis Newbie


      When I deploy a WAR file which for example uses the commons-validator.jar, I put it in the WAR files WEB-INF/lib directory, but when I deploy the WAR file and start JBoss it throws a ClassNotFoundException for org.apache.commons.validator.ValidatorAction class. So then I put the commons-validator.jar in jboss/server/default/lib and it works fine.

      This behavior seems to happen quite often, not only for the commons-validator.jar file.

      What is the purpose of having the same JAR file in two locations (both WEB-INF/lib and jboss/server/default/lib)?

      Thanks alot for settling my curiosity about this.