メソッドが次のようなWebサービスを持っています
@GET
@Produces(MediaType.TEXT_PLAIN)
public String getString(@QueryParam("path") path) {
return "got the string " + path
}
これを実行すると、エラーメッセージが表示されます
SEVERE: Missing dependency for method public java.lang.String com.example.getString(java.lang.Object) at parameter at index 0
SEVERE: Method, public java.lang.String com.example.getString(java.lang.Object), annotated with GET of resource, class com.example.MyServiceClass, is not recognized as valid resource method.
このエラーメッセージはどういう意味ですか?パラメータなしでサービスを実行すると、機能します。