Spring boot pom.xml文件为error at line 1, Project build error: Non-parseable POM J:\.m2\repository\org\springframework\boot\spring-boot-starter-parent\2.1.8.RELEASE\spring-boot-starter-parent-2.1.8.RELEASE.pom: end tag name </head> must be the same as start tag <link> from line 39 (position: START_TAG seen ...nk rel="stylesheet" href="styles.9fb46a4e844d7fbc314e.css"></head>... @39:70)提供了
从spring initializer网站上签出项目。将相同的项目导入到eclipse工作区。我猜,这个问题是在Spring2.1.7版本之后引入的。我不确定maven有什么变化,或者有什么东西发生了变化。
理想情况下,项目应该在没有任何错误的情况下构建。
发布于 2019-09-07 13:56:44
似乎春天启动器的pom不知何故对你来说是损坏的。在J:.m2\repository\org\springframework\boot\spring-boot-starter-parent\2.1.8.RELEASE\spring-boot-starter-parent-2.1.8.RELEASE.pom:上检查该文件,看看该文件是否仍然有效。
要修复此问题,只需删除.m2/repository文件夹中的所有内容。Maven将重新下载依赖项
发布于 2019-09-07 14:04:41
你能跟上这个步骤吗?
https://stackoverflow.com/questions/57831072
复制相似问题