Restful way of sending Pre-Post or Pre-Put warning message

I am trying to convert a legacy application to Restful web-services. One of our old form displayed a warning message immediately on form load. This warning message depends on a user property. For …

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 …

java.lang.NoClassDefFoundError: io/jsonwebtoken/SignatureAlgorithm

i have the following code that tries to create a jwt token. there will always be an error as shown below whenever it tries to execute SignatureAlgorithm signatureAlgorithm = SignatureAlgorithm.HS256; …

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….

Maven jersey-multipart missing dependency for javax.ws.rs.core.Response

I seem to have a missing dependency but can’t find the solution… I’ve made sure all jersey versions are identical as answered here. Error: SEVERE: The following errors and warnings have been …

ServletContextListener SEVERE: Error configuring application listener of class marktest.Config

My Java servlet appears to be complaining that it can’t find a file which is included in the package (marktest). Im using Eclipse (Indigo) to develop and Tomcat7. Here is the error: SEVERE: Error …