我試圖創建一個基於Zentask樣本一個簡單的登錄,但是我得到的smgts2 \程序\控制器運行時異常\ Application.java以線43Playframework:的InvocationTargetException
public static Result authenticate() {
Form<Login> loginForm = form(Login.class).bindFromRequest(); //Line 43
if(loginForm.hasErrors()) {
return badRequest(login.render(loginForm));
} else {
session("user_name", loginForm.get().user_name);
return redirect(
我上傳的文件在github上:https://github.com/gscruz/smgts2-start
http://stackoverflow.com/questions/19134105/playframework-runtimeexception-java-lang-reflect-invocationtargetexception 能否請您回答這個問題。 –