當我使用anotations像主題目前,它給我的錯誤Deadbolt 2 playframwork 2.5與註釋有關的問題?
[ConfigurationException的:吉斯配置錯誤: 1)be.objectify.deadbolt.java.cache.HandlerCache沒有實現是必然。 而在be.objectify.deadbolt.java.actions.SubjectNotPresentAction定位be.objectify.deadbolt.java.cache.HandlerCache 爲參數0。(SubjectNotPresentAction.java:45) 而定位be.objectify.deadbolt.java.actions .SubjectNotPresentAction 2)未綁定be.objectify.deadbolt.java.cache.PatternCache。 而定位be.objectify.deadbolt.java.cache.PatternCache 在be.objectify.deadbolt.java.ConstraintLogic參數2。(ConstraintLogic.java:43) 而定位be.objectify.deadbolt.java.ConstraintLogic 爲參數3在be.objectify.deadbolt.java.actions.SubjectNotPresentAction。(SubjectNotPresentAction.java:45) while being be.objectify.deadbolt.java.actions.SubjectNotPresentAction 3)沒有實現be.objectify.deadbolt.java。緩存。主題緩存被綁定。 而定位be.objectify.deadbolt.java.cache.SubjectCache 在be.objectify.deadbolt.java.ConstraintLogic參數1。(ConstraintLogic.java:43) 而定位be.objectify.deadbolt.java.ConstraintLogic 爲參數3在be.objectify.deadbolt.java.actions.SubjectNotPresentAction。(SubjectNotPresentAction.java:45) 而定位be.objectify.deadbolt.java.actions.SubjectNotPresentAction 3個錯誤]
我有我已經實現主題,角色和權限,還實現了HandlerCache和DeadboltHandler以及DeadboltHook。 萬能工作,但是當我使用註釋它給出了錯誤。