Hello: I am attempting to upgrade from JBoss 3.0.4 to 3.2.5. However, following the upgrade, I can no longer seem to precompile my JSPs as I did before. The following build.xml extract worked fine in 3.0.4:
<jspc srcdir="${srcDir}" destdir="${jspDir}" package="${pkgName}" verbose="2" compilerclasspath="${env.CATALINA_HOME}/jasper-compiler.jar"> <include name="**/*.jsp" /> <classpath> <pathelement path="${env.CATALINA_HOME}/servlet-api.jar"/> <pathelement path="${env.CATALINA_HOME}/commons-logging.jar"/> <pathelement path="${env.CATALINA_HOME}/jasper-compiler.jar"/> <pathelement path="${env.CATALINA_HOME}/jasper-runtime.jar"/> <pathelement path="${env.XERCES_HOME}/xmlParserAPIs.jar"/> <pathelement path="${env.XERCES_HOME}/xercesImpl.jar"/> <pathelement path="${srcDir}/WEB-INF/lib/taglibs.jar"/> </classpath> </jspc> Follwing the 3.2.5 upgrade, this now produces errors such as the following: [jasperc] org.apache.jasper.JasperException: Unrecognized option: -v2. Use -help for help. I have also unsuccessfuly tried the apparebtly new, Tomcat 5 recommended way of precompiling as follows: <taskdef classname="org.apache.jasper.JspC" name="jasper2"> <classpath> <pathelement path="${env.JAVA_HOME}/lib/tools.jar"/> <fileset dir="${env.CATALINA_HOME}"> <include name="*.jar"/> </fileset> <fileset dir="${env.CATALINA_HOME}/"> <include name="servlet*.jar"/> </fileset> <fileset dir="${env.CATALINA_HOME}/"> <include name="commons*.jar"/> </fileset> <pathelement path="${srcDir}/WEB-INF/lib/taglibs.jar"/> </classpath> </taskdef> <jasper2 validateXml="false" uriroot="${srcDir}" webXmlFramgment="${srcDir}/WEB-INF/generated_web.xml" outputDir="${jspDir}"/> This produces the following error java.lang.IncompatibleClassChangeError: Implementing class What am I missing and/or not doing in the new version? This is a stock 3.2.5 installation. Thanks! ------------------------------------------------------- This SF.Net email is sponsored by BEA Weblogic Workshop FREE Java Enterprise J2EE developer tools! Get your free copy of BEA WebLogic Workshop 8.1 today. http://ads.osdn.com/?ad_id=4721&alloc_id=10040&op=click _______________________________________________ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user