Is it possible to configure a Java web app to run with Apache Wink Server and JAX-RS 2.0?

185 views Asked by At

I switched my application from using a Jersey Server to using an Apache Wink Server. Now, when I make CRUD operations to my API, I get the following error:

javax.servlet.ServletException: java.lang.AbstractMethodError: javax.ws.rs.core.Response.getStatusInfo()

I am sure this is happening because my application requires the use of JAX-RS 2.0, but Apache Wink is only JAX-RS 1.1 compliant.

I know that Apache CFX is JAX-RS 2.0 compliant, but I need to use Apache Wink to make the server responses align with a Liberty server (which uses Apache Wink).

So, is it possible to get Apache Wink + JAX-RS 2.0 working together on the same Java web app? And if so, please help me!

0

There are 0 answers