You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by bu...@apache.org on 2014/06/12 11:33:19 UTC

[Bug 56613] JSP COMPILATION ERROR ON TOMCAT 6 & 7 with JDK VERSION 1.8.0_20-ea

https://issues.apache.org/bugzilla/show_bug.cgi?id=56613

Konstantin Kolinko <kn...@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|---                         |DUPLICATE
                 OS|                            |All

--- Comment #1 from Konstantin Kolinko <kn...@gmail.com> ---
First, you are missing required information: you are not mentioning what exact
x.y.z. version of Tomcat you are using.


Second, for Java 8 you have to use a version of Eclipse ECJ compiler that
supports Java 8. See [1].

The "ClassFormatException" probably means that your version of ECJ does not
know about Java 8 at all.



Note that
1. We cannot update the version of ECJ included with Tomcat 6, as Tomcat 6 must
be able to run on Java 1.5, but current ECJ releases require minimum of Java 6.

2. There are known issues - see bug 56543

3. You may replace ecj-*.jar with a later version that you may download from
http://www.eclipse.org/

See archives of Tomcat Users mailing list, and ask on the mailing list if you
have questions. (Bugzilla is not a support forum).

4. Tomcat can be configured to use Java javac compiler instead of Eclipse ECJ.
[2]


[1] http://www.eclipse.org/downloads/index-java8.php
[2] http://tomcat.apache.org/tomcat-7.0-doc/jasper-howto.html

*** This bug has been marked as a duplicate of bug 56283 ***

-- 
You are receiving this mail because:
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org