Build failed in Jenkins: Santuari o » Santuario-Java-main-JDK11 #461

Apache Jenkins Server <[email protected]> Tue, 4 Aug 2026 16:00:42 +0000 (UTC)
Newsgroups gmane.text.xml.security.devel
Message-ID <[email protected]>
See <https://ci-builds.apache.org/job/Santuario/job/Santuario-Java-main-JDK11/461/display/redirect?page=changes>

Changes:

[github] Switch to Jetty 12 for JDK17+ using profiles (#641)


------------------------------------------
Started by an SCM change
Running as SYSTEM
[EnvInject] - Loading node environment variables.
Building remotely on builds41 (ubuntu) in workspace <https://ci-builds.apache.org/job/Santuario/job/Santuario-Java-main-JDK11/ws/>
The recommended git tool is: NONE
No credentials specified
 > git rev-parse --resolve-git-dir <https://ci-builds.apache.org/job/Santuario/job/Santuario-Java-main-JDK11/ws/.git> # timeout=10
Fetching changes from the remote Git repository
 > git config remote.origin.url https://gitbox.apache.org/repos/asf/santuario-xml-security-java.git # timeout=10
Fetching upstream changes from https://gitbox.apache.org/repos/asf/santuario-xml-security-java.git
 > git --version # timeout=10
 > git --version # 'git version 2.34.1'
 > git fetch --tags --force --progress -- https://gitbox.apache.org/repos/asf/santuario-xml-security-java.git +refs/heads/*:refs/remotes/origin/* # timeout=10
 > git rev-parse refs/remotes/origin/main^{commit} # timeout=10
Checking out Revision 05bebec5d9bd36144f9f11b313153dc5148021b2 (refs/remotes/origin/main)
 > git config core.sparsecheckout # timeout=10
 > git checkout -f 05bebec5d9bd36144f9f11b313153dc5148021b2 # timeout=10
Commit message: "Switch to Jetty 12 for JDK17+ using profiles (#641)"
 > git rev-list --no-walk ab81d37fa1e7db3d853e47c607136c952ebbde00 # timeout=10
Parsing POMs
Modules changed, recalculating dependency graph
Established TCP socket on 46271
maven35-agent.jar already up to date
maven35-interceptor.jar already up to date
maven3-interceptor-commons.jar already up to date
[Santuario-Java-main-JDK11] $ /home/jenkins/tools/java/latest11/bin/java -cp /home/jenkins/jenkins-agent/maven35-agent.jar:/home/jenkins/tools/maven/latest3/boot/plexus-classworlds-2.9.0.jar:/home/jenkins/tools/maven/latest3/conf/logging jenkins.maven3.agent.Maven35Main /home/jenkins/tools/maven/latest3 /home/jenkins/jenkins-agent/agent.jar /home/jenkins/jenkins-agent/maven35-interceptor.jar /home/jenkins/jenkins-agent/maven3-interceptor-commons.jar 46271
<===[JENKINS REMOTING CAPACITY]===>   channel started
Aug 04, 2026 3:59:21 PM hudson.remoting.UserRequest perform
WARNING: LinkageError while performing UserRequest:hudson.maven.AbstractMavenProcessFactory$ConfigureOriginalJDK@3b9ad035
java.lang.UnsupportedClassVersionError: Failed to load hudson.maven.AbstractMavenProcessFactory$ConfigureOriginalJDK
	at hudson.remoting.RemoteClassLoader.loadClassFile(RemoteClassLoader.java:472)
	at hudson.remoting.RemoteClassLoader.loadRemoteClass(RemoteClassLoader.java:301)
	at hudson.remoting.RemoteClassLoader.loadWithMultiClassLoader(RemoteClassLoader.java:277)
	at hudson.remoting.RemoteClassLoader.findClass(RemoteClassLoader.java:236)
	at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:594)
	at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:527)
	at java.base/java.lang.Class.forName0(Native Method)
	at java.base/java.lang.Class.forName(Class.java:398)
	at hudson.remoting.MultiClassLoaderSerializer$Input.resolveClass(MultiClassLoaderSerializer.java:133)
	at java.base/java.io.ObjectInputStream.readNonProxyDesc(ObjectInputStream.java:2003)
	at java.base/java.io.ObjectInputStream.readClassDesc(ObjectInputStream.java:1870)
	at java.base/java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:2201)
	at java.base/java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1687)
	at java.base/java.io.ObjectInputStream.readObject(ObjectInputStream.java:489)
	at java.base/java.io.ObjectInputStream.readObject(ObjectInputStream.java:447)
	at hudson.remoting.UserRequest.deserialize(UserRequest.java:312)
	at hudson.remoting.UserRequest.perform(UserRequest.java:196)
	at hudson.remoting.UserRequest.perform(UserRequest.java:50)
	at hudson.remoting.Request$2.run(Request.java:391)
	at hudson.remoting.InterceptingExecutorService.lambda$wrap$0(InterceptingExecutorService.java:81)
	at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264)
	at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)
	at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)
	at java.base/java.lang.Thread.run(Thread.java:829)
