在maven install时,报错
[INFO] Scanning for projects...
[ERROR] [ERROR] Some problems were encountered while processing the POMs:
[FATAL] Non-parseable POM C:\Users\80883846\.m2\repository\org\springframework\boot\spring-boot-starter-parent\1.5.7.RELEASE\spring-boot-starter-parent-1.5.7.RELEASE.pom: Expected root element 'project' but found 'html' (position: START_TAG seen <html>... @1:6) @ C:\Users\80883846\.m2\repository\org\springframework\boot\spring-boot-starter-parent\1.5.7.RELEASE\spring-boot-starter-parent-1.5.7.RELEASE.pom, line 1, column 6
@
[ERROR] The build could not read 1 project -> [Help 1]
[ERROR]
[ERROR] The project com.hkt.bpu.asd.noss:pcms-admin-portal:1.0.0 (G:\EclipseWorkspace\PCMS Admin Portal\trunk\pom.xml) has 1 error
[ERROR] Non-parseable POM C:\Users\80883846\.m2\repository\org\springframework\boot\spring-boot-starter-parent\1.5.7.RELEASE\spring-boot-starter-parent-1.5.7.RELEASE.pom: Expected root element 'project' but found 'html' (position: START_TAG seen <html>... @1:6) @ C:\Users\80883846\.m2\repository\org\springframework\boot\spring-boot-starter-parent\1.5.7.RELEASE\spring-boot-starter-parent-1.5.7.RELEASE.pom, line 1, 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
请问这个问题该怎么解决?
先 mvn compile
估计是项目哪里出错了,,或者是pom文件没配置对
看报错信息应该是pom文件的格式不正确。可以试着去网上down一个标准的pom文件来进行修改
pom 文件的root 是project 但是实际是 html 应该是写错了
检查一下pom文件,重新下载一份依赖