0
根據this手冊,它應該是小菜一碟來添加一個Web服務,但我努力使其可訪問。 下面是代碼:無法添加RESTEasy WS
@Name("examineeController")
@Path("/examinee")
public class ExamineeController {
@GET
@Produces("text/plain")
@Path("/setteststatus")
private String updateProjectTestStatus(/) {
return "OK";
}
...和接收404這樣的:
HTTP Status 404 - Could not find resource for relative : /examinee/setteststatus of full path: http://localhost:8080/am/seam/resource/rest/examinee/setteststatus