spring - 在 Eclipse 中创建弹簧工具套件时遇到问题
问题描述
如上所示,项目未正确创建。
我是 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 新版本的依赖。
解决方案
推荐阅读
- asp.net-mvc - 如果我在索引视图中放入表格的最后一列,为什么标签不起作用?
- javascript - 获取数据并显示在弹出组件上
- javascript - 在 HTML 上使用 JS 创建带有 href 的动态列表
- php - 虽然我的 wamp 服务器安装在 C: 驱动器中并且我正在我的 I: 驱动器中安装我的 laravel 项目这是成功部署我的项目的权利吗
- javascript - 如果特定单词出现在编辑器中,则更改它们的颜色
- 3d - 如何静态换行
- reactjs - react-scrollbars-custom:路由时固定位置无法正常工作
- python - 任何人都可以在python中的以下代码中检测到错误吗
- object - 为什么对象不是数据结构
- php - 如果为假,Ajax 不会停止