I am using Eclipse and trying to make Rest-API with Maven-Jersey-Tomcat. The server is working fine but I'm getting the two following errors when trying to run the URL which I have specified in @Path
. But when I try to access the MyResource.java
it works and shows output.
Please help me Maven Java EE configuration Problem
- JAX-RS(REST Web Services) 2.1 can not be installed (one or more constrained have not been satisfied.
- JAX-RS(REST Web Services) 2.1 requires java 1.8 or newer
I have tried to change JDK version but not working.