3
我为我的Play使用安全模块!应用程序,并在一点工作,但由于某种原因,我做了一些事情,使其停止工作。我收到以下错误:玩! - 期望方法控制器中的堆栈映射框架
执行异常的VerifyError发生:在方法期待堆栈图帧 controllers.Secure $ Security.authentify(Ljava /郎/字符串; Ljava /郎/字符串;)z 在偏移33
在{模块:安全} /app/controllers/Secure.java(约61行)
我看到下面的帖子,但是,即使我上午使用Java 7,它看起来像Play!现在可以和7一起工作。我正在使用Play 1.2.4。
VerifyError; Expecting a stack map frame in method controllers.Secure$Security.authentify
这里是我的安全控制器:
package controllers;
import models.*;
public class Security extends Secure.Security {
public static boolean authenticate(String username, String password) {
User user = User.find("byEmail", username).first();
return user != null && user.password.equals(password);
}
}