2 Replies Latest reply on Dec 5, 2006 10:08 AM by lking28

    Unable to precompile JSPs with JBOSS 4.0.5GA

      All,
      I'm upgrading from JBOSS 4.0.1 to 4.0.5 along with Java 5. Along the way I've come accross the problem of my ANT script failing to pre-compile my JSP's. Below is an excerpt from my script.















      <jasper2
      verbose="2"
      package="org.apache.jsp"
      uriroot="${build.dir}/${project.src}/web/AdminClientWeb"
      webXmlFragment="${jar.dir}/AdminWebPrecompiled/out.xml"
      outputDir="${jboss-tomcat}/AdminWeb/WEB-INF/src" />



      As u can see, I pretty much followed the instructions from Tomcat. But i recieve the following error when i run this script:

      java.lang.NoSuchMethodError: org.apache.commons.logging.LogFactory.release(Ljava/lang/ClassLoader;)V


      Funny thing is that I have no commons-logging anywhere in my classpath. Any help would be appreciated.

      Thanks,

      Leon