redhat-developer / vscode-java

Java Language Support for Visual Studio Code
Eclipse Public License 2.0
2.08k stars 434 forks source link

37% StartingJava Language Server... #747

Open solan30003 opened 5 years ago

solan30003 commented 5 years ago

The VS-Code‘s Status Bar has been always shows "37% StartingJava Language Server...", when I open a project of VUE(a framework of js+html+css) and edit debug config. And, it does not automatically create "lunch. Json".

Other, [F1]->[Java: Open JavaLanguage Server log file ], this command can't work, it can't open a log window.

My config:

"java.home": "C:\Program Files\Java\jdk1.8.0_181", "java.trace.server": "messages"

Environment

Version: 1.30.0 (user setup) Submit: c6e592b2b5770e40a98cb9c2715a8ef89aec3d74 Date: 2018-12-11T22:29:11.253Z Electron: 2.0.12 Chrome: 61.0.3163.100 Node.js: 8.9.3 V8: 6.1.534.41 OS: Windows_NT x64 6.1.7601

Out window logs:

[2018-12-19 11:48:01.362] [exthost] [info] extension host started [2018-12-19 11:48:01.426] [exthost] [info] ExtensionService#_doActivateExtension vscode.debug-auto-launch {"startup":true,"activationEvent":"*"} [2018-12-19 11:48:01.426] [exthost] [info] ExtensionService#loadCommonJSModule d:\Program Files\Microsoft VS Code\resources\app\extensions\debug-auto-launch\dist\extension [2018-12-19 11:48:01.462] [exthost] [info] ExtensionService#_doActivateExtension vscode.emmet {"startup":true,"activationEvent":"*"} [2018-12-19 11:48:01.462] [exthost] [info] ExtensionService#loadCommonJSModule d:\Program Files\Microsoft VS Code\resources\app\extensions\emmet\dist\extension [2018-12-19 11:48:01.487] [exthost] [info] ExtensionService#_doActivateExtension vscode.git {"startup":true,"activationEvent":"*"} [2018-12-19 11:48:01.487] [exthost] [info] ExtensionService#loadCommonJSModule d:\Program Files\Microsoft VS Code\resources\app\extensions\git\dist\main [2018-12-19 11:48:01.667] [exthost] [info] ExtensionService#_doActivateExtension vscode.merge-conflict {"startup":true,"activationEvent":"*"} [2018-12-19 11:48:01.667] [exthost] [info] ExtensionService#loadCommonJSModule d:\Program Files\Microsoft VS Code\resources\app\extensions\merge-conflict\dist\extension [2018-12-19 11:48:01.761] [exthost] [info] ExtensionService#_doActivateExtension christian-kohler.path-intellisense {"startup":true,"activationEvent":"*"} [2018-12-19 11:48:01.761] [exthost] [info] ExtensionService#loadCommonJSModule C:\Users\Administrator\.vscode\extensions\christian-kohler.path-intellisense-1.4.2\out\src\extension [2018-12-19 11:48:01.850] [exthost] [info] ExtensionService#_doActivateExtension dbaeumer.vscode-eslint {"startup":true,"activationEvent":"*"} [2018-12-19 11:48:01.860] [exthost] [info] ExtensionService#loadCommonJSModule C:\Users\Administrator\.vscode\extensions\dbaeumer.vscode-eslint-1.7.2\client\out\extension [2018-12-19 11:48:02.154] [exthost] [info] ExtensionService#_doActivateExtension formulahendry.auto-close-tag {"startup":true,"activationEvent":"*"} [2018-12-19 11:48:02.154] [exthost] [info] ExtensionService#loadCommonJSModule C:\Users\Administrator\.vscode\extensions\formulahendry.auto-close-tag-0.5.6\out\src\extension [2018-12-19 11:48:02.162] [exthost] [info] ExtensionService#_doActivateExtension formulahendry.auto-rename-tag {"startup":true,"activationEvent":"*"} [2018-12-19 11:48:02.162] [exthost] [info] ExtensionService#loadCommonJSModule C:\Users\Administrator\.vscode\extensions\formulahendry.auto-rename-tag-0.0.15\out\src\extension [2018-12-19 11:48:02.189] [exthost] [info] ExtensionService#_doActivateExtension robertohuertasm.vscode-icons {"startup":true,"activationEvent":"*"} [2018-12-19 11:48:02.189] [exthost] [info] ExtensionService#loadCommonJSModule C:\Users\Administrator\.vscode\extensions\robertohuertasm.vscode-icons-8.0.0\out\src\ [2018-12-19 11:48:02.630] [exthost] [info] ExtensionService#_doActivateExtension spywhere.guides {"startup":true,"activationEvent":"*"} [2018-12-19 11:48:02.630] [exthost] [info] ExtensionService#loadCommonJSModule C:\Users\Administrator\.vscode\extensions\spywhere.guides-0.9.2\out\extension [2018-12-19 11:48:03.516] [exthost] [info] ExtensionService#_doActivateExtension Zignd.html-css-class-completion {"startup":true,"activationEvent":"*"} [2018-12-19 11:48:03.516] [exthost] [info] ExtensionService#loadCommonJSModule C:\Users\Administrator\.vscode\extensions\zignd.html-css-class-completion-1.17.1\out\src\extension [2018-12-19 11:48:04.625] [exthost] [info] ExtensionService#_doActivateExtension redhat.java {"startup":false,"activationEvent":"onLanguage:java"} [2018-12-19 11:48:04.625] [exthost] [info] ExtensionService#loadCommonJSModule C:\Users\Administrator\.vscode\extensions\redhat.java-0.36.0\out\src\extension [2018-12-19 11:48:04.930] [exthost] [info] ExtensionService#_doActivateExtension VisualStudioExptTeam.vscodeintellicode {"startup":false,"activationEvent":"onLanguage:java"} [2018-12-19 11:48:04.930] [exthost] [info] ExtensionService#loadCommonJSModule C:\Users\Administrator\.vscode\extensions\visualstudioexptteam.vscodeintellicode-1.1.2\out\extension [2018-12-19 11:48:05.474] [exthost] [info] ExtensionService#_doActivateExtension vscjava.vscode-java-pack {"startup":false,"activationEvent":"onLanguage:java"} [2018-12-19 11:48:05.474] [exthost] [info] ExtensionService#loadCommonJSModule C:\Users\Administrator\.vscode\extensions\vscjava.vscode-java-pack-0.5.0\out\extension [2018-12-19 11:48:08.622] [exthost] [info] eager extensions activated

yaohaizh commented 5 years ago

@solan30003, do you have a sample project? My doubt is that it failed download some maven dependencies which should be a network issue.

solan30003 commented 5 years ago

@yaohaizh My project doesn’t use maven. It’s a VUE project .Created by “npm init web”,is a front-end project, it does not depend on any Java library. I want to create a lunch.json by edit “Debug Configuration” and to debug, but, it has been shows “37% Starting Java......”, and, never stoped!!!