java: 无效的目标发行版: 17 解决办法: 参考:https://blog.csdn.net/m0_67391121/article/details/126020133 最后将pom.xml里设置17的改回8