che: LS not working for Java Maven
Describe 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.javain 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 versionandkubectl version) - minishift (include output of
minishift versionandoc version) - docker-desktop + K8S (include output of
docker versionandkubectl 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
About this issue
- Original URL
- State: closed
- Created 4 years ago
- Comments: 29 (26 by maintainers)
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