Win a copy of Five Lines of Code this week in the OO, Patterns, UML and Refactoring forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Bear Bibeault
  • Ron McLeod
  • Jeanne Boyarsky
  • Paul Clapham
Sheriffs:
  • Tim Cooke
  • Liutauras Vilda
  • Junilu Lacar
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • fred rosenberger
  • salvin francis
Bartenders:
  • Piet Souris
  • Frits Walraven
  • Carey Brown

[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
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
    Bookmark Topic Watch Topic
  • New Topic