VerifyError; Expecting a stack map frame in method controllers.Secure$Security.authentify

前端 未结 5 2005
佛祖请我去吃肉
佛祖请我去吃肉 2020-12-29 06:37

I followed the tutorial introducing the Play framework, but it gives me an error:

Execution exception VerifyError occured : Expecting a stack map f

5条回答
  •  北海茫月
    2020-12-29 07:09

    The message group for Play has discussed that there are some issues with JDK1.7, and that Play does not officially support this yet. If possible, please try with JDK 6, and see if you still get this error.

    If you are confined to JDK7, you can use the option

    java.source=1.6
    

    in your application.conf file.

    Update 18th August 2011: Nicolas Leroux recently sent out a message on Twitter to say that Java 7 support had been added to Play in the master branch. It probably won't make the 1.2.3 release, but will make the release after that.

提交回复
热议问题