LS not working for Java Maven
See original GitHub issueDescribe the bug
The LS is not working for a Java Maven workspace. It seems like LS is initialized but then it does not work: error highlighting, suggestions neither the ctrl + left click
to open class in new tab.
Che version
- latest
- nightly
- other: please specify
Steps to reproduce
- Go to Workspaces -> Create Workspace -> Java Maven
- Create and open workspace with default settings
- Open file
HelloWorld.java
in console-java-simple/src/main/java/org/eclipse/che/examples - Wait for LS to be initialized [1]
- Try to use error highlighting, suggestion invoking or
Ctrl + left click
(none of them should work) - Open Problems: View -> Problems
- See the following error:
{
"resource": "file:///projects/console-java-simple",
"owner": "file:///projects/console-java-simple",
"code": "0",
"severity": 1,
"message": "Could not fetch model of type 'BuildEnvironment' using Gradle distribution 'https://services.gradle.org/distributions-snapshots/gradle-6.0-20191016123526+0000-bin.zip'.\nThe specified Gradle distribution 'https://services.gradle.org/distributions-snapshots/gradle-6.0-20191016123526+0000-bin.zip' does not exist.\nhttps://downloads.gradle-dn.com/distributions-snapshots/gradle-6.0-20191016123526+0000-bin.zip",
"source": "Java",
"startLineNumber": 0,
"startColumn": 0,
"endLineNumber": 0,
"endColumn": 0
}
[1]
Expected behavior
The LS should be correctly initialized or some error should be shown for a user.
Runtime
- kubernetes (include output of
kubectl version
) - Openshift (include output of
oc version
) oc v3.11.0+0cbc58b kubernetes v1.11.0+d4cacc0 features: Basic-Auth GSSAPI Kerberos SPNEGO
Server https://api.ocp42.codereadyqe.com:6443 kubernetes v1.14.6+8bbaf43
- minikube (include output of
minikube version
andkubectl version
) - minishift (include output of
minishift version
andoc version
) - docker-desktop + K8S (include output of
docker version
andkubectl version
) - other: (please specify)
Screenshots
Installation method
- chectl chectl server:start -a operator -p openshift -b crw.codeready.com -n katka
- che-operator
- minishift-addon
- I don’t know
Environment
- my computer
- Windows
- Linux
- macOS
- Cloud
- Amazon
- Azure
- GCE
- other (please specify)
- other: please specify
Issue Analytics
- State:
- Created 4 years ago
- Comments:29 (26 by maintainers)
Top Results From Across the Web
CMD commands not working after executing maven command ...
I found the solution to my problem. I did not add %MAVEN_HOME%\bin to the PATH variable (which replaced the actual one), i created...
Read more >Apache Maven Tutorial - Vogella.com
This tutorial describes the usage and the core concepts of using Maven for building Java applications. 1. What is Apache Maven? Apache Maven...
Read more >Maven on Windows
Maven is a command-line tool for building Java (and other) programs. The Maven project provides a simple ZIP file containing a precompiled version...
Read more >Maven and Gradle support for Java in Visual Studio Code
This document is an overview of how to work with your Java build tools in Visual Studio Code. It covers the Maven for...
Read more >How to do a Maven to Gradle migration on a Java Spring Boot ...
Running the migration · 1) Generate a build scan · 2) Run an automatic conversion · 3) Build your project and work through...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
I’m wondering how are we going to release 7.9.0 with this issue? this also looks like a blocker for Hosted Che update
followup work to ensure we don’t have incorrect
name:
field in meta.yaml files for plugin registry: https://github.com/eclipse/che/issues/16107