Saturday, July 25, 2015

Re: class file has wrong file version 51.0, should be 49.0

On Wednesday, June 17, 2015 at 2:35:34 PM UTC+2, frank ho wrote:
my environment is :
windows 7, 32 bit, two jdk, one is 1.5, another is 1.7, google gwt, jetty, ant, two eclipse, one is kepler, another is luna.

for kepler, I set its jdk is 1.5, and use ant to compile and jar, this works, and eclipse can open the gwt window when debugging.

then i use luna, check out project(gwt project) from cvs, there is error said the jdk is 1.5 when compiling with ant, therefore I changed the jdk to 1.7 since this project requires this version, eventually compile is ok with ant.  However, when I debug it in eclipse, it opens a gwt window said unable to compile to jsp, and the error in console is : 

10:20:48.193 [btpool0-8] ERROR org.apache.jasper.compiler.Compiler - Javac exception

Compile failed; see the compiler error output for details.

    at org.apache.jasper.compiler.Compiler.generateClass(
    at org.apache.jasper.compiler.Compiler.compile(
    at org.apache.jasper.compiler.Compiler.compile(
    at org.apache.jasper.compiler.Compiler.compile(  
10:20:48.194 [btpool0-8] ERROR org.apache.jasper.compiler.Compiler - Env: Compile:


This looks like Eclipse WTP, not GWT-related.
Looks like Jetty is spawn in a 1.5 JVM rather than 1.7.

You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group.
To unsubscribe from this group and stop receiving emails from it, send an email to
To post to this group, send email to
Visit this group at
For more options, visit

No comments:

Post a Comment