You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
project_jdk_version:1.8
spring_tool_jdk_version:21
errorMeg:
15:31:16.457 [pool-5-thread-1] ERROR o.s.i.v.boot.app.SpringSymbolIndex - SpringIndexerJava threw exception
java.lang.IllegalStateException: Missing system library
at org.eclipse.jdt.core.dom.ASTParser.checkForSystemLibrary(ASTParser.java:311)
at org.eclipse.jdt.core.dom.ASTParser.getClasspath(ASTParser.java:272)
at org.eclipse.jdt.core.dom.ASTParser.createASTs(ASTParser.java:1107)
at org.springframework.ide.vscode.boot.java.utils.ASTParserCleanupEnabled.createASTs(ASTParserCleanupEnabled.java:91)
at org.springframework.ide.vscode.boot.java.utils.SpringIndexerJava.scanFiles(SpringIndexerJava.java:590)
at org.springframework.ide.vscode.boot.java.utils.SpringIndexerJava.scanFiles(SpringIndexerJava.java:519)
at org.springframework.ide.vscode.boot.java.utils.SpringIndexerJava.initializeProject(SpringIndexerJava.java:162)
at org.springframework.ide.vscode.boot.app.SpringSymbolIndex$InitializeProject.run(SpringSymbolIndex.java:897)
at java.base/java.util.concurrent.CompletableFuture$AsyncRun.run(CompletableFuture.java:1804)
at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1144)
at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:642)
at java.base/java.lang.Thread.run(Thread.java:1583)
error_branch:pre_release
normal_branch:1.59.0
the_consequences_of_errors:Unable to use API navigation
The text was updated successfully, but these errors were encountered:
This happens when using VSCode? Does the output for the spring boot tools reveal which exact JDK is being found for running the Spring Tools? And does this happen with every project or just specific ones?
Occurs for a project with compliance level Java 1.8 with JRE 1.8 on the classpath. By default the compliance level is set to Java 21. JDT parser checks the classpath for sys libs throws exception for high compliance level with Java 1.8 on the classpath.
Fix via ad1d5d3
project_jdk_version:1.8
spring_tool_jdk_version:21
errorMeg:
15:31:16.457 [pool-5-thread-1] ERROR o.s.i.v.boot.app.SpringSymbolIndex - SpringIndexerJava threw exception
java.lang.IllegalStateException: Missing system library
at org.eclipse.jdt.core.dom.ASTParser.checkForSystemLibrary(ASTParser.java:311)
at org.eclipse.jdt.core.dom.ASTParser.getClasspath(ASTParser.java:272)
at org.eclipse.jdt.core.dom.ASTParser.createASTs(ASTParser.java:1107)
at org.springframework.ide.vscode.boot.java.utils.ASTParserCleanupEnabled.createASTs(ASTParserCleanupEnabled.java:91)
at org.springframework.ide.vscode.boot.java.utils.SpringIndexerJava.scanFiles(SpringIndexerJava.java:590)
at org.springframework.ide.vscode.boot.java.utils.SpringIndexerJava.scanFiles(SpringIndexerJava.java:519)
at org.springframework.ide.vscode.boot.java.utils.SpringIndexerJava.initializeProject(SpringIndexerJava.java:162)
at org.springframework.ide.vscode.boot.app.SpringSymbolIndex$InitializeProject.run(SpringSymbolIndex.java:897)
at java.base/java.util.concurrent.CompletableFuture$AsyncRun.run(CompletableFuture.java:1804)
at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1144)
at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:642)
at java.base/java.lang.Thread.run(Thread.java:1583)
error_branch:pre_release
normal_branch:1.59.0
the_consequences_of_errors:Unable to use API navigation
The text was updated successfully, but these errors were encountered: