[Geoserver-devel] [jira] (GEOS-4931) Build failure in 2.1.x printing caused by Java 6 mapfish dependency

Ben Caradoc-Davies created GEOS-4931:
----------------------------------------

             Summary: Build failure in 2.1.x printing caused by Java 6 mapfish dependency
                 Key: GEOS-4931
                 URL: https://jira.codehaus.org/browse/GEOS-4931
             Project: GeoServer
          Issue Type: Bug
          Components: Community modules, Hudson
    Affects Versions: 2.1.x
            Reporter: Ben Caradoc-Davies
            Assignee: Andrea Aime
            Priority: Blocker

The 2.1.x Hudson build is broken in printing by mapfish print-lib-1.2-SNAPSHOT.jar which has been built with Java 6. Please either remove the -Pprinting from the build or change the dependency to a Java 5 version.

From the test error:

Caused by: java.lang.IllegalArgumentException: Error loading class [org.mapfish.print.servlet.MapPrinterServlet]: problem with class file or dependent class.
[...]
Caused by: java.lang.UnsupportedClassVersionError: Bad version number in .class file

I checked the major version in the class file and it is 50 (Java 6).

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://jira.codehaus.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira