[jboss-user] [Tomcat, HTTPD, Servlets & JSP] - Re: Tomcat Java 5.0 problem, on a 6.0 JDK...

DeanoUK do-not-reply at jboss.com
Thu Jun 28 03:31:33 EDT 2007


For those getting the above problem (which should actually show the error that 5.0 generics can't be used )

change Tomcat's web.xml to read:

 <init-param>
  | 	    <param-name>compilerTargetVM</param-name>
  | 	    <param-value>1.5</param-value>
  | 	</init-param>
  | 	<init-param>
  | 	    <param-name>compilerSourceVM</param-name>
  | 	    <param-value>1.5</param-value>
  | 	</init-param>

Under the JSP servlet def.

View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4058581#4058581

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4058581



More information about the jboss-user mailing list