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

CI failed on build jar file. #1644

Open
Eskibear opened this issue Feb 11, 2025 · 0 comments
Open

CI failed on build jar file. #1644

Eskibear opened this issue Feb 11, 2025 · 0 comments

Comments

@Eskibear
Copy link
Member

I think the root cause is: the latest jdtls requires Java 21 as minimum version.

Error:  org.eclipse.jdt.ls.core 1.45.0.202502100528 requires Execution Environment that matches (&(osgi.ee=JavaSE)(version=21)) but the current resolution context uses [a.jre.javase 17.0.0]
Error:  Cannot resolve target definition:
Error:    Software being installed: org.eclipse.jdt.ls.core 1.45.0.202502100528
Error:    Missing requirement: org.eclipse.jdt.ls.core 1.45.0.202502100528 requires 'osgi.ee; (&(osgi.ee=JavaSE)(version=21))' but it could not be found
Error:  
Error:  Failed to resolve target definition file:/home/runner/work/vscode-gradle/vscode-gradle/extension/jdtls.ext/com.microsoft.gradle.bs.importer.target/com.microsoft.gradle.bs.importer.tp.target: See log for details -> [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/MavenExecutionException
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant