我創建了一個測試應用程序並創建了hello rest easy class。然後我試着用play run test
運行,並得到這個異常:播放示例其餘應用程序問題
21:46:18,246 INFO ~ RESTEasy plugin: Found resource class: resources.HelloResource
21:46:18,482 WARN ~ NoClassDefFoundError: Unable to load builtin provider: org.jboss.resteasy.plugins.providers.jackson.ResteasyJacksonProvider
21:46:18,564 INFO ~ RESTEasy plugin: RESTEasy started
21:46:18,570 INFO ~ Application 'test' is now started !
21:46:30,083 ERROR ~
@66i4nnpj8
rest.hello action not found
Action not found
Action rest.hello could not be found. Error raised is Controller controllers.rest not found
play.exceptions.ActionNotFoundException: Action rest.hello not found
at play.mvc.ActionInvoker.getActionMethod(ActionInvoker.java:436)
at play.mvc.ActionInvoker.invoke(ActionInvoker.java:76)
at Invocation.HTTP Request(Play!)
Caused by: java.lang.Exception: Controller controllers.rest not found
... 3 more
有誰知道問題是什麼?
嗨,你可以附上你創建的類的來源?你存儲類的路徑是什麼? – 2011-06-07 11:24:47