Re: Caused by: java.lang.LinkageError: loader constraint violation

2025-04-24 Thread Basil Crow
On Thu, Apr 24, 2025 at 8:03 AM Basil Crow wrote: > > I followed Ranton's instructions Sorry, I meant Radek Antoniuk's instructions -- You received this message because you are subscribed to the Google Groups "Jenkins Developers" group. To unsubscribe from this group and stop receiving emails

Re: Caused by: java.lang.LinkageError: loader constraint violation

2025-04-24 Thread Basil Crow
On Wed, Apr 23, 2025 at 11:32 PM Ivan Fernandez Calvo wrote: > > Basil, out of curiosity, how did you find it? I followed Ranton's instructions to reproduce the problem with hpi:run, ran dependency:tree in maven-hpi-plugin, and iterated until the problem was resolved. -- You received this messa

Re: Caused by: java.lang.LinkageError: loader constraint violation

2025-04-23 Thread Ivan Fernandez Calvo
Basil, out of curiosity, how did you find it? I tried to find the root of the issue using 'dependency:tree', but it did not point to a culprit. Therefore, I manually dug into the dependencies of each plugin, which was a painful and slow process, and ultimately without success. On Tuesday, April

Re: Caused by: java.lang.LinkageError: loader constraint violation

2025-04-22 Thread Basil Crow
Fixed in jenkinsci/maven-hpi-plugin#737 . Released in HPI plugin 3.64 and plugin parent POM 5.12

Re: Caused by: java.lang.LinkageError: loader constraint violation

2025-04-22 Thread Radek Antoniuk
Interestingly I see the same problem in jira-plugin right now when doing tests before a new release: https://github.com/jenkinsci/jira-plugin/issues/643 I started from a clean env (no target/) and then after running mvn hpi:run I see only: $ find target -name 'jcl-over-slf4j*' target/jetty/webap

Re: Caused by: java.lang.LinkageError: loader constraint violation

2025-04-16 Thread Basil Crow
org/apache/commons/logging/Log.class should be provided by jcl-over-slf4j-2.0.17.jar (from SLF4J) in Jenkins core. So ensure that no installed plugin's HPI contains WEB-INF/lib/commons-logging-*.jar or WEB-INF/lib/jcl-over-slf4j-*.jar. -- You received this message because you are subscribed to th

Caused by: java.lang.LinkageError: loader constraint violation

2025-04-16 Thread kuisathaverat
version of commons.logging, I clean up all the folders in my classpath, target, work, ... exclude common-logging in several places, force the version of common-logging at top level. And nothing works. Has anyone found something similar? Caused by: java.lang.LinkageError: loader