如何解决Spring Starter with Dependencies 'Spring Web' for Java 15 报告'Failed to execute'
我下载 来自
-
https://start.spring.io/
- 有依赖关系 Spring Web 和
- 选择 Java 15
运行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
版权声明:本文内容由互联网用户自发贡献,该文观点与技术仅代表作者本人。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌侵权/违法违规的内容, 请发送邮件至 dio@foxmail.com 举报,一经查实,本站将立刻删除。