Java JSON String problem encoding Multipart

Iā€™m developing a REST API that receives a MultipartFormDataInput object (org.jboss.resteasy.plugins.providers.multipart.MultipartFormDataInput), this comes from a form-data Vue.js app. On the data …

EAP 7.3 JPA+Hibernate REST Serialization of Bidirectional ManyToOne relationship (NOT SPRING)

I come from a Payara/EclipseLink background where this just works out of the box. My contract requires me to use EAP which does not support EclipseLink.persistance and I always prefer the “…

Jersey test framework: Test Container is null

I have the following test class that tests a simple “/helloWorld” endpoint that is implemented in jax-rs. I am running this as an EAR file in a JBOSS EAP Server locally. public class HelloWorldTest …

AbstractMethodError when creating JdkHttpServer for JAX-RS

I’m trying to create a Java server for a REST API and following this question I used jersey’s JdkHttpServer. I imported the necessary jars (from here), but when I start the server the following error …

Tomcat 404 ā€“ Not Found: when Implementing REST API

I’m trying to implement simple RESTFUL API service using dynamic web application in Eclipse. Every time I am getting error message HTTP Status 404 ā€“ Not Found. I have attached my screen below …

Java 8 LocalDate Jackson format

For java.util.Date when I do @JsonFormat(shape = JsonFormat.Shape.STRING, pattern = “dd/MM/yyyy”) private Date dateOfBirth; then in JSON request when I send { {“dateOfBirth”:”01/01/2000″} }…

JAX-RS MessageBodyReader

I’m learning how the MessageBodyReader method works from the providers. I see the method returns an object and I’m not sure how to access the object from a service. Could I get an explanation on how …

org.glassfish.jersey.internal.RuntimeDelegateImpl NOT FOUND

I am using jersey for my project and tring to parse a URI from a string. UriBuilder.fromUri(“http://localhost:8000”).build(); The code is simple, but I get a error below java.lang….