1
작업중인 게임 2.2.4 프로젝트를 마이그레이션하여 2.3.7를 재생 중입니다. 나는 사용자를 인증하는 Authenticate 주석을 가지고있다. 문제가 컴파일되지 않고 AuthenticationAction is not abstract and does not override abstract method call(context) in Action
을 반환합니다.Play 2.3에서의 작업으로 통화 기능을 찾을 수 없습니다.
다음 코드는 내가 실행 해요 것입니다 (이) whitout 내가 여기에 복잡한 인증 코드를 제거했다가 (오류가 여전히 존재) :
public class AuthenticateAction extends Action<Authenticate> {
@Overrirde
public F.Promise<SimpleResult> call(Http.Context ctx) throws Throwable {
return delegate.call(ctx);
}
}
@With(AuthenticatenAction.class)
@RetentionPolicy(Retention.RUNTIME)
public @interface Authenticate {
String value();
}