2,516 questions
- Bountied 0
- Unanswered
- Frequent
- Score
- Trending
- Week
- Month
- Unanswered (my tags)
1
vote
1
answer
126
views
Keycloak Admin Client with Resteasy
I am using the latest Version of the Keycloak Admin Client
<dependency>
<!-- provides convenience classes for accessing the keycloak rest api -->
<groupId>org.keycloak</...
0
votes
0
answers
43
views
RestEasy mapping Client vs. Server Exceptions
We're using, for historic reasons, RestEasy 5.0.10 here in some services and I problem sometimes:
When the user send bad input, be it wrongly formatted json, wrong types for @FormParams or whatever, ...
1
vote
0
answers
187
views
Handling HTTP 403 Forbidden Response in Quarkus REST Client with ResponseExceptionMapper
I'm developing a Quarkus (maven) application that uses a REST client to interact with an external API.
I'm using Quarkus 3.2.4.Final (with quarkus-rest-client-reactive-jackson and quarkus-rest-client-...
1
vote
0
answers
56
views
Why does ResteasyReactiveJaxbProcessor reject simple collections when upgrading from Quarkus 2 to Quarkus 3 using quarkus-rest?
I want to upgrade a quarkus 2 (2.16.12) application to quarkus 3. (3.20.1).
As part of that I replaced maven dependencies to quarkus-resteasy with the recommended quarkus-rest.
Unfortunately the ...
0
votes
0
answers
68
views
com.fasterxml.jackson.module.jakarta.xmlbind.JakartaXmlBindAnnotationModule not a subtype
java.util.ServiceConfigurationError: com.fasterxml.jackson.databind.Module: com.fasterxml.jackson.module.jakarta.xmlbind.JakartaXmlBindAnnotationModule not a subtype
Jakarta 10.0
Jackson 2.15.4
...
0
votes
2
answers
164
views
Cross-Site Request Forgery Vulnerability for DWR request calls
I have a java application running on wildfly 10 and using java 8.
The requests are sending as DWR requests and using the method as POST.
We have contrast agent for security running over the ...
0
votes
0
answers
68
views
Non-Boot Springframework Project MIgration to Spring 6 and Jakarta classes, facing RESTEasy API Issues
I am migrating a non-boot spring framework project to spring 6 java 17 and Jakarta classes but facing issue while using RESTEasy api after changing the dependencies of RESTEasy which are compatible ...
0
votes
1
answer
68
views
Quarkus REST Client - 411 Length Required when uploading file to Fortinet appliance
I'm using Quarkus to POST a file to an external Fortinet appliance. However, the service enforces strict HTTP protocol constraints and returns:
411 Length Required
The Quarkus REST client interface:
@...
0
votes
0
answers
61
views
Multiple attachments causing issue while creating REST API using Jakarta and RestEasy MultipartFormDataInput
Below is the data I am trying to save via a REST API
{
"number": "123123",
"priority": "2",
"city": "",
"notes": "",
...
1
vote
1
answer
185
views
CDI 4.0 Integration with Jakarta REST 3.1 in WildFly server
I am trying to understand JAX-RS, CDI integration in Wildfly, specifically how the bean lifecycle looks like. The following behaviour is not what I expected. Below is drilled down example.
@Dependent
@...
0
votes
0
answers
63
views
Change default panache filters
I use Quarkus 3.15 with PostgreSQL and Panache extension.
My small application needs different filters by data type.
For example, string type fields, I need the SQL query generated by Panache to be ...
0
votes
1
answer
105
views
Type 'org/jboss/resteasy/specimpl/ResteasyUriBuilderImpl' (current frame, stack[0]) is not assignable to 'javax/ws/rs/core/UriBuilder'
I am upgrading from Keycloak 12 to Keycloak 26 and adapting custom providers for this version. During a procedure, I get the following error:
2025年01月30日 15:12:45,024 ERROR [org.keycloak.events....
0
votes
1
answer
113
views
Is there a way to skip all ServerRequestFilter's in a Quarkus rest service?
The problem
Our repository has few ServerRequestFilter methods that are applied to every REST path. I need to add a new REST end point that requires it to bypass all these filters.
I am looking for a ...
0
votes
1
answer
144
views
org.jboss.resteasy.plugins.server.servlet.HttpServletDispatcher cannot be cast to class jakarta.servlet.Servlet
Anyone know how to solve the issue of HttpServletDispatcher casting to jakarta servlet?
I am getting below error when migrating my api from tomcat 9 to tomcat 10 and java 11 to java 17.
java.lang....
1
vote
1
answer
328
views
How do I do a multipart/form file upload with jax-rs on wildfly 34 (jakartaee 10 project)
I've the following methods which are not working on Wildfly 34 but working perfectly on OpenLiberty:
@POST
@Path("/upload")
@Consumes(MediaType.MULTIPART_FORM_DATA)
public void uploadFiles(@...