appengine-maven-plugin:1.3.1 run failed non zero exit

后端 未结 1 664
陌清茗
陌清茗 2020-12-22 08:23

I\'m trying to create hello-endpoint-framework using maven archetype
I used this command to build project.

mvn archetype:gene         


        
相关标签:
1条回答
  • 2020-12-22 09:11

    As indicated here:

    <properties>
        <maven.compiler.source>1.7</maven.compiler.source>
        <maven.compiler.target>1.7</maven.compiler.target>
        <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
    </properties>
    

    This is Java 7, so, if you want to run this with Java 8, you have to change both appearances of 1.7 to 1.8.

    The error with appengine-maven-plugin is that you are trying to use Java 7, while saying to use Java 8 in the command.

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