This content has been marked as final.
Show 1 reply
-
1. Re: [RestEasy] Problem to call a method of a very simple REST Web Service
jamezp Aug 25, 2016 12:20 PM (in response to thomas1974)By default maven will append the version to the end of the archive. You need to make sure that "sortiesbdd" is the name of your archive or you include a jboss-web.xml file that indicates that's the context name you want to use.
Generally the context is the name of your WAR file. If the name of your name of your WAR is something like "sortiesbdd-1.0-SNAPSHOT.war" then likely your context name is "sortiesbdd-1.0-SNAPSHOT". You should see a line on the console like the following which will show you the web context that was registered.
09:15:15,948 INFO [org.wildfly.extension.undertow] (ServerService Thread Pool -- 24) WFLYUT0021: Registered web context: /batch-chunk
In the example above "batch-chunk" is the context name.
--
James R. Perkins