I create a Maven project Under Eclipse.
In my pom, i add this dependency because i want learn and practice REST Web Services :
I use the last version of JBoss server EAP 7 to deploy my war.
I have problem during the deployment of my WAR :
I read on the net that the solution consists of adding a provided scope in the pom. I did it but the problem remains.
I thank you in advance.
Here is my pom.xml
Thomas Pascal Michem Campos
posted 4 years ago
I remove the web.xml, and the error is removed.
But i have to define a root path to access to my future Web Service.
For that case, i follow the JBoss documentation and create a class :
- that extends Application
- annotated with @ApplicationPath("/sorties")
The @ApplicationPath annotation give the same problem i add :