Problem with Java Import

Answered

Hi, i'm starting a new project with intelij idea like IDE.

 

I install the jar with maven that are on maven on the below link:

https://mvnrepository.com/artifact/javax/javaee-api/8.0.1

 

Also added the dependency on the pom. Instead if i make a mvn install it make the jar correctly but on the IDE it said to me that can't impor the package

import javax.ws.rs.core.*;

it said that can't find javax.ws

 

anyone can help me please?

0
1 comment

Is that package defined in the pom.xml file of your project? If yes, please try to re-import maven project, otherwise, define it in pom.xml. 

0

Please sign in to leave a comment.