微信公众号搜"智元新知"关注
微信扫一扫可直接关注哦!

Spring Starter with Dependencies 'Spring Web' for Java 15 报告'Failed to execute'

如何解决Spring Starter with Dependencies 'Spring Web' for Java 15 报告'Failed to execute'

我下载 来自

运行mvn install

并收到此错误

[错误] 无法执行目标 org.apache.maven.plugins:maven-compiler-plugin:3.8.1:compile (default-compile) on project java15dependnciesWeb: Fatal error compiling: error: invalid target release: 15 - > [帮助 1]`

我很惊讶。我认为它应该可以开箱即用。我使用的是 Ubuntu。

类似的错误

这听起来有点像这个错误

Failed to execute goal org.springframework.boot:spring-boot-maven-plugin:2.2.2.RELEASE:run

但是这个解决方案对我不起作用:

https://stackoverflow.com/a/62742688/2891692

标签名称:版本说明:要继承的父项目的版本。版本:4.0.0

版权声明:本文内容由互联网用户自发贡献,该文观点与技术仅代表作者本人。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌侵权/违法违规的内容, 请发送邮件至 dio@foxmail.com 举报,一经查实,本站将立刻删除。