question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Java language server seems to fail to start due to not finding the parent project specified in pom.xml

See original GitHub issue

My work has this really funky setup for projects where there is this overarching Maven project called microservice-parent. Now the git repo contains a maven submodule of that project called dp-ms-demand-automation-parent, and that contains a maven submodule called dp-ms-demand-automation-server.

Folder structure looks like this

dp-ms-demand-automation
    .git/
    pom.xml (dp-ms-demand-automation-parent)
    server/
        pom.xml (dp-ms-demand-automation-server)
        src/

As you can see there is a ghost Maven project for microservice-parent.

The following error is shown in both pom files.

[Java] Project build error: Non-resolvable parent POM for com.tenx.ms:dp-ms-demand-automation-parent:1.0.0-SNAPSHOT: Failure to find com.tenx.ms:microservice-parent:pom:1.5.14-1 in https://repo.maven.apache.org/maven2 was cached in the local repository, resolution will not be reattempted until the update interval of central has elapsed or updates are forced and 'parent.relativePath' points at no local POM

Is it possible to have the language server still start even though this error exists?

Environment
  • Operating System: macOS 14
  • JDK version: 8.172
  • Visual Studio Code version: 1.28.2
  • Java extension version: 0.33
Steps To Reproduce
  1. Create project structure similar to the one above
  2. Open vscode

Log

!SESSION 2018-11-01 09:40:36.045 -----------------------------------------------
eclipse.buildId=unknown
java.version=1.8.0_181
java.vendor=Azul Systems, Inc.
BootLoader constants: OS=macosx, ARCH=x86_64, WS=cocoa, NL=en_US
Command-line arguments:  -data /Users/tristan.partin/Library/Application Support/Code/User/workspaceStorage/2258a3bf734a6933686c851c9d962710/redhat.java/jdt_ws

!ENTRY org.eclipse.jdt.ls.core 1 0 2018-11-01 09:40:37.853
!MESSAGE class org.eclipse.jdt.ls.core.internal.JavaLanguageServerPlugin is started

!ENTRY org.eclipse.jdt.ls.core 1 0 2018-11-01 09:40:38.011
!MESSAGE Main thread is waiting

!ENTRY org.eclipse.jdt.ls.core 1 0 2018-11-01 09:40:38.033
!MESSAGE >> initialize

!ENTRY org.eclipse.jdt.ls.core 1 0 2018-11-01 09:40:38.034
!MESSAGE Initializing Java Language Server 0.27.0.201810230509

!ENTRY org.eclipse.jdt.ls.core 1 0 2018-11-01 09:40:38.063
!MESSAGE Installed reference:file:/Users/tristan.partin/.vscode/extensions/vscjava.vscode-java-debug-0.15.0/server/com.microsoft.java.debug.plugin-0.15.0.jar

!ENTRY org.eclipse.core.net 1 0 2018-11-01 09:40:38.080
!MESSAGE System property http.nonProxyHosts has been set to local|*.local|169.254/16|*.169.254/16 by an external source. This value will be overwritten using the values from the preferences

!ENTRY org.eclipse.jdt.ls.core 1 0 2018-11-01 09:40:38.122
!MESSAGE Creating the default Java project

!ENTRY org.eclipse.jdt.ls.core 1 0 2018-11-01 09:40:38.124
!MESSAGE Started reference:file:/Users/tristan.partin/.vscode/extensions/vscjava.vscode-java-debug-0.15.0/server/com.microsoft.java.debug.plugin-0.15.0.jar

!ENTRY org.eclipse.jdt.ls.core 1 0 2018-11-01 09:40:38.376
!MESSAGE >> initialized

!ENTRY org.eclipse.jdt.ls.core 1 0 2018-11-01 09:40:39.002
!MESSAGE Finished creating the default Java project

!ENTRY org.eclipse.jdt.ls.core 1 0 2018-11-01 09:40:39.151
!MESSAGE Importing Maven project(s)

!ENTRY org.eclipse.jdt.ls.core 1 0 2018-11-01 09:40:39.900
!MESSAGE Workspace initialized in 1855ms

