Build failed in Jenkins: Santuario » Santuario-Ja va-main-JDK11 » Apache XML Security for Java #462

Apache Jenkins Server <[email protected]>
Newsgroups gmane.text.xml.security.devel
Message-ID <[email protected]>
See <https://ci-builds.apache.org/job/Santuario/job/Santuario-Java-main-JDK11/org.apache.santuario$xmlsec/462/display/redirect?page=changes>

Changes:

[github] Bump jetty11.version from 12.0.18 to 12.1.11 (#642)


------------------------------------------
Established TCP socket on 42131
maven35-agent.jar already up to date
maven35-interceptor.jar already up to date
maven3-interceptor-commons.jar already up to date
<===[JENKINS REMOTING CAPACITY]===>   channel started
Aug 05, 2026 6:59:19 AM hudson.remoting.UserRequest perform
WARNING: LinkageError while performing UserRequest:hudson.maven.AbstractMavenProcessFactory$ConfigureOriginalJDK@e540c35
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

Established TCP socket on 40791
maven35-agent.jar already up to date
maven35-interceptor.jar already up to date
maven3-interceptor-commons.jar already up to date
<===[JENKINS REMOTING CAPACITY]===>   channel started
Executing Maven:  -B -f <https://ci-builds.apache.org/job/Santuario/job/Santuario-Java-main-JDK11/org.apache.santuario$xmlsec/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] Artifact commons-codec:commons-codec:pom:1.22.1 is present in the local repository, but cached from a remote repository ID that is unavailable in current build context, verifying that is downloadable from [central (https://repo.maven.apache.org/maven2, default, releases)]
[INFO] Artifact commons-codec:commons-codec:pom:1.22.1 is present in the local repository, but cached from a remote repository ID that is unavailable in current build context, verifying that is downloadable from [central (https://repo.maven.apache.org/maven2, default, releases)]
[INFO] Downloading from central: https://repo.maven.apache.org/maven2/commons-codec/commons-codec/1.22.1/commons-codec-1.22.1.pom
[INFO] Downloaded from central: https://repo.maven.apache.org/maven2/commons-codec/commons-codec/1.22.1/commons-codec-1.22.1.pom (0 B at 0 B/s)
[INFO] Artifact org.apache.commons:commons-parent:pom:103 is present in the local repository, but cached from a remote repository ID that is unavailable in current build context, verifying that is downloadable from [central (https://repo.maven.apache.org/maven2, default, releases)]
[INFO] Artifact org.apache.commons:commons-parent:pom:103 is present in the local repository, but cached from a remote repository ID that is unavailable in current build context, verifying that is downloadable from [central (https://repo.maven.apache.org/maven2, default, releases)]
[INFO] Downloading from central: https://repo.maven.apache.org/maven2/org/apache/commons/commons-parent/103/commons-parent-103.pom
[INFO] Downloaded from central: https://repo.maven.apache.org/maven2/org/apache/commons/commons-parent/103/commons-parent-103.pom (0 B at 0 B/s)
[INFO] Downloading from central: https://repo.maven.apache.org/maven2/org/eclipse/jetty/ee10/jetty-ee10-servlets/12.1.11/jetty-ee10-servlets-12.1.11.pom
[INFO] Downloaded from central: https://repo.maven.apache.org/maven2/org/eclipse/jetty/ee10/jetty-ee10-servlets/12.1.11/jetty-ee10-servlets-12.1.11.pom (2.6 kB at 53 kB/s)
[INFO] Artifact commons-codec:commons-codec:jar:1.22.1 is present in the local repository, but cached from a remote repository ID that is unavailable in current build context, verifying that is downloadable from [central (https://repo.maven.apache.org/maven2, default, releases)]
[INFO] Artifact commons-codec:commons-codec:jar:1.22.1 is present in the local repository, but cached from a remote repository ID that is unavailable in current build context, verifying that is downloadable from [central (https://repo.maven.apache.org/maven2, default, releases)]
[INFO] Downloading from central: https://repo.maven.apache.org/maven2/commons-codec/commons-codec/1.22.1/commons-codec-1.22.1.jar
[INFO] Downloaded from central: https://repo.maven.apache.org/maven2/commons-codec/commons-codec/1.22.1/commons-codec-1.22.1.jar (0 B at 0 B/s)
[INFO] Downloading from central: https://repo.maven.apache.org/maven2/org/eclipse/jetty/ee10/jetty-ee10-servlets/12.1.11/jetty-ee10-servlets-12.1.11.jar
[INFO] Downloaded from central: https://repo.maven.apache.org/maven2/org/eclipse/jetty/ee10/jetty-ee10-servlets/12.1.11/jetty-ee10-servlets-12.1.11.jar (51 kB at 1.0 MB/s)
[INFO] 
[INFO] --- clean:3.5.0:clean (default-clean) @ xmlsec ---
[INFO] Deleting <https://ci-builds.apache.org/job/Santuario/job/Santuario-Java-main-JDK11/org.apache.santuario$xmlsec/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/org.apache.santuario$xmlsec/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/org.apache.santuario$xmlsec/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/org.apache.santuario$xmlsec/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/org.apache.santuario$xmlsec/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.1.11/jetty-http-12.1.11.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/org.apache.santuario$xmlsec/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.1.11/jetty-server-12.1.11.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/org.apache.santuario$xmlsec/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/org.apache.santuario$xmlsec/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/
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.