On 13/02/2014 10:56, Andrea Cappelli wrote:
Hi list,
I have a webapp which needs to compile some jsp

I'm using

java version "1.7.0_45"

I had the same problem with JDK 1.7 some time ago, and it seems you need to set BOTH the compilerSourceVM and compilerTargetVM init params. Try putting this in your web.xml (or in webdefault.xml):

    <init-param>
      <param-name>compilerSourceVM</param-name>
      <param-value>1.7</param-value>
    </init-param>
    <init-param>
      <param-name>compilerTargetVM</param-name>
      <param-value>1.7</param-value>
    </init-param>

--
John English
_______________________________________________
jetty-users mailing list
[email protected]
https://dev.eclipse.org/mailman/listinfo/jetty-users

Reply via email to