• Post Reply Bookmark Topic Watch Topic
  • New Topic

[RESTeasy] Problem during deployment

 
Thomas Pascal Michem Campos
Greenhorn
Posts: 15
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello everybody,
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.
   Thomas

Here is my pom.xml


 
Thomas Pascal Michem Campos
Greenhorn
Posts: 15
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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 :

I want that my future Web Service can be accessed with this type of address http://localhost:8080/Sorties/......
I am trying to go on.
Thanks in advance.
  Thomas
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!