Failed to deploy to Google App Engine because --use_java7 flag has not been set

前端 未结 2 577
有刺的猬
有刺的猬 2020-12-21 09:39

------------ Deploying frontend ------------

Preparing to deploy: Created staging directory at: \'C:\\Users\\ADMINI~1\\AppData\\Local\\Temp\\ap

相关标签:
2条回答
  • 2020-12-21 10:11

    The relevant system level property is shown here: com.google.apphosting.runtime.use_java7

    It can be passed into appCfg.sh like so:

    appcfg.sh --use_java7 update
    
    0 讨论(0)
  • 2020-12-21 10:30

    As per the 1.7.3 blog post:

    In an upcoming release, we will be including some of the new Java 7 functionality as well as formal Java 7 support within the App Engine Java runtime.

    and...

    And while Java 7 support is not yet available within the App Engine Java runtime, developers interested in an early preview can sign up for our trusted tester program.

    You'll need to either be accepted into the TT program, or to wait for a future release where Java 7 works in production.

    0 讨论(0)
提交回复
热议问题