Skip to content

Non-parseable POM getting-started-java-master/pom.xml: Duplicated tag: 'build' #216

@monmouth

Description

@monmouth

Follow https://cloud.google.com/java/getting-started/hello-world, I try to build the hello-world example, but when I execute "mvn jetty:run-exploded" , I get the following error messages:

[INFO] Scanning for projects...
[ERROR] [ERROR] Some problems were encountered while processing the POMs:
[FATAL] Non-parseable POM /tmp/getting-started-java-master/pom.xml: Duplicated tag: 'build' (position: START_TAG seen ...\n\n ... @176:12) @ /tmp/getting-started-java-master/pom.xml, line 176, column 12
@
[ERROR] The build could not read 1 project -> [Help 1]
[ERROR]
[ERROR] The project com.example.flex.helloworld:helloworld-servlet:1.0-SNAPSHOT (/tmp/getting-started-java-master/helloworld-servlet/pom.xml) has 1 error
[ERROR] Non-parseable POM /tmp/getting-started-java-master/pom.xml: Duplicated tag: 'build' (position: START_TAG seen ...\n\n ... @176:12) @ /tmp/getting-started-java-master/pom.xml, line 176, column 12 -> [Help 2]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/ProjectBuildingException
[ERROR] [Help 2] http://cwiki.apache.org/confluence/display/MAVEN/ModelParseException

I have maven 3.3.9、openjdk 1.8, not sure what's going on here ...

Metadata

Metadata

Assignees

No one assigned

    Labels

    🚨This issue needs some love.triage meI really want to be triaged.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions