eclipse-ee4j / eclipse-ee4j/jakartaee-firstcup

Need more explanation about "import javax.ws.rs.*" there are more then one choice.

Open
#10 6 comments 0 reactions 0 assignees View on GitHub
Dominant language
CSS
Stars
15
Forks
18
PR merge metrics
No merged PRs in 30d

Description

I'm using NetBeans 8.2 and Java EE 8.
I'm followed the tutorial but at the "Creating the dukes-age Application Using the Maven Archetype" point there is a problem, this line give error:

import javax.ws.rs.GET;
import javax.ws.rs.Path;
import javax.ws.rs.Produces;

Because there are multiple match to the package javax.ws.rs through the "Search Dependency at Maven Repositories for javax.ws.rs" I get this:

- com.sun.jersey: jersey-bundle
- com.sun.jersey: jersey-core
- javax: javaee-api
- javax: javaee-web-api
- javax.ws.rs: javax.ws.rs-api
- org.glassfish.jersey: jax-rs-ri
- org.glassfish.jersey.bundles: jaxrs-ri

so what I should choose?
I think that the tutorial should explain this point.

I give to Oracle and all Users the right to post, access, discuss, use, publish, disseminate, and refine mine Submissions.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.