You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@pdfbox.apache.org by "Tilman Hausherr (Jira)" <ji...@apache.org> on 2025/05/23 03:04:00 UTC

[jira] [Updated] (PDFBOX-6011) build fails on jdk11

     [ https://issues.apache.org/jira/browse/PDFBOX-6011?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Tilman Hausherr updated PDFBOX-6011:
------------------------------------
    Affects Version/s: 3.0.5 PDFBox
                       2.0.34

> build fails on jdk11
> --------------------
>
>                 Key: PDFBOX-6011
>                 URL: https://issues.apache.org/jira/browse/PDFBOX-6011
>             Project: PDFBox
>          Issue Type: Bug
>    Affects Versions: 2.0.34, 3.0.5 PDFBox, 4.0.0
>            Reporter: Tilman Hausherr
>            Assignee: Tilman Hausherr
>            Priority: Major
>             Fix For: 4.0.0
>
>
> https://ci-builds.apache.org/job/PDFBox/job/PDFBox-trunk/2588/console
> Caused by: java.lang.UnsupportedClassVersionError: jenkins/security/MasterToSlaveCallable has been compiled by a more recent version of the Java Runtime (class file version 61.0), this version of the Java Runtime only recognizes class file versions up to 55.0
> 	at java.base/java.lang.ClassLoader.defineClass1(Native Method)
> 	at java.base/java.lang.ClassLoader.defineClass(ClassLoader.java:1022)
> 	at java.base/java.lang.ClassLoader.defineClass(ClassLoader.java:883)
> 	at hudson.remoting.RemoteClassLoader.loadClassFile(RemoteClassLoader.java:470)
> 	... 32 more
> ERROR: ================================================================================
> ERROR: Invalid project setup: Failed to load hudson.maven.AbstractMavenProcessFactory$ConfigureOriginalJDK
> ERROR: [JENKINS-18403][JENKINS-28294] JDK 'jdk_11_latest' not supported to run Maven projects.
> ERROR: Maven projects have to be launched with a Java version greater or equal to the minimum version required by the controller.
> ERROR: Use the Maven JDK Toolchains (plugin) to build your maven project with an older JDK.
> ERROR: Retrying with agent Java and setting compile/test properties to point to /home/jenkins/tools/java/latest11.
> ERROR: ================================================================================
> Class file version 61 means we have to use jdk17 on the ci



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

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