Replies: 4 comments 20 replies
-
That is definitely strange. I don't know Jetty all that well as I've just not used it much. If you have a reproducer, I'm happy to have a look. Where I would start looking is to see what |
Beta Was this translation helpful? Give feedback.
-
Hey, jringbox ✅ Possible Solutions <dependency>
<groupId>org.jboss.resteasy</groupId>
<artifactId>resteasy-client</artifactId>
<version>6.2.4.Final</version>
</dependency>
<dependency>
<groupId>org.jboss.resteasy</groupId>
<artifactId>resteasy-client-api</artifactId>
<version>6.2.4.Final</version>
</dependency>
<dependency>
<groupId>org.jboss.resteasy</groupId>
<artifactId>resteasy-core</artifactId>
<version>6.2.4.Final</version>
</dependency>
<dependency>
<groupId>jakarta.ws.rs</groupId>
<artifactId>jakarta.ws.rs-api</artifactId>
<version>3.1.0</version>
<scope>provided</scope>
</dependency> |
Beta Was this translation helpful? Give feedback.
-
I ran into another problem where my code is packaged in a different context and
To resolve this, I had to exclude |
Beta Was this translation helpful? Give feedback.
-
I'm experiencing the same issue running an app built with Spring Boot 3.4.4 and using the Keycloak 26.0.5 Java API:
@jringbox did you manage to find a workaround for this? |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
I'm having a difficult time with an issue on context related to
resteasy-client-api
6.2.4. For some reason I'm getting this exception.In org.jboss.resteasy.client.jaxrs.ProxyBuilder, there's this line of code.
Class clazz = loader.loadClass("org.jboss.resteasy.client.jaxrs.internal.proxy.ProxyBuilderImpl");
This line is failing and it's unable to find the class. The class is in
resteasy-client
.Before this line of code occurs, there's
loader = Thread.currentThread().getContextClassLoader();
which get's the loader to findProxyBuilderImpl
. Now if I doThread.currentThread().setContextClassLoader(org.jboss.resteasy.client.jaxrs.ProxyBuilder.class.getClassLoader());
before that line is called, everything works fine. What I'm confused by is why the loader can't resolve the class. My build does containresteasy-client
andresteasy-client-api
in my build and deployment.As a note, I'm using Java 17 Jakarta in Jetty 12 standalone server and I've been upgrading from resteasy 3.0.24 and from Spring Boot 2.3.4 to 3.4.3.
I'm sure this is a dependency issue of some sort but I don't know what is causing this. If anyone have any ideas, I would appreciate it.
Beta Was this translation helpful? Give feedback.
All reactions