expected START_TAG or END_TAG not TEXT (position: TEXT seen …\ua0\ua0\n\t\t\t<g… @59:6) @ E:\springboot\jx2\pom.xml, line 59, column 6
maven项目打包的时候报下面的错误:
[ERROR] [ERROR] Some problems were encountered while processing the POMs:
[ERROR] Malformed POM E:\springboot\jx2\pom.xml: expected START_TAG or END_TAG not TEXT (position: TEXT seen …\ua0\ua0\n\t\t\t<g… @59:6) @ E:\springboot\jx2\pom.xml, line 59, column 6
[WARNING] ‘dependencies.dependency.systemPath’ for org.slf4j:slf4j-api:jar should not point at files within the project directory, ${project.basedir}/src/main/resources/lib/slf4j-api-1.7.28.jar will be unresolvable by dependent projects @ line 255, column 16
[WARNING] ‘dependencies.dependency.systemPath’ for com.nature.framework:nature-framework:jar should not point at files within the project directory, ${project.basedir}/src/main/resources/lib/nature-framework2.1.10.jar will be unresolvable by dependent projects @ line 264, column 19
[WARNING] ‘dependencies.dependency.systemPath’ for com.baidu.ueditor:ueditor:jar should not point at files within the project directory, ${project.basedir}/src/main/resources/lib/ueditor-1.1.2.jar will be unresolvable by dependent projects @ line 272, column 25
[WARNING] ‘dependencies.dependency.systemPath’ for com.commons:fileupload:jar should not point at files within the project directory, ${project.basedir}/src/main/resources/lib/commons-fileupload-1.3.1.jar will be unresolvable by dependent projects @ line 279, column 25
[WARNING] ‘dependencies.dependency.systemPath’ for json:json:jar should not point at files within the project directory, ${project.basedir}/src/main/resources/lib/json.jar will be unresolvable by dependent projects @ line 286, column 25
[WARNING] ‘dependencies.dependency.systemPath’ for rt:rt:jar should not point at files within the project directory, ${project.basedir}/src/main/resources/lib/rt.jar will be unresolvable by dependent projects @ line 293, column 25
[WARNING] ‘dependencies.dependency.systemPath’ for org.apache.http:httpcore:jar should not point at files within the project directory, ${project.basedir}/src/main/resources/lib/httpcore-4.3.jar will be unresolvable by dependent projects @ line 300, column 25
[WARNING] ‘dependencies.dependency.systemPath’ for httpclient:httpclient:jar should not point at files within the project directory, ${project.basedir}/src/main/resources/lib/httpclient-win-4.5.jar will be unresolvable by dependent projects @ line 307, column 25
[WARNING] ‘dependencies.dependency.systemPath’ for httpclient-cache:httpclient-cache:jar should not point at files within the project directory, ${project.basedir}/src/main/resources/lib/httpclient-cache-4.5.jar will be unresolvable by dependent projects @ line 314, column 25
[WARNING] ‘dependencies.dependency.systemPath’ for httpclient-4:httpclient:jar should not point at files within the project directory, ${project.basedir}/src/main/resources/lib/httpclient-4.3.1.jar will be unresolvable by dependent projects @ line 321, column 25
[WARNING] ‘build.plugins.plugin.(groupId:artifactId)’ must be unique but found duplicate declaration of plugin org.springframework.boot:spring-boot-maven-plugin @ line 337, column 12
@
[ERROR] The build could not read 1 project -> [Help 1]
[ERROR]
[ERROR] The project com.mnsn:jx2:0.0.1-SNAPSHOT (E:\springboot\jx2\pom.xml) has 1 error
[ERROR] Malformed POM E:\springboot\jx2\pom.xml: expected START_TAG or END_TAG not TEXT (position: TEXT seen …\ua0\ua0\n\t\t\t<g… @59:6) @ E:\springboot\jx2\pom.xml, line 59, column 6 -> [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
解决:此错误说明jar包有空格,删除重新换行即可