Hi Team, Need your help!
I have been using the jenkins-ci plugins for my custom plugin development. Until now I was able to compile the maven dependencies against java8. All of sudden the dependencies which are getting downloaded are compatible with java11 and not with java8. So facing the below compilation issues. [INFO] 1 error [INFO] ------------------------------------------------------------- [INFO] ------------------------------------------------------------------------ [INFO] BUILD FAILURE [INFO] ------------------------------------------------------------------------ [INFO] Total time: 8.767 s [INFO] Finished at: 2023-01-09T06:40:13-06:00 [INFO] ------------------------------------------------------------------------ [ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.10.1:compile (default-compile) on project STE: Compilation failure [ERROR] /D:/workspace/Build/src/main/java/com/oracle/siebel/jenkins/BuildStepCreator.java:[6,27] cannot access org.kohsuke.stapler.DataBoundSetter [ERROR] bad class file: C:\Users\kulsriva\.m2\repository\org\kohsuke\stapler\stapler\1756.vec9071748061\stapler-1756.vec9071748061.jar(org/kohsuke/stapler/DataBoundSetter.class) [ERROR] class file has wrong version 55.0, should be 52.0 [ERROR] Please remove or make sure it appears in the correct subdirectory of the classpath. [ERROR] Please help on how to use java8 compatible dependencies. -- Thanks & Regards Kul Bhushan Srivastava -- You received this message because you are subscribed to the Google Groups "Jenkins Developers" group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-dev+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-dev/CAKJAm15o0pkb0iKUxRr5EJW0OBoLTrB4X-0Q%2BZcDHCMi1cU3Gw%40mail.gmail.com.