0

このマニュアルによると、Web サービスを追加するのは簡単なはずですが、アクセス可能にするのに苦労しています。コードは次のとおりです。

@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

4

1 に答える 1

1

私の叙事詩の最も叙事詩は失敗します。private String updateProjectTestStatus(/) private!!! それはする必要がありますpublic

于 2013-04-25T08:18:45.450 に答える