The howto on the website is slightly wrong
here is the exact howto

first of all remove all jikes related jars from the tomcat lib dir,
second add tools.jar from the jdk to the tomcat classpath
third add ant.jar from an ant installation to the classpath
fourth replace the servlet entry from the conf/web.xml
with following:

 <servlet>
        
        <servlet-name>jsp</servlet-name>
        <servlet-class>org.apache.jasper.servlet.JspServlet</servlet-class>
        <init-param>
            <param-name>fork</param-name>
            <param-value>false</param-value>
        </init-param>
        <init-param>
            <param-name>xpoweredBy</param-name>
            <param-value>false</param-value>        
        </init-param>
        <init-param>
             <param-name>compiler</param-name>
             <param-value>javac1.5</param-value>
        </init-param>
        <init-param>
             <param-name>compilerSourceVM</param-name>
             <param-value>1.5</param-value>
        </init-param>
        <init-param>
            <param-name>compilerTargetVM</param-name>
            <param-value>1.5</param-value>  
        </init-param>

        <load-on-startup>3</load-on-startup>
    </servlet>

and now startup tomcat with a working jdk 1.5 and pages should compile

also see http://marc.theaimsgroup.com/?l=tomcat-user&m=111660999324714&w=2


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to