java.lang.VerifyError: Expecting a stackmap frame

后端 未结 4 1479
情话喂你
情话喂你 2020-11-30 02:13

Is there a way to load a custom HttpServlet to GAE? I uploaded a project that included an HttpServlet in the .server package and added it to the web.xml...

&         


        
4条回答
  •  春和景丽
    2020-11-30 02:41

    I could solve this issue by setting Eclipse Mars / Project properties / Java compiler :

    • Compiler compliance level to 1.7 (as I don't have 1.6 anymore)
    • Generated .class files compatibility : 1.6
    • Source compatibility : 1.6

    as I didn't have 1.7 specific code :-)

    Server Ubuntu + Tomcat 7.0.52 on JVM 1.7.0_85-b01 Dev Eclipse Mars on JDK 7u55

提交回复
热议问题