You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by Jess Holle <je...@ptc.com> on 2004/10/06 21:54:36 UTC

5.0.29 JSP compilation fails when using JDK 1.5.0

Tomcat 5.0.28 compiled JSP pages when run using JDK 1.5.0 just fine 
(out-of-the-box). Also, 5.0.28 seems to work fine under JDK 1.5.0 in 
general.

Tomcat 5.0.29 can no longer compile JSP pages when running under JDK 
1.5.0! Given that 1.5.0 has been released and 5.0.28 works fine, I 
believe this is a serious regression in 5.0.29 that should by itself 
prevent it from getting a "stable" rating -- though I'd love to quickly 
see a 5.0.30 including a fix for this :-)  [Tomcat 5.0.29 does seem to 
work alright under 1.5.0 if you pre-compile all JSP pages via an Ant 
project...]

Note that the startup environment, JSP pages, etc, are identical in both 
cases.  In both cases I use "catalina.50.bat start".  Also note that the 
JSP pages use no 1.5 features whatsoever -- I'm just trying to run with 
JDK 1.5.0.  Also, both results hold both for "development" Jasper 
settings (fork=false, development=true, reloading=true) and "production 
Jasper settings (fork=true, development=false, reloading=false).

The symptom when this fails is the following console message:

    javac: target release 1.3 conflicts with default source release 1.5

I am *guessing* this may have something to do with the following change 
log entry:

    30984 <http://nagoya.apache.org/bugzilla/show_bug.cgi?id=30984>:
    Added compilerTargetVM option to Jasper. (yoavs)

--
Jess Holle