解决 Maven 编译错误:Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.13.0问题

(即Spring Boot 3.3.5 与 Maven 版本不兼容的问题)

在开发基于 Spring Boot 的项目时,我们经常会遇到各种各样的构建和编译问题。其中一个常见的问题是当使用特定版本的 spring-boot-starter-parent 时,Maven 报告插件不兼容的错误。本文将详细介绍这个问题的原因以及如何解决它。

问题描述

在使用 spring-boot-starter-parent 版本 3.3.5 构建项目时,遇到了以下编译错误:

[ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.13.0:compile (default-compile) on project qiniuyun-oss-spring-boot-autoconfigure: The plugin org.apache.maven.plugins:maven-compiler-plugin:3.13.0 requires Maven version 3.6.3 -> [Help 1]
[ERROR] 
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR] 
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/PluginIncompatibleException

然而,当我们把 spring-b

评论 4
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值