springboot聚合项目出现报错
Caused by: org.springframework.core.NestedIOException: ASM ClassReader failed to parse class file - probably due to a new Java class file version that isn't supported yet: file [C:\Users\ClayAwky\Desktop\VPN Website\VPN-management\vpn-admin\target\classes\com\clayawky\vpnadmin\VpnAdminApplication.class]; nested exception is java.lang.IllegalArgumentException: Unsupported class file major version 61
原因是创建项目用的spring第4版本,但是pom文件是用的
<parent>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-parent</artifactId>
<version>2.2.4.RELEASE</version>
</parent>