【问题标题】:getting error in the first line of the pom.xml file在 pom.xml 文件的第一行出现错误
【发布时间】:2021-11-15 02:27:34
【问题描述】:

每当我创建一个 spring starter 项目时,我都会遇到这样的错误。谁能说我用java 11版有什么问题。

enter image description here

【问题讨论】:

  • 查看图片中折叠的实际错误会很有用
  • Problems 视图中有错误的详细描述 - 展开“Errors (1 item)”部分查看 - 它说什么?

标签: java spring eclipse


【解决方案1】:

您应该在 pom.xml 中更改您的 Java 版本,因为您当前使用的是 1.8 版本而不是 11。

【讨论】:

  • 你能给我们更多关于错误的细节吗?
猜你喜欢
  • 1970-01-01
  • 2016-02-21
  • 2021-06-09
  • 2019-10-02
  • 1970-01-01
  • 2022-06-12
  • 2019-10-20
  • 2018-09-22
  • 1970-01-01
相关资源
最近更新 更多