Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bump the minimum compilation JDK version to JDK17, while keeping the minimum runtime JDK version at JDK8 #2420

Closed
linghengqian opened this issue Aug 10, 2024 · 1 comment · Fixed by #2427

Comments

@linghengqian
Copy link
Member

Feature Request

For English only, other languages will not accept.

Please pay attention on issues you submitted, because we maybe need more details.
If no response anymore and we cannot make decision by current information, we will close it.

Please answer these questions before submitting your issue. Thanks!

Is your feature request related to a problem?

Describe the feature you would like.

Error:  Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.11.0:testCompile (default-testCompile) on project elasticjob-test-native: Compilation failure
Error:  /home/runner/work/shardingsphere-elasticjob/shardingsphere-elasticjob/test/native/src/test/java/org/apache/shardingsphere/elasticjob/test/natived/commons/repository/SpringBootFooRepository.java:[21,38] cannot access org.springframework.stereotype.Repository
Error:    bad class file: /home/runner/.m2/repository/org/springframework/spring-context/6.1.11/spring-context-6.1.11.jar(org/springframework/stereotype/Repository.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.
Error:  
Error:  For more information about the errors and possible solutions, please read the following articles:
Error:  [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureException
Error:  
Error:  After correcting the problems, you can resume the build with the command
Error:    mvn <args> -rf :elasticjob-test-native
Error: Process completed with exit code 1.
@linghengqian
Copy link
Member Author

  • I am working on the current issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment