首页 > 解决方案 > 在 Eclipse 中创建弹簧工具套件时遇到问题

问题描述

工作区 SS

如上所示,项目未正确创建。

我是 Spring Boot 和 Restful 的新手。我正在尝试创建 Spring Starter Project,但我不确定该项目是否创建正确。

我推荐了许多网站来创建一个简单的 spring-boot 和 restful 项目,但在创建它时遇到了麻烦。

另外,我在 pom.xml 中遇到错误

Error: Description  Resource    Path    Location    Type
Project build error: Non-parseable POM /<user>/.m2/repository/org/springframework/boot/spring-boot-dependencies/2.1.3.RELEASE/spring-boot-dependencies-2.1.3.RELEASE.pom: start tag not allowed in epilog but got v (position: END_TAG seen ...</build>\n</project>\n <v... @3189:4)    pom.xml /SpringBootCrudRestful  line 1  Maven pom Loading Problem

这是下面的图片。如果我的方向正确或有任何问题,请告诉我。

提前致谢。

根据评论附加:pom.xml

更新 1: 经过一番挖掘,我发现 spring-boot-cli 版本是 2.0.4.RELEASE(Eclipse-> Preference->Spring tab-> Boot->CLI) 但是在创建它试图创建的项目时2.1.3.发布。

更新 2: 我对 pom.xml 进行了更改,项目创建成功。我在 pom.xml 中添加了 spring boot 新版本的依赖。

标签: springeclipse

解决方案


推荐阅读