使用Maven compile编译报错:无效的标记: --release

使用Maven compile编译报错:无效的标记: --release

错误原因:

JDK版本与springBoot不兼容

解决:

将springBoot改为低版本,后面需要加上RELEASE