-
Notifications
You must be signed in to change notification settings - Fork 340
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
Wrong Java runtime used JRE 11 vs. JRE 17 #1406
Comments
Could you pls share a sample project to reproduce the issue? |
Must have something to do with multi module projects, since the parent one does not seem to recognize the java version as shown in the screenshot
I assume it is not necessary to include the Another workaround is exactly this, adding |
All projects i am working with are now affected and can no longer be debugged with this extension |
I tried with https://github.com/spring-guides/gs-multi-module/tree/main/initial, where I moved |
The Java language server reads the language level from your pom.xml. It appears that there is an issue when importing your Maven projects, but it is difficult to determine the root cause from just a few screenshots. |
I can provide you with the pom.xml contents Frontend module: (mostly javascript) |
Wrong Java runtime used
Environment
Steps To Reproduce
No special launch.json
Java Configure Runtime for Projects outputs wrong java version
Should be 17 (works on other enviroments - E.g. eclipse)
Current Result
Expected Result
Debugger should simply run
Additional Informations
Workaround: mvn spring-boot:run does work
The text was updated successfully, but these errors were encountered: