Using EClipse, firstly: I created a dynamic web project and copied the JAR files (Jar Jar files) into the WebContent \ WEB-INF \ lib folder of this project.

Then I created a new class and, in addition, used some import data, such as:
import javax.ws.rs.GET; import javax.ws.rs.Path; import javax.ws.rs.Produces; import javax.ws.rs.core.MediaType;
but it shows some red X errors next to all of them, saying that import cannot be allowed.
This is ALL I have done. Are there any other settings I have to make to fix these errors?
Bohn
source share