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
All projects (portal, portal-commons, portal-gateway, etc) are java-applications which uses Gradle (with wrapper) as a build tool. All projects have written and compiled in Java 11, uses Gradle 6.1, except portal-commons which uses Gradle 5.2.1. All projects except portal-commons and portal-liquibase are Spring Boot applications.
I have been working on this project quite a while in VSCode, everything worked, but couple days ago this stopped working. The problem is that VSCode recognized only portal and portal-commons projects. I have done "Clean Workspace" and "Clean Java Language Server Workspace", moreover I have re-cloned the project in another directory and opened it again. Nothing helps. I think this happed due to extension update or something else but couldn't figure it out.
Environment
Operating System: MacOS Big Sur 11.7.10
JDK version: 11
Visual Studio Code version: 1.88.1
Java extension version: 1.30.0
java.jdt.ls.java.home is set to Java 17, java.import.gradle.java.home is set to Java 11.
Error message from Java Language Server Logs:
[Error - 16:25:34] 29 апр. 2024 г., 16:25:34 An internal error occurred during: "Classpath Update Job".
Attempted to endRule: null, does not match most recent begin: R/. See log for trace information if rule tracing is enabled.
java.lang.IllegalArgumentException: Attempted to endRule: null, does not match most recent begin: R/. See log for trace information if rule tracing is enabled.
at org.eclipse.core.runtime.Assert.isLegal(Assert.java:68)
at org.eclipse.core.internal.jobs.ThreadJob.illegalPop(ThreadJob.java:126)
at org.eclipse.core.internal.jobs.ThreadJob.pop(ThreadJob.java:391)
at org.eclipse.core.internal.jobs.ImplicitJobs.end(ImplicitJobs.java:118)
at org.eclipse.core.internal.jobs.JobManager.endRule(JobManager.java:795)
at org.eclipse.core.internal.resources.WorkManager.checkOut(WorkManager.java:174)
at org.eclipse.core.internal.resources.Workspace.endOperation(Workspace.java:1598)
at org.eclipse.core.internal.resources.InternalWorkspaceJob.run(InternalWorkspaceJob.java:50)
at org.eclipse.core.internal.jobs.Worker.run(Worker.java:63)
VSCode doesn't load all nested Java-projects. If I open projects separately, for example, portal I got java.lang.ClassNotFoundException: portal.commons.support.LangKeyHandlerMethodArgumentResolver at runtime (class from portal-commons).
Expected Result
VSCode loads all nested Java-projects
The text was updated successfully, but these errors were encountered:
I'm seeing the same error in the logs, and sometimes VSCode never completes the "Configuring charset for project ..." step.
I also notice that some Java syntax highlighting is broken. Imports are all white (no colour), variables are white when used without member/field access, among other things.
I have a project with the following structure:
All projects (portal, portal-commons, portal-gateway, etc) are java-applications which uses Gradle (with wrapper) as a build tool. All projects have written and compiled in Java 11, uses Gradle 6.1, except portal-commons which uses Gradle 5.2.1. All projects except portal-commons and portal-liquibase are Spring Boot applications.
I have been working on this project quite a while in VSCode, everything worked, but couple days ago this stopped working. The problem is that VSCode recognized only portal and portal-commons projects. I have done "Clean Workspace" and "Clean Java Language Server Workspace", moreover I have re-cloned the project in another directory and opened it again. Nothing helps. I think this happed due to extension update or something else but couldn't figure it out.
Environment
java.jdt.ls.java.home
is set to Java 17,java.import.gradle.java.home
is set to Java 11.Error message from Java Language Server Logs:
My VSCode workspace params:
Current Result
VSCode doesn't load all nested Java-projects. If I open projects separately, for example,
portal
I gotjava.lang.ClassNotFoundException: portal.commons.support.LangKeyHandlerMethodArgumentResolver
at runtime (class from portal-commons).Expected Result
VSCode loads all nested Java-projects
The text was updated successfully, but these errors were encountered: