Skip to main content
New: Stack Overflow For Agents. The next generation of knowledge exchange. Learn more
Filter by
Sorted by
Tagged with
Advice
0 votes
0 replies
53 views

I’m an intern and I’ve been asked to help migrate a small Java app from Jersey/Jetty to Spring Boot. The app is not very big. From what I’ve seen so far, it mainly exposes a few REST endpoints and ...
Moncef Ahmane's user avatar
1 vote
1 answer
230 views

I am using the latest Version of the Keycloak Admin Client <dependency> <!-- provides convenience classes for accessing the keycloak rest api --> <groupId>org.keycloak</...
Michael Von Bargen's user avatar
0 votes
0 answers
57 views

I am trying to create a JerseyTest setup where a Spring applicationContext is provided to the JerseyTest. I am using Jersey 2.47, Spring 5.3.39 and jersey-spring5. I am overriding the ...
user16540816's user avatar
0 votes
1 answer
99 views

As you can see in TestRest.java I am trying to return a POJO in JSON. I would like to configure tomcat and jersey to automatically convert POJOs to JSON in the response. The way it is configured ...
Dan B's user avatar
0 votes
1 answer
125 views

I have a legacy java application using jersey 2.x and deployed to tomcat 8. Recently I migrated it to the latest version of spring boot. The migration went without any issue and all the function tests ...
xing's user avatar
0 votes
0 answers
66 views

I am trying to set up the bean validation in my jersey server. I would like to assure that everytime I get an email in this bean it is not null. But with this current setup, everytime jersey tries to ...
Rik Smits's user avatar
0 votes
1 answer
205 views

I'm using Swagger with Jersey (JAX-RS) to serve API documentation. I configure Swagger like this: ResourceConfig swaggerResourceConfig = new ResourceConfig() .packages("io.swagger.v3.jaxrs2....
dmn28's user avatar
0 votes
1 answer
131 views

I have an existing REST API (has been around for years now and I'm the original author) which has multiple end-points. I just added a new end-point for uploading files. The end-point method resource ...
Brien Halstead's user avatar
0 votes
1 answer
90 views

I am trying to use a Jersey (3.x) client with ApacheConnector but I observed that in case a chunked gzip response is received. the connection gets closed as soon as the response is read. The ...
user29495070's user avatar
0 votes
0 answers
55 views

Problem: I have to make JAX RS client call for GET HTTP method. But, the response is a Form data. I need help in knowing how to read the response which is of type FormData. Ex: ClientConfig config = ...
Shubha P's user avatar
0 votes
1 answer
96 views

I am trying to learn JAX-RS by using JDK 17, Maven 3.9.5, Tomcat 9.0.21. I used the archetype jersey-quickstart-webapp from GlassFish to generate a project. I simply built the project and deployed the ...
Python_user's user avatar
0 votes
0 answers
325 views

I have created a spring boot project (spring-boot-starter-parent version 3.4.0) using the IntelliJ IDEA wizard with spring-boot-starter-jersey. I have created HelloWorldResource: @Path("/hello-...
nik0x1's user avatar
0 votes
1 answer
77 views

This is similar to testing a single controller with @WebMvcTest, except that we'll be using a real web environment instead of a mock environment. See: Testing the Web Layer guide. We'll start with an ...
MikeW's user avatar
1 vote
2 answers
355 views

This question is based on the Testing the Web Layer guide for Spring Boot: We'll start with a @SpringBootTest that passes when we use a controller; this is very similar to the example in the guide. ...
MikeW's user avatar
0 votes
0 answers
183 views

I'm in the process of upgrading our projects to Java21, and here I encountered our grizzly http server is not compatible with Java21 (was using version 3.0.1). Thus I upgraded to 3.0.16 and at least ...
divadpoc's user avatar

15 30 50 per page
1
2 3 4 5
691