GuiSong01 commented on PR #780: URL: https://github.com/apache/skywalking-java/pull/780#issuecomment-3538760060
> For your new case > > > Error: COMPILATION ERROR : > > Error: /home/runner/work/skywalking-java/skywalking-java/test/plugin/scenarios/spring-kafka-3.3.x-scenario/src/main/java/test/apache/skywalking/apm/testcase/spring/kafka/Application.java:[21,32] cannot access org.springframework.boot.SpringApplication > > bad class file: /home/runner/.m2/repository/org/springframework/boot/spring-boot/3.3.10/spring-boot-3.3.10.jar(org/springframework/boot/SpringApplication.class) > > class file has wrong version 61.0, should be 52.0 > > Please remove or make sure it appears in the correct subdirectory of the classpath. > > Error: Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.8.1:compile (default-compile) on project spring-kafka-3.3.x-scenario: Compilation failure > > Error: /home/runner/work/skywalking-java/skywalking-java/test/plugin/scenarios/spring-kafka-3.3.x-scenario/src/main/java/test/apache/skywalking/apm/testcase/spring/kafka/Application.java:[21,32] cannot access org.springframework.boot.SpringApplication > > Error: bad class file: /home/runner/.m2/repository/org/springframework/boot/spring-boot/3.3.10/spring-boot-3.3.10.jar(org/springframework/boot/SpringApplication.class) > > Error: class file has wrong version 61.0, should be 52.0 > > Error: Please remove or make sure it appears in the correct subdirectory of the classpath. > > Error: -> [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. > > This compiling error should indicate JVM version incorrect. For newer JDK is requried, you should put this case into another other GHA control file. Yes, I've identified this error. Spring Boot 3.x requires JDK 17, and I'll fix this issue. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
