报错内容为
com/intellij/lang/properties/charset/Native2AsciiCharsetProvider has been compiled by a more recent version of the Java Runtime (class file version 61.0), this version of the Java Runtime only recognizes class file versions up to 55.0
搜索发现为idea bug
临时解决方案为:修改setting -> maven -> import jdk版本为17
原问题地址:https://youtrack.jetbrains.com/issue/IDEA-290474/Unable-to-import-Maven-project-java.lang.UnsupportedClassVersionError-com-intellij-lang-properties-charset