You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tomee.apache.org by "John Pratt (JIRA)" <ji...@apache.org> on 2015/07/11 15:11:04 UTC
[jira] [Created] (TOMEE-1612) JAX-RS RestService fails with 404 in
TomEE 1.7.2
John Pratt created TOMEE-1612:
---------------------------------
Summary: JAX-RS RestService fails with 404 in TomEE 1.7.2
Key: TOMEE-1612
URL: https://issues.apache.org/jira/browse/TOMEE-1612
Project: TomEE
Issue Type: Bug
Components: TomEE Core Server
Affects Versions: 1.7.2
Reporter: John Pratt
We have a RestService that works fine on TomEE 1.7.1 but it fails on TomEE 1.7.2 with a 494 error.
We fixed it to work on TomEE 1.7.2 by adding a Path to the class
as follows
@Path("")
public class RestService {
...
@Path("/Elements")
@GET
public Response doGetElements() {
....
}
}
However the path on the class does not work in Tome 1.7.1 we get the 404 error.
How do you create a restservice that works on both 1.7.1 and 1.7.2
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)