Caused by: java.lang.UnsupportedClassVersionError: Failed to load jenkins.security.MasterToSlaveCallable
	at hudson.remoting.RemoteClassLoader.loadClassFile(RemoteClassLoader.java:472)
	at hudson.remoting.RemoteClassLoader.loadRemoteClass(RemoteClassLoader.java:301)
	at hudson.remoting.RemoteClassLoader.loadWithMultiClassLoader(RemoteClassLoader.java:277)
	at hudson.remoting.RemoteClassLoader.findClass(RemoteClassLoader.java:236)
	at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:594)
	at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:527)
	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)
	... 23 more
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: ================================================================================
Established TCP socket on 39401
maven35-agent.jar already up to date
maven35-interceptor.jar already up to date
maven3-interceptor-commons.jar already up to date
[Santuario-Java-main-JDK11] $ /usr/local/asfpackages/java/adoptium-jdk-17.0.12+7/bin/java -cp /home/jenkins/jenkins-agent/maven35-agent.jar:/home/jenkins/tools/maven/latest3/boot/plexus-classworlds-2.9.0.jar:/home/jenkins/tools/maven/latest3/conf/logging jenkins.maven3.agent.Maven35Main /home/jenkins/tools/maven/latest3 /home/jenkins/jenkins-agent/agent.jar /home/jenkins/jenkins-agent/maven35-interceptor.jar /home/jenkins/jenkins-agent/maven3-interceptor-commons.jar 39401
<===[JENKINS REMOTING CAPACITY]===>   channel started
Executing Maven:  -B -f <https://ci-builds.apache.org/job/Santuario/job/Santuario-Java-main-JDK11/ws/pom.xml> clean deploy
[INFO] Scanning for projects...
[HUDSON] Collecting dependencies info
[INFO] 
[INFO] --------------------< org.apache.santuario:xmlsec >---------------------
[INFO] Building Apache XML Security for Java 4.0.5-SNAPSHOT
[INFO]   from pom.xml
[INFO] -------------------------------[ bundle ]-------------------------------
[INFO] 
[INFO] --- clean:3.5.0:clean (default-clean) @ xmlsec ---
[INFO] Deleting <https://ci-builds.apache.org/job/Santuario/job/Santuario-Java-main-JDK11/ws/target>
[INFO] 
[INFO] --- enforcer:3.6.3:enforce (enforce-maven-version) @ xmlsec ---
[INFO] Rule 0: org.apache.maven.enforcer.rules.version.RequireMavenVersion passed
[INFO] 
[INFO] --- enforcer:3.6.3:enforce (enforce-java-version) @ xmlsec ---
[INFO] Rule 0: org.apache.maven.enforcer.rules.version.RequireJavaVersion passed
[INFO] Rule 1: org.apache.maven.enforcer.rules.version.RequireMavenVersion passed
[INFO] 
[INFO] --- jacoco:0.8.15:prepare-agent (jacoco-agent-for-unit-tests) @ xmlsec ---
[INFO] argLine set to -javaagent:/home/jenkins/.m2/repository/org/jacoco/org.jacoco.agent/0.8.15/org.jacoco.agent-0.8.15-runtime.jar=destfile=<https://ci-builds.apache.org/job/Santuario/job/Santuario-Java-main-JDK11/ws/target/jacoco.exec,includes=org/apache/xml/security/**>:org/apache/jcp/xml/dsig/internal/**
[INFO] 
[INFO] --- jaxb30:0.16.0:generate (generate-jaxb-sources) @ xmlsec ---
[INFO] Sources are not up-to-date, XJC will be executed.
[INFO] Episode file [<https://ci-builds.apache.org/job/Santuario/job/Santuario-Java-main-JDK11/ws/target/generated-sources/xjc/META-INF/sun-jaxb.episode]> was augmented with if-exists="true" attributes.
[INFO] 
[INFO] --- replacer:1.5.3:replace (bindings-workaround-sun-jaxb) @ xmlsec ---
[INFO] Replacement run on 1 file.
[INFO] 
[INFO] --- replacer:1.5.3:replace (types-workaround-xmldsig) @ xmlsec ---
[INFO] Replacement run on 1 file.
[INFO] 
[INFO] --- remote-resources:3.3.0:process (process-resource-bundles) @ xmlsec ---
[INFO] Preparing remote bundle org.apache.apache.resources:apache-jar-resource-bundle:1.8
[INFO] Copying 3 resources from 1 bundle.
[INFO] 
[INFO] --- resources:3.5.0:resources (default-resources) @ xmlsec ---
[INFO] Copying 23 resources from src/main/resources to target/classes
[INFO] Copying 9 resources from src/main/java to target/classes
[INFO] Copying 1 resource from target/generated-sources/xjc to target/classes
[INFO] Copying 3 resources from target/maven-shared-archive-resources to target/classes
[INFO] 
[INFO] --- compiler:3.15.0:compile (default-compile) @ xmlsec ---
[INFO] Recompiling the module because of changed source code.
[INFO] Compiling 490 source files with javac [forked debug deprecation release 11 module-path] to target/classes
[INFO] JDK-8318913 workaround: patched module-info.class requires version from [11.0.24] to [11] on 4 JDK modules [java.base, java.management, java.xml, java.xml.crypto]
[WARNING] <https://ci-builds.apache.org/job/Santuario/job/Santuario-Java-main-JDK11/ws/src/main/java/org/apache/xml/security/stax/config/XIncludeHandler.java>:[158,42] [deprecation] XMLReaderFactory in org.xml.sax.helpers has been deprecated
[INFO] 
[INFO] --- resources:3.5.0:testResources (default-testResources) @ xmlsec ---
[INFO] Copying 1 resource from src/test/resources to target/test-classes
[INFO] Copying 1197 resources from src/test/resources to target/test-classes
[INFO] Copying 1 resource from src/test/java to target/test-classes
[INFO] Copying 3 resources from target/maven-shared-archive-resources to target/test-classes
[INFO] The encoding used to copy filtered properties files has not been set. This means that the same encoding will be used to copy filtered properties files as when copying other filtered resources. This might not be what you want! Run your build with --debug to see which files might be affected. Read more at https://maven.apache.org/plugins/maven-resources-plugin/examples/filtering-properties-files.html
[INFO] 
[INFO] --- compiler:3.15.0:testCompile (default-testCompile) @ xmlsec ---
[WARNING] Can't extract module name from xalan-2.7.3.jar: Provider class org.apache.bsf.BSFManager not in module
[INFO] Recompiling the module because of changed dependency.
[INFO] Compiling 263 source files with javac [forked debug deprecation release 11 module-path] to target/test-classes
[INFO] -------------------------------------------------------------
[ERROR] COMPILATION ERROR : 
[INFO] -------------------------------------------------------------
[ERROR] <https://ci-builds.apache.org/job/Santuario/job/Santuario-Java-main-JDK11/ws/src/test/java/org/apache/xml/security/test/stax/utils/HttpRequestRedirectorProxy.java>:[41,29] cannot access MimeTypes
  bad class file: /home/jenkins/.m2/repository/org/eclipse/jetty/jetty-http/12.0.18/jetty-http-12.0.18.jar(/org/eclipse/jetty/http/MimeTypes.class)
    class file has wrong version 61.0, should be 55.0
    Please remove or make sure it appears in the correct subdirectory of the classpath.
[ERROR] <https://ci-builds.apache.org/job/Santuario/job/Santuario-Java-main-JDK11/ws/src/test/java/org/apache/xml/security/test/stax/utils/HttpRequestRedirectorProxy.java>:[42,31] cannot access Server
  bad class file: /home/jenkins/.m2/repository/org/eclipse/jetty/jetty-server/12.0.18/jetty-server-12.0.18.jar(/org/eclipse/jetty/server/Server.class)
    class file has wrong version 61.0, should be 55.0
    Please remove or make sure it appears in the correct subdirectory of the classpath.
[ERROR] <https://ci-builds.apache.org/job/Santuario/job/Santuario-Java-main-JDK11/ws/src/test/java/org/apache/xml/security/test/stax/utils/HttpRequestRedirectorProxy.java>:[50,19] cannot find symbol
  symbol:   class Server
  location: class HttpRequestRedirectorProxy
[ERROR] <https://ci-builds.apache.org/job/Santuario/job/Santuario-Java-main-JDK11/ws/src/test/java/org/apache/xml/security/test/stax/utils/HttpRequestRedirectorProxy.java>:[89,23] cannot find symbol
  symbol:   class MimeTypes
  location: class TestingHttpProxyServlet
[INFO] 4 errors 
[INFO] -------------------------------------------------------------
[WARNING] Attempt to (de-)serialize anonymous class org.jfrog.hudson.maven2.MavenDependenciesRecorder$1; see: https://jenkins.io/redirect/serialization-of-anonymous-classes/
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time:  41.622 s
[INFO] Finished at: 2026-08-04T16:00:37Z
[INFO] ------------------------------------------------------------------------
Waiting for Jenkins to finish collecting data
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.15.0:testCompile (default-testCompile) on project xmlsec: Compilation failure: Compilation failure:
[ERROR] <https://ci-builds.apache.org/job/Santuario/job/Santuario-Java-main-JDK11/ws/src/test/java/org/apache/xml/security/test/stax/utils/HttpRequestRedirectorProxy.java>:[41,29] cannot access MimeTypes
[ERROR] bad class file: /home/jenkins/.m2/repository/org/eclipse/jetty/jetty-http/12.0.18/jetty-http-12.0.18.jar(/org/eclipse/jetty/http/MimeTypes.class)
[ERROR] class file has wrong version 61.0, should be 55.0
[ERROR] Please remove or make sure it appears in the correct subdirectory of the classpath.
[ERROR] <https://ci-builds.apache.org/job/Santuario/job/Santuario-Java-main-JDK11/ws/src/test/java/org/apache/xml/security/test/stax/utils/HttpRequestRedirectorProxy.java>:[42,31] cannot access Server
[ERROR] bad class file: /home/jenkins/.m2/repository/org/eclipse/jetty/jetty-server/12.0.18/jetty-server-12.0.18.jar(/org/eclipse/jetty/server/Server.class)
[ERROR] class file has wrong version 61.0, should be 55.0
[ERROR] Please remove or make sure it appears in the correct subdirectory of the classpath.
[ERROR] <https://ci-builds.apache.org/job/Santuario/job/Santuario-Java-main-JDK11/ws/src/test/java/org/apache/xml/security/test/stax/utils/HttpRequestRedirectorProxy.java>:[50,19] cannot find symbol
[ERROR] symbol:   class Server
[ERROR] location: class HttpRequestRedirectorProxy
[ERROR] <https://ci-builds.apache.org/job/Santuario/job/Santuario-Java-main-JDK11/ws/src/test/java/org/apache/xml/security/test/stax/utils/HttpRequestRedirectorProxy.java>:[89,23] cannot find symbol
[ERROR] symbol:   class MimeTypes
[ERROR] location: class TestingHttpProxyServlet
[ERROR] -> [Help 1]
[ERROR] 
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR] 
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureException
[JENKINS] Archiving <https://ci-builds.apache.org/job/Santuario/job/Santuario-Java-main-JDK11/ws/pom.xml> to org.apache.santuario/xmlsec/4.0.5-SNAPSHOT/xmlsec-4.0.5-SNAPSHOT.pom
Sending e-mails to: [email protected]
channel stopped