Red Hat Bugzilla – Bug 842620
tomcat - compile with -target 1.5 or greater
Last modified: 2012-12-20 10:44:05 EST
Package tomcat appears to be using Java generics,
but generates class files in format older than 49.0,
which corresponds to J2SE 5.0, in which generics were introduced.
Please update this package to generate classes in format 49.0 or
above. This corresponds to -target 1.5 option of javac (or ecj).
For more information, see bug #842394
It seems tomcat package already build in 50 format.
<!-- Servlet 3.0 spec requires 1.6+ -->
<property name="compile.source" value="1.6"/>
<property name="compile.target" value="1.6"/>
These 2 jars have classes in format 48.0:
These are part of tomcat-webapps binary RPM build from tomcat SRPM
To see the full list of affected classes, you can try:
curl http://mizdebsk.fedorapeople.org/jsr14-rawhide-2012-07-23.gz | zgrep ^tomcat-webapps-
You can also use javap to check class versions.
tomcat-7.0.32-1.fc18 has been submitted as an update for Fedora 18.
* should fix your issue,
* was pushed to the Fedora 18 testing repository,
* should be available at your local mirror within two days.
Update it with:
# su -c 'yum update --enablerepo=updates-testing tomcat-7.0.32-1.fc18'
as soon as you are able to.
Please go to the following url:
then log in and leave karma (feedback).
tomcat-7.0.32-1.fc18 has been pushed to the Fedora 18 stable repository. If problems still persist, please make note of it in this bug report.