Open gbbarroso opened 7 years ago
It looks like the problem is caused by the Maven plugin failing to start, caused by a corrupt workspace. Can you try cleaning the workspace directory?
Have same problem and after reseting workspace Repository if you want test: https://github.com/Elfen59/bot-discord
Java --version:
VSCode version: 1.17.2 Extension version: 0.12.0 server log:
!SESSION 2017-10-21 12:16:31.821 -----------------------------------------------
eclipse.buildId=unknown
java.version=9
java.vendor=Oracle Corporation
BootLoader constants: OS=win32, ARCH=x86_64, WS=win32, NL=fr_FR
Command-line arguments: -data C:\Users\xarkam\AppData\Roaming\Code\User\workspaceStorage\12ab9696c50921bc5ee96717b0461f45\redhat.java\jdt_ws
!ENTRY org.eclipse.jdt.ls.core 1 0 2017-10-21 12:16:32.638
!MESSAGE class org.eclipse.jdt.ls.core.internal.JavaLanguageServerPlugin is started
!ENTRY org.eclipse.jdt.ls.core 1 0 2017-10-21 12:16:32.715
!MESSAGE >> initialize
!ENTRY org.eclipse.jdt.ls.core 1 0 2017-10-21 12:16:32.717
!MESSAGE Initializing Java Language Server 0.6.0.201710180038
!ENTRY org.eclipse.jdt.ls.core 1 0 2017-10-21 12:16:32.753
!MESSAGE Creating the default Java project
!ENTRY org.eclipse.jdt.ls.core 1 0 2017-10-21 12:16:33.067
!MESSAGE Finished creating the default Java project
!ENTRY org.eclipse.jdt.ls.core 1 0 2017-10-21 12:16:33.537
!MESSAGE >> workspace/didChangeConfiguration
!ENTRY org.eclipse.jdt.ls.core 1 0 2017-10-21 12:16:33.816
!MESSAGE >>New configuration: {java={home=C:\Program Files\Java\jdk-9, jdt={ls={vmargs=-noverify -Xmx1G -XX:+UseG1GC -XX:+UseStringDeduplication}}, errors={incompleteClasspath={severity=warning}}, configuration={updateBuildConfiguration=interactive, maven={userSettings=null}}, trace={server=off}, referencesCodeLens={enabled=false}, signatureHelp={enabled=false}, implementationsCodeLens={enabled=false}, format={enabled=true}, import={exclusions=['**/node_modules', '**/.metadata']}, contentProvider={preferred=null}, debug={logLevel=warn}}}
!ENTRY org.eclipse.jdt.ls.core 1 0 2017-10-21 12:16:33.819
!MESSAGE >> document/didOpen
!ENTRY org.eclipse.jdt.ls.core 1 0 2017-10-21 12:16:33.923
!MESSAGE Importing Maven project(s)
!ENTRY org.eclipse.jdt.ls.core 1 0 2017-10-21 12:16:36.784
!MESSAGE >> document/codeAction
!ENTRY org.eclipse.jdt.ls.core 1 0 2017-10-21 12:16:36.793
!MESSAGE Caching AST for /BotDiscord/src/main/java/fr/freakyfamily/sombra/BotDiscord.java
!ENTRY org.eclipse.jdt.ls.core 1 0 2017-10-21 12:16:36.942
!MESSAGE >> document/codeAction
!ENTRY org.eclipse.jdt.ls.core 1 0 2017-10-21 12:16:37.265
!MESSAGE Releasing all ASTs
!ENTRY org.eclipse.jdt.ls.core 1 0 2017-10-21 12:16:37.267
!MESSAGE Caching AST for /BotDiscord/src/main/java/fr/freakyfamily/sombra/BotDiscord.java
!ENTRY org.eclipse.jdt.ls.core 1 0 2017-10-21 12:16:37.282
!MESSAGE begin problem for /BotDiscord.java
!ENTRY org.eclipse.jdt.ls.core 1 0 2017-10-21 12:16:37.283
!MESSAGE 8 problems reported for /BotDiscord.java
!ENTRY org.eclipse.jdt.ls.core 1 0 2017-10-21 12:16:37.285
!MESSAGE Reconciled 0, validated: 1. Took 52 ms
!ENTRY org.eclipse.jdt.ls.core 1 0 2017-10-21 12:16:37.415
!MESSAGE >> document/codeAction
!ENTRY org.eclipse.jdt.ls.core 1 0 2017-10-21 12:16:38.153
!MESSAGE >> document/hover
!ENTRY org.eclipse.jdt.ls.core 1 0 2017-10-21 12:16:40.147
!MESSAGE >> document/hover
!ENTRY org.eclipse.jdt.ls.core 1 0 2017-10-21 12:16:40.365
!MESSAGE >> document/hover
!ENTRY org.eclipse.jdt.ls.core 1 0 2017-10-21 12:17:02.374
!MESSAGE >> document/codeAction
!ENTRY org.eclipse.jdt.ls.core 1 0 2017-10-21 12:17:02.611
!MESSAGE >> document/documentSymbol
!ENTRY org.eclipse.jdt.ls.core 1 0 2017-10-21 12:17:02.618
!MESSAGE >> document/codeAction
!ENTRY org.eclipse.jdt.ls.core 1 0 2017-10-21 12:17:02.644
!MESSAGE >> document/hover
!ENTRY org.eclipse.jdt.ls.core 1 0 2017-10-21 12:17:05.442
!MESSAGE >> document/hover
!ENTRY org.eclipse.jdt.ls.core 1 0 2017-10-21 12:17:08.458
!MESSAGE >> document/hover
!ENTRY org.eclipse.jdt.ls.core 1 0 2017-10-21 12:17:09.074
!MESSAGE >> document/hover
!ENTRY org.eclipse.jdt.ls.core 1 0 2017-10-21 12:17:49.142
!MESSAGE >> document/hover
!ENTRY org.eclipse.jdt.ls.core 1 0 2017-10-21 12:17:49.769
!MESSAGE >> document/hover
!ENTRY org.eclipse.jdt.ls.core 1 0 2017-10-21 12:17:51.318
!MESSAGE >> document/hover
!ENTRY org.eclipse.jdt.ls.core 1 0 2017-10-21 12:21:45.154
!MESSAGE >> document/codeAction
!ENTRY org.eclipse.jdt.ls.core 1 0 2017-10-21 12:21:45.396
!MESSAGE >> document/documentSymbol
!ENTRY org.eclipse.jdt.ls.core 1 0 2017-10-21 12:21:45.398
!MESSAGE >> document/codeAction
!ENTRY org.eclipse.jdt.ls.core 1 0 2017-10-21 12:21:47.565
!MESSAGE >> document/codeAction
!ENTRY org.eclipse.jdt.ls.core 1 0 2017-10-21 12:21:47.809
!MESSAGE >> document/codeAction
!ENTRY org.eclipse.jdt.ls.core 1 0 2017-10-21 12:21:47.811
!MESSAGE >> document/documentSymbol
Just tried the extension on an existing eclipse project, no imports could be resolved, not even the java.lang ones:
On output console:
On the VSCode developer tools:
Environment