Hello,
I have a resource JAX-RS and I work with plugin TomEE Maven. My application
starts right when I start server TomEE.
My problem is when I use the class javax.ws.rs.core.Link
Link self = Link.fromUri(uriInfo.getBaseUriBuilder()
.path(getClass())
.path(getClass(), "getBookByIsbn")
.build(book.get().getId()))
.rel("self")
.type("GET")
.build();
When I check with POSTMAN
http://localhost:8080/rest-server/api/books/2526987585
In the server I get the message
Caused by: java.lang.NoSuchMethodError:
javax.ws.rs.ext.RuntimeDelegate.createLinkBuilder()Ljavax/ws/rs/core/Link$Builder;
at javax.ws.rs.core.Link.fromUri(Link.java:198)
How do I have to configure dependencies to use TomEE and JAX-RS?
--
Sent from: http://tomee-openejb.979440.n4.nabble.com/TomEE-Users-f979441.html