!ENTRY org.eclipse.jdt.ls.core 1 0 2018-11-01 09:40:39.966
!MESSAGE >> workspace/didChangeConfiguration

!ENTRY org.eclipse.jdt.ls.core 1 0 2018-11-01 09:40:39.967
!MESSAGE >> registerFeature 'workspace/didChangeWatchedFiles'

!ENTRY org.eclipse.jdt.ls.core 1 0 2018-11-01 09:40:39.979
!MESSAGE >>New configuration: {java={home=null, jdt={ls={vmargs=-noverify -Xmx1G -XX:+UseG1GC -XX:+UseStringDeduplication}}, errors={incompleteClasspath={severity=warning}}, configuration={updateBuildConfiguration=automatic, maven={userSettings=null}}, trace={server=off}, import={gradle={enabled=true}, maven={enabled=true}, exclusions=[**/node_modules/**, **/.metadata/**, **/archetype-resources/**, **/META-INF/maven/**]}, referencesCodeLens={enabled=true}, signatureHelp={enabled=false}, implementationsCodeLens={enabled=true}, format={enabled=false, settings={url=null, profile=null}, comments={enabled=true}, onType={enabled=false}}, saveActions={organizeImports=false}, contentProvider={preferred=null}, autobuild={enabled=false}, completion={enabled=true, overwrite=false, guessMethodArguments=false, favoriteStaticMembers=[org.junit.Assert.*, org.junit.Assume.*, org.junit.jupiter.api.Assertions.*, org.junit.jupiter.api.Assumptions.*, org.junit.jupiter.api.DynamicContainer.*, org.junit.jupiter.api.DynamicTest.*, org.mockito.Mockito.*, org.mockito.ArgumentMatchers.*, org.mockito.Answers.*], importOrder=[java, javax, com, org]}, progressReports={enabled=true}, debug={logLevel=warn, settings={showHex=false, showStaticVariables=true, showQualifiedNames=false, maxStringLength=0.0, enableHotCodeReplace=true, enableRunDebugCodeLens=true}}}}

!ENTRY org.eclipse.jdt.ls.core 1 0 2018-11-01 09:40:39.981
!MESSAGE >> workspace/didChangeWatchedFiles 

!ENTRY org.eclipse.jdt.ls.core 1 0 2018-11-01 09:40:53.005
!MESSAGE >> shutdown

!ENTRY org.eclipse.jdt.ls.core 1 0 2018-11-01 09:40:53.030
!MESSAGE >> exit

!ENTRY org.eclipse.jdt.ls.core 1 0 2018-11-01 09:40:53.031
!MESSAGE Shutdown received... waking up main thread

!ENTRY org.eclipse.jdt.ls.core 1 0 2018-11-01 09:40:53.035
!MESSAGE class org.eclipse.jdt.ls.core.internal.JavaLanguageServerPlugin is stopping:
!SESSION 2018-11-01 09:40:57.683 -----------------------------------------------
eclipse.buildId=unknown
java.version=1.8.0_181
java.vendor=Azul Systems, Inc.
BootLoader constants: OS=macosx, ARCH=x86_64, WS=cocoa, NL=en_US
Command-line arguments:  -data /Users/tristan.partin/Library/Application Support/Code/User/workspaceStorage/2258a3bf734a6933686c851c9d962710/redhat.java/jdt_ws

!ENTRY org.eclipse.jdt.ls.core 1 0 2018-11-01 09:40:59.196
!MESSAGE class org.eclipse.jdt.ls.core.internal.JavaLanguageServerPlugin is started

!ENTRY org.eclipse.jdt.ls.core 1 0 2018-11-01 09:40:59.308
!MESSAGE Main thread is waiting

!ENTRY org.eclipse.jdt.ls.core 1 0 2018-11-01 09:40:59.330
!MESSAGE >> initialize

!ENTRY org.eclipse.jdt.ls.core 1 0 2018-11-01 09:40:59.331
!MESSAGE Initializing Java Language Server 0.27.0.201810230509

!ENTRY org.eclipse.jdt.ls.core 1 0 2018-11-01 09:40:59.352
!MESSAGE >> initialized

!ENTRY org.eclipse.core.net 1 0 2018-11-01 09:40:59.394
!MESSAGE System property http.nonProxyHosts has been set to local|*.local|169.254/16|*.169.254/16 by an external source. This value will be overwritten using the values from the preferences

!ENTRY org.eclipse.jdt.ls.core 1 0 2018-11-01 09:40:59.417
!MESSAGE Creating the default Java project

!ENTRY org.eclipse.jdt.ls.core 1 0 2018-11-01 09:40:59.436
!MESSAGE Finished creating the default Java project

!ENTRY org.eclipse.jdt.ls.core 1 0 2018-11-01 09:40:59.660
!MESSAGE Importing Maven project(s)

!ENTRY org.eclipse.jdt.ls.core 1 0 2018-11-01 09:40:59.710
!MESSAGE Workspace initialized in 371ms

!ENTRY org.eclipse.jdt.ls.core 1 0 2018-11-01 09:40:59.750
!MESSAGE >> workspace/didChangeConfiguration

!ENTRY org.eclipse.jdt.ls.core 1 0 2018-11-01 09:40:59.751
!MESSAGE >> registerFeature 'workspace/didChangeWatchedFiles'

!ENTRY org.eclipse.jdt.ls.core 1 0 2018-11-01 09:40:59.774
!MESSAGE >>New configuration: {java={home=null, jdt={ls={vmargs=-noverify -Xmx1G -XX:+UseG1GC -XX:+UseStringDeduplication}}, errors={incompleteClasspath={severity=warning}}, configuration={updateBuildConfiguration=automatic, maven={userSettings=null}}, trace={server=off}, import={gradle={enabled=true}, maven={enabled=true}, exclusions=[**/node_modules/**, **/.metadata/**, **/archetype-resources/**, **/META-INF/maven/**]}, referencesCodeLens={enabled=true}, signatureHelp={enabled=false}, implementationsCodeLens={enabled=true}, format={enabled=false, settings={url=null, profile=null}, comments={enabled=true}, onType={enabled=false}}, saveActions={organizeImports=false}, contentProvider={preferred=null}, autobuild={enabled=false}, completion={enabled=true, overwrite=false, guessMethodArguments=false, favoriteStaticMembers=[org.junit.Assert.*, org.junit.Assume.*, org.junit.jupiter.api.Assertions.*, org.junit.jupiter.api.Assumptions.*, org.junit.jupiter.api.DynamicContainer.*, org.junit.jupiter.api.DynamicTest.*, org.mockito.Mockito.*, org.mockito.ArgumentMatchers.*, org.mockito.Answers.*], importOrder=[java, javax, com, org]}, progressReports={enabled=true}, debug={logLevel=warn, settings={showHex=false, showStaticVariables=true, showQualifiedNames=false, maxStringLength=0.0, enableHotCodeReplace=true, enableRunDebugCodeLens=true}}}}

!ENTRY org.eclipse.jdt.ls.core 1 0 2018-11-01 09:41:08.696
!MESSAGE >> shutdown

!ENTRY org.eclipse.jdt.ls.core 1 0 2018-11-01 09:41:08.719
!MESSAGE >> exit

!ENTRY org.eclipse.jdt.ls.core 1 0 2018-11-01 09:41:08.719
!MESSAGE Shutdown received... waking up main thread

!ENTRY org.eclipse.jdt.ls.core 1 0 2018-11-01 09:41:08.724
!MESSAGE class org.eclipse.jdt.ls.core.internal.JavaLanguageServerPlugin is stopping:
!SESSION 2018-11-01 09:41:13.408 -----------------------------------------------
eclipse.buildId=unknown
java.version=1.8.0_181
java.vendor=Azul Systems, Inc.
BootLoader constants: OS=macosx, ARCH=x86_64, WS=cocoa, NL=en_US
Command-line arguments:  -data /Users/tristan.partin/Library/Application Support/Code/User/workspaceStorage/2258a3bf734a6933686c851c9d962710/redhat.java/jdt_ws

!ENTRY org.eclipse.jdt.ls.core 1 0 2018-11-01 09:41:14.948
!MESSAGE class org.eclipse.jdt.ls.core.internal.JavaLanguageServerPlugin is started

!ENTRY org.eclipse.jdt.ls.core 1 0 2018-11-01 09:41:15.070
!MESSAGE Main thread is waiting

!ENTRY org.eclipse.jdt.ls.core 1 0 2018-11-01 09:41:15.093
!MESSAGE >> initialize

!ENTRY org.eclipse.jdt.ls.core 1 0 2018-11-01 09:41:15.094
!MESSAGE Initializing Java Language Server 0.27.0.201810230509

!ENTRY org.eclipse.jdt.ls.core 1 0 2018-11-01 09:41:15.105
!MESSAGE Installed reference:file:/Users/tristan.partin/.vscode/extensions/pivotal.vscode-spring-boot-1.1.0/jars/jdt-ls-commons.jar

!ENTRY org.eclipse.jdt.ls.core 1 0 2018-11-01 09:41:15.107
!MESSAGE Installed reference:file:/Users/tristan.partin/.vscode/extensions/pivotal.vscode-spring-boot-1.1.0/jars/jdt-ls-extension.jar

!ENTRY org.eclipse.core.net 1 0 2018-11-01 09:41:15.177
!MESSAGE System property http.nonProxyHosts has been set to local|*.local|169.254/16|*.169.254/16 by an external source. This value will be overwritten using the values from the preferences

!ENTRY org.eclipse.jdt.ls.core 1 0 2018-11-01 09:41:15.178
!MESSAGE Started reference:file:/Users/tristan.partin/.vscode/extensions/pivotal.vscode-spring-boot-1.1.0/jars/jdt-ls-commons.jar

!ENTRY org.eclipse.jdt.ls.core 1 0 2018-11-01 09:41:15.178
!MESSAGE Started reference:file:/Users/tristan.partin/.vscode/extensions/pivotal.vscode-spring-boot-1.1.0/jars/jdt-ls-extension.jar

!ENTRY org.eclipse.jdt.ls.core 1 0 2018-11-01 09:41:15.192
!MESSAGE >> initialized

!ENTRY org.eclipse.jdt.ls.core 1 0 2018-11-01 09:41:15.203
!MESSAGE Creating the default Java project

!ENTRY org.eclipse.jdt.ls.core 1 0 2018-11-01 09:41:15.216
!MESSAGE Finished creating the default Java project

!ENTRY org.eclipse.jdt.ls.core 1 0 2018-11-01 09:41:15.478
!MESSAGE Importing Maven project(s)

!ENTRY org.eclipse.jdt.ls.core 1 0 2018-11-01 09:41:15.526
!MESSAGE Workspace initialized in 423ms

!ENTRY org.eclipse.jdt.ls.core 1 0 2018-11-01 09:41:15.538
!MESSAGE >> workspace/didChangeConfiguration

!ENTRY org.eclipse.jdt.ls.core 1 0 2018-11-01 09:41:15.539
!MESSAGE >> registerFeature 'workspace/didChangeWatchedFiles'

!ENTRY org.eclipse.jdt.ls.core 1 0 2018-11-01 09:41:15.558
!MESSAGE >>New configuration: {java={home=null, jdt={ls={vmargs=-noverify -Xmx1G -XX:+UseG1GC -XX:+UseStringDeduplication}}, errors={incompleteClasspath={severity=warning}}, configuration={updateBuildConfiguration=automatic, maven={userSettings=null}}, trace={server=off}, import={gradle={enabled=true}, maven={enabled=true}, exclusions=[**/node_modules/**, **/.metadata/**, **/archetype-resources/**, **/META-INF/maven/**]}, referencesCodeLens={enabled=true}, signatureHelp={enabled=false}, implementationsCodeLens={enabled=true}, format={enabled=false, settings={url=null, profile=null}, comments={enabled=true}, onType={enabled=false}}, saveActions={organizeImports=false}, contentProvider={preferred=null}, autobuild={enabled=false}, completion={enabled=true, overwrite=false, guessMethodArguments=false, favoriteStaticMembers=[org.junit.Assert.*, org.junit.Assume.*, org.junit.jupiter.api.Assertions.*, org.junit.jupiter.api.Assumptions.*, org.junit.jupiter.api.DynamicContainer.*, org.junit.jupiter.api.DynamicTest.*, org.mockito.Mockito.*, org.mockito.ArgumentMatchers.*, org.mockito.Answers.*], importOrder=[java, javax, com, org]}, progressReports={enabled=true}, debug={logLevel=warn, settings={showHex=false, showStaticVariables=true, showQualifiedNames=false, maxStringLength=0.0, enableHotCodeReplace=true, enableRunDebugCodeLens=true}}, test={report={position=sideView}}}}

!ENTRY org.eclipse.jdt.ls.core 1 0 2018-11-01 09:44:54.432
!MESSAGE >> workspace/didChangeWatchedFiles 

!ENTRY org.eclipse.jdt.ls.core 1 0 2018-11-01 09:44:54.470
!MESSAGE Starting Maven update for dp-ms-demand-automation-server

!ENTRY org.eclipse.core.jobs 4 2 2018-11-01 09:44:54.474
!MESSAGE An internal error occurred during: "Update project dp-ms-demand-automation-server".
!STACK 0
java.lang.NullPointerException
	at org.eclipse.jdt.ls.core.internal.managers.MavenBuildSupport.collectProjects(MavenBuildSupport.java:88)
	at org.eclipse.jdt.ls.core.internal.managers.MavenBuildSupport.update(MavenBuildSupport.java:71)
	at org.eclipse.jdt.ls.core.internal.managers.ProjectsManager$4.runInWorkspace(ProjectsManager.java:416)
	at org.eclipse.core.internal.resources.InternalWorkspaceJob.run(InternalWorkspaceJob.java:42)
	at org.eclipse.core.internal.jobs.Worker.run(Worker.java:63)

!ENTRY org.eclipse.jdt.ls.core 1 0 2018-11-01 09:54:30.072
!MESSAGE >> workspace/didChangeWatchedFiles 

!ENTRY org.eclipse.jdt.ls.core 1 0 2018-11-01 09:54:30.094
!MESSAGE Starting Maven update for dp-ms-demand-automation-parent

!ENTRY org.eclipse.core.jobs 4 2 2018-11-01 09:54:30.096
!MESSAGE An internal error occurred during: "Update project dp-ms-demand-automation-parent".
!STACK 0
java.lang.NullPointerException
	at org.eclipse.jdt.ls.core.internal.managers.MavenBuildSupport.collectProjects(MavenBuildSupport.java:88)
	at org.eclipse.jdt.ls.core.internal.managers.MavenBuildSupport.update(MavenBuildSupport.java:71)
	at org.eclipse.jdt.ls.core.internal.managers.ProjectsManager$4.runInWorkspace(ProjectsManager.java:416)
	at org.eclipse.core.internal.resources.InternalWorkspaceJob.run(InternalWorkspaceJob.java:42)
	at org.eclipse.core.internal.jobs.Worker.run(Worker.java:63)

!ENTRY org.eclipse.jdt.ls.core 1 0 2018-11-01 09:54:39.669
!MESSAGE >> workspace/didChangeWatchedFiles 

!ENTRY org.eclipse.jdt.ls.core 1 0 2018-11-01 09:54:39.686
!MESSAGE Starting Maven update for dp-ms-demand-automation-parent

!ENTRY org.eclipse.core.jobs 4 2 2018-11-01 09:54:39.687
!MESSAGE An internal error occurred during: "Update project dp-ms-demand-automation-parent".
!STACK 0
java.lang.NullPointerException
	at org.eclipse.jdt.ls.core.internal.managers.MavenBuildSupport.collectProjects(MavenBuildSupport.java:88)
	at org.eclipse.jdt.ls.core.internal.managers.MavenBuildSupport.update(MavenBuildSupport.java:71)
	at org.eclipse.jdt.ls.core.internal.managers.ProjectsManager$4.runInWorkspace(ProjectsManager.java:416)
	at org.eclipse.core.internal.resources.InternalWorkspaceJob.run(InternalWorkspaceJob.java:42)
	at org.eclipse.core.internal.jobs.Worker.run(Worker.java:63)

!ENTRY org.eclipse.jdt.ls.core 1 0 2018-11-01 09:55:55.166
!MESSAGE >> workspace/didChangeConfiguration

!ENTRY org.eclipse.jdt.ls.core 1 0 2018-11-01 09:55:55.167
!MESSAGE >> registerFeature 'workspace/didChangeWatchedFiles'

!ENTRY org.eclipse.jdt.ls.core 1 0 2018-11-01 09:55:55.175
!MESSAGE >>New configuration: {java={home=null, jdt={ls={vmargs=-noverify -Xmx1G -XX:+UseG1GC -XX:+UseStringDeduplication}}, errors={incompleteClasspath={severity=warning}}, configuration={updateBuildConfiguration=automatic, maven={userSettings=null}}, trace={server=verbose}, import={gradle={enabled=true}, maven={enabled=true}, exclusions=[**/node_modules/**, **/.metadata/**, **/archetype-resources/**, **/META-INF/maven/**]}, referencesCodeLens={enabled=true}, signatureHelp={enabled=false}, implementationsCodeLens={enabled=true}, format={enabled=false, settings={url=null, profile=null}, comments={enabled=true}, onType={enabled=false}}, saveActions={organizeImports=false}, contentProvider={preferred=null}, autobuild={enabled=false}, completion={enabled=true, overwrite=false, guessMethodArguments=false, favoriteStaticMembers=[org.junit.Assert.*, org.junit.Assume.*, org.junit.jupiter.api.Assertions.*, org.junit.jupiter.api.Assumptions.*, org.junit.jupiter.api.DynamicContainer.*, org.junit.jupiter.api.DynamicTest.*, org.mockito.Mockito.*, org.mockito.ArgumentMatchers.*, org.mockito.Answers.*], importOrder=[java, javax, com, org]}, progressReports={enabled=true}, debug={logLevel=warn, settings={showHex=false, showStaticVariables=true, showQualifiedNames=false, maxStringLength=0.0, enableHotCodeReplace=true, enableRunDebugCodeLens=true}}, test={report={position=sideView}}}}

!ENTRY org.eclipse.jdt.ls.core 1 0 2018-11-01 09:56:18.465
!MESSAGE >> shutdown

!ENTRY org.eclipse.jdt.ls.core 1 0 2018-11-01 09:56:18.489
!MESSAGE >> exit

!ENTRY org.eclipse.jdt.ls.core 1 0 2018-11-01 09:56:18.489
!MESSAGE Shutdown received... waking up main thread

!ENTRY org.eclipse.jdt.ls.core 1 0 2018-11-01 09:56:18.494
!MESSAGE class org.eclipse.jdt.ls.core.internal.JavaLanguageServerPlugin is stopping:
!SESSION 2018-11-01 09:56:23.259 -----------------------------------------------
eclipse.buildId=unknown
java.version=1.8.0_181
java.vendor=Azul Systems, Inc.
BootLoader constants: OS=macosx, ARCH=x86_64, WS=cocoa, NL=en_US
Command-line arguments:  -data /Users/tristan.partin/Library/Application Support/Code/User/workspaceStorage/2258a3bf734a6933686c851c9d962710/redhat.java/jdt_ws

!ENTRY org.eclipse.jdt.ls.core 1 0 2018-11-01 09:56:24.854
!MESSAGE class org.eclipse.jdt.ls.core.internal.JavaLanguageServerPlugin is started

!ENTRY org.eclipse.jdt.ls.core 1 0 2018-11-01 09:56:24.967
!MESSAGE Main thread is waiting

!ENTRY org.eclipse.jdt.ls.core 1 0 2018-11-01 09:56:24.988
!MESSAGE >> initialize

!ENTRY org.eclipse.jdt.ls.core 1 0 2018-11-01 09:56:24.990
!MESSAGE Initializing Java Language Server 0.27.0.201810230509

!ENTRY org.eclipse.jdt.ls.core 1 0 2018-11-01 09:56:25.012
!MESSAGE >> initialized

!ENTRY org.eclipse.core.net 1 0 2018-11-01 09:56:25.061
!MESSAGE System property http.nonProxyHosts has been set to local|*.local|169.254/16|*.169.254/16 by an external source. This value will be overwritten using the values from the preferences

!ENTRY org.eclipse.jdt.ls.core 1 0 2018-11-01 09:56:25.090
!MESSAGE Creating the default Java project

!ENTRY org.eclipse.jdt.ls.core 1 0 2018-11-01 09:56:25.107
!MESSAGE Finished creating the default Java project

!ENTRY org.eclipse.jdt.ls.core 1 0 2018-11-01 09:56:25.384
!MESSAGE Importing Maven project(s)

!ENTRY org.eclipse.jdt.ls.core 1 0 2018-11-01 09:56:25.434
!MESSAGE Workspace initialized in 437ms

!ENTRY org.eclipse.jdt.ls.core 1 0 2018-11-01 09:56:25.446
!MESSAGE >> workspace/didChangeConfiguration

!ENTRY org.eclipse.jdt.ls.core 1 0 2018-11-01 09:56:25.448
!MESSAGE >> registerFeature 'workspace/didChangeWatchedFiles'

!ENTRY org.eclipse.jdt.ls.core 1 0 2018-11-01 09:56:25.495
!MESSAGE >>New configuration: {java={home=null, jdt={ls={vmargs=-noverify -Xmx1G -XX:+UseG1GC -XX:+UseStringDeduplication}}, errors={incompleteClasspath={severity=warning}}, configuration={updateBuildConfiguration=automatic, maven={userSettings=null}}, trace={server=verbose}, import={gradle={enabled=true}, maven={enabled=true}, exclusions=[**/node_modules/**, **/.metadata/**, **/archetype-resources/**, **/META-INF/maven/**]}, referencesCodeLens={enabled=true}, signatureHelp={enabled=false}, implementationsCodeLens={enabled=true}, format={enabled=false, settings={url=null, profile=null}, comments={enabled=true}, onType={enabled=false}}, saveActions={organizeImports=false}, contentProvider={preferred=null}, autobuild={enabled=false}, completion={enabled=true, overwrite=false, guessMethodArguments=false, favoriteStaticMembers=[org.junit.Assert.*, org.junit.Assume.*, org.junit.jupiter.api.Assertions.*, org.junit.jupiter.api.Assumptions.*, org.junit.jupiter.api.DynamicContainer.*, org.junit.jupiter.api.DynamicTest.*, org.mockito.Mockito.*, org.mockito.ArgumentMatchers.*, org.mockito.Answers.*], importOrder=[java, javax, com, org]}, progressReports={enabled=true}, debug={logLevel=warn, settings={showHex=false, showStaticVariables=true, showQualifiedNames=false, maxStringLength=0.0, enableHotCodeReplace=true, enableRunDebugCodeLens=true}}, test={report={position=sideView}}}}
Current Result

No language server start up

Expected Result

Language server to start even though it is missing parent module. Fairly certain IntelliJ handles this case gracefully

Issue Analytics

  • State:open
  • Created 5 years ago
  • Comments:31 (3 by maintainers)

github_iconTop GitHub Comments

2reactions
fbriconcommented, Nov 29, 2018

try the Clean the Java language server workspace command.

1reaction
fbriconcommented, Nov 13, 2018

have you tried calling theClean the Java language server workspace command?

Read more comments on GitHub >

github_iconTop Results From Across the Web

Why am I getting Unknown error in line 1 of pom.xml?
3.Right Click on Project name -> Select Maven -> Click on "Update Project". ->OK Wait till all the maven dependency to get downloaded ......
Read more >
redhat-developer/vscode-java - Gitter
xml file to manage the source directories of maven project. Above said, I add sources node to pom.xml, but it could not solve...
Read more >
Using the SDK with Apache Maven - AWS SDK for Java 1.x
Configure the SDK as a Maven dependency. To use the AWS SDK for Java in your project, you'll need to declare it as...
Read more >
Spring Boot Reference Documentation
The pom.xml is the recipe that is used to build your project. Open your ... You can see that spring-boot-starter-parent provides no dependencies...
Read more >
Maven Getting Started Guide
The primary artifact for a project is typically a JAR file. Secondary artifacts like source bundles also use the artifactId as part of...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found