Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

jdtls starts then exits #88

Closed
tmciver opened this issue Dec 21, 2018 · 10 comments
Closed

jdtls starts then exits #88

tmciver opened this issue Dec 21, 2018 · 10 comments
Labels

Comments

@tmciver
Copy link

tmciver commented Dec 21, 2018

A few seconds after visiting a Java file, I see a message like the following in the mode line:

Server jdtls:6950 status:starting exited with status exit. Do you want to restart it? (y or n)

Answering y has the same result: it will try to start the language server but fail showing the same message.

This worked fine for me until recently so it's probably a bad local configuration or something conflicting with lsp but the problem is that I don't know how to debug this. Any pointers that can be given would be appreciated.

@yyoncho
Copy link
Member

yyoncho commented Dec 21, 2018

I would try (in order).

  1. Delete workspace lsp-java-workspace-dir
  2. Delete server installation from lsp-java-server-install-dir
  3. Evaluating lsp-java--ls-command will give you the command that is used for starting JDT LS - you could then start it outside of emacs

@tmciver
Copy link
Author

tmciver commented Dec 21, 2018

It works! Deleting lsp-java-workspace-dir fixed it but it was your mention of lsp-java--ls-command that made me remember that I had tried to update that value in an effort to add support for Lombok. Thank you so much!

@tmciver tmciver closed this as completed Dec 21, 2018
@tmciver
Copy link
Author

tmciver commented Dec 21, 2018

@yyoncho Slight correction to my above comment: it was lsp-java-vmargs that I set, not lsp-java--ls-command. I think it was your comment here that triggered my memory.

Ultimately, I'm trying to get Lombok working with lsp-java as was discussed in #26 but I can't get it to work. If you can tell me how or point me to the appropriate docs, I'd be grateful.

@tmciver tmciver reopened this Dec 21, 2018
@yyoncho
Copy link
Member

yyoncho commented Dec 21, 2018

I have never used lombok, you may take a look at:

http://www.skybert.net/emacs/enterprise-java-development-in-emacs/
and
https://github.com/redhat-developer/vscode-java/wiki/Lombok-support

I think that @skybert could help you with that.

@tmciver
Copy link
Author

tmciver commented Dec 21, 2018

OK, thanks so much for the info.

@tmciver tmciver closed this as completed Dec 21, 2018
@neppramod
Copy link
Contributor

Pointing to new java worked. This is my setup in mac.
(setq lsp-java-java-path "/Library/Java/JavaVirtualMachines/adoptopenjdk-11.jdk/Contents/Home/bin/java")

@damien-biasotto
Copy link

@neppramod 's suggestion worked for me too.

@jmorag
Copy link

jmorag commented Nov 25, 2020

I'm experiencing this problem with OpenJDK 8. (lsp-java--ls-command) evaluates to ("java" "-Declipse.application=org.eclipse.jdt.ls.core.id1" "-Dosgi.bundles.defaultStartLevel=4" "-Declipse.product=org.eclipse.jdt.ls.core.product" "-Dlog.protocol=true" "-Dlog.level=ALL" "-noverify" "-Xmx1G" "-XX:+UseG1GC" "-XX:+UseStringDeduplication" "-jar" "/home/joseph/.emacs.d/.cache/lsp/eclipse.jdt.ls/plugins/org.eclipse.equinox.launcher_1.6.0.v20200915-1508.jar" "-configuration" "/home/joseph/.emacs.d/.cache/lsp/eclipse.jdt.ls/config_linux" "-data" "/home/joseph/.emacs.d/workspace/"). Running that produces

org.eclipse.m2e.logback.configuration: The org.eclipse.m2e.logback.configuration bundle was activated before the state location was initialized.  Will retry after the state location is initialized.
An error has occurred. See the log file
/home/joseph/.emacs.d/.cache/lsp/eclipse.jdt.ls/config_linux/1606263474714.log.

The log file's contents are

!SESSION 2020-11-24 19:17:54.588 -----------------------------------------------
eclipse.buildId=unknown
java.version=1.8.0_275
java.vendor=Private Build
BootLoader constants: OS=linux, ARCH=x86_64, WS=gtk, NL=en_US
Command-line arguments:  -data /home/joseph/.emacs.d/workspace/

!ENTRY org.eclipse.buildship.core 4 0 2020-11-24 19:17:54.935
!MESSAGE FrameworkEvent ERROR
!STACK 0
org.osgi.framework.BundleException: Could not resolve module: org.eclipse.buildship.core [14]
  Unresolved requirement: Require-Bundle: org.eclipse.jdt.junit.core
    -> Bundle-SymbolicName: org.eclipse.jdt.junit.core; bundle-version="3.10.900.v20201003-1543"; singleton:="true"
       org.eclipse.jdt.junit.core [47]
         Unresolved requirement: Require-Bundle: org.eclipse.jdt.launching; bundle-version="[3.13.0,4.0.0)"
           -> Bundle-SymbolicName: org.eclipse.jdt.launching; bundle-version="3.19.0.v20201026-2026"; singleton:="true"
              org.eclipse.jdt.launching [49]
                Unresolved requirement: Require-Bundle: org.eclipse.debug.core; bundle-version="[3.14.0,4.0.0)"
                  -> Bundle-SymbolicName: org.eclipse.debug.core; bundle-version="3.17.0.v20201027-2131"; singleton:="true"
                     org.eclipse.debug.core [27]
                       Unresolved requirement: Require-Capability: osgi.ee; filter:="(&(osgi.ee=JavaSE)(version=11))"
         Unresolved requirement: Require-Bundle: org.eclipse.debug.core; bundle-version="[3.5.0,4.0.0)"
           -> Bundle-SymbolicName: org.eclipse.debug.core; bundle-version="3.17.0.v20201027-2131"; singleton:="true"
  Unresolved requirement: Require-Bundle: org.eclipse.jdt.launching
    -> Bundle-SymbolicName: org.eclipse.jdt.launching; bundle-version="3.19.0.v20201026-2026"; singleton:="true"

	at org.eclipse.osgi.container.Module.start(Module.java:463)
	at org.eclipse.osgi.container.ModuleContainer$ContainerStartLevel$2.run(ModuleContainer.java:1845)
	at org.eclipse.osgi.internal.framework.EquinoxContainerAdaptor$1$1.execute(EquinoxContainerAdaptor.java:136)
	at org.eclipse.osgi.container.ModuleContainer$ContainerStartLevel.incStartLevel(ModuleContainer.java:1838)
	at org.eclipse.osgi.container.ModuleContainer$ContainerStartLevel.incStartLevel(ModuleContainer.java:1779)
	at org.eclipse.osgi.container.ModuleContainer$ContainerStartLevel.doContainerStartLevel(ModuleContainer.java:1743)
	at org.eclipse.osgi.container.ModuleContainer$ContainerStartLevel.dispatchEvent(ModuleContainer.java:1665)
	at org.eclipse.osgi.container.ModuleContainer$ContainerStartLevel.dispatchEvent(ModuleContainer.java:1)
	at org.eclipse.osgi.framework.eventmgr.EventManager.dispatchEvent(EventManager.java:234)
	at org.eclipse.osgi.framework.eventmgr.EventManager$EventThread.run(EventManager.java:345)

!ENTRY org.eclipse.debug.core 4 0 2020-11-24 19:17:55.086
!MESSAGE FrameworkEvent ERROR
!STACK 0
org.osgi.framework.BundleException: Could not resolve module: org.eclipse.debug.core [27]
  Unresolved requirement: Require-Capability: osgi.ee; filter:="(&(osgi.ee=JavaSE)(version=11))"

	at org.eclipse.osgi.container.Module.start(Module.java:463)
	at org.eclipse.osgi.container.ModuleContainer$ContainerStartLevel$2.run(ModuleContainer.java:1845)
	at org.eclipse.osgi.internal.framework.EquinoxContainerAdaptor$1$1.execute(EquinoxContainerAdaptor.java:136)
	at org.eclipse.osgi.container.ModuleContainer$ContainerStartLevel.incStartLevel(ModuleContainer.java:1838)
	at org.eclipse.osgi.container.ModuleContainer$ContainerStartLevel.incStartLevel(ModuleContainer.java:1779)
	at org.eclipse.osgi.container.ModuleContainer$ContainerStartLevel.doContainerStartLevel(ModuleContainer.java:1743)
	at org.eclipse.osgi.container.ModuleContainer$ContainerStartLevel.dispatchEvent(ModuleContainer.java:1665)
	at org.eclipse.osgi.container.ModuleContainer$ContainerStartLevel.dispatchEvent(ModuleContainer.java:1)
	at org.eclipse.osgi.framework.eventmgr.EventManager.dispatchEvent(EventManager.java:234)
	at org.eclipse.osgi.framework.eventmgr.EventManager$EventThread.run(EventManager.java:345)

!ENTRY org.eclipse.jdt.core.manipulation 4 0 2020-11-24 19:17:55.096
!MESSAGE FrameworkEvent ERROR
!STACK 0
org.osgi.framework.BundleException: Could not resolve module: org.eclipse.jdt.core.manipulation [45]
  Unresolved requirement: Require-Bundle: org.eclipse.jdt.launching; bundle-version="3.9.0"
    -> Bundle-SymbolicName: org.eclipse.jdt.launching; bundle-version="3.19.0.v20201026-2026"; singleton:="true"
       org.eclipse.jdt.launching [49]
         Unresolved requirement: Require-Capability: osgi.ee; filter:="(&(osgi.ee=JavaSE)(version=11))"
         Unresolved requirement: Require-Bundle: org.eclipse.jdt.debug; bundle-version="[3.11.0,4.0.0)"
           -> Bundle-SymbolicName: org.eclipse.jdt.debug; bundle-version="3.17.0.v20200922-0523"; singleton:="true"
              org.eclipse.jdt.debug [46]
                Unresolved requirement: Require-Bundle: org.eclipse.debug.core; bundle-version="[3.12.0,4.0.0)"
                  -> Bundle-SymbolicName: org.eclipse.debug.core; bundle-version="3.17.0.v20201027-2131"; singleton:="true"
                     org.eclipse.debug.core [27]
                       Unresolved requirement: Require-Capability: osgi.ee; filter:="(&(osgi.ee=JavaSE)(version=11))"
         Unresolved requirement: Require-Bundle: org.eclipse.debug.core; bundle-version="[3.14.0,4.0.0)"
           -> Bundle-SymbolicName: org.eclipse.debug.core; bundle-version="3.17.0.v20201027-2131"; singleton:="true"

	at org.eclipse.osgi.container.Module.start(Module.java:463)
	at org.eclipse.osgi.container.ModuleContainer$ContainerStartLevel$2.run(ModuleContainer.java:1845)
	at org.eclipse.osgi.internal.framework.EquinoxContainerAdaptor$1$1.execute(EquinoxContainerAdaptor.java:136)
	at org.eclipse.osgi.container.ModuleContainer$ContainerStartLevel.incStartLevel(ModuleContainer.java:1838)
	at org.eclipse.osgi.container.ModuleContainer$ContainerStartLevel.incStartLevel(ModuleContainer.java:1779)
	at org.eclipse.osgi.container.ModuleContainer$ContainerStartLevel.doContainerStartLevel(ModuleContainer.java:1743)
	at org.eclipse.osgi.container.ModuleContainer$ContainerStartLevel.dispatchEvent(ModuleContainer.java:1665)
	at org.eclipse.osgi.container.ModuleContainer$ContainerStartLevel.dispatchEvent(ModuleContainer.java:1)
	at org.eclipse.osgi.framework.eventmgr.EventManager.dispatchEvent(EventManager.java:234)
	at org.eclipse.osgi.framework.eventmgr.EventManager$EventThread.run(EventManager.java:345)

!ENTRY org.eclipse.jdt.debug 4 0 2020-11-24 19:17:55.097
!MESSAGE FrameworkEvent ERROR
!STACK 0
org.osgi.framework.BundleException: Could not resolve module: org.eclipse.jdt.debug [46]
  Unresolved requirement: Require-Capability: osgi.ee; filter:="(&(osgi.ee=JavaSE)(version=11))"
  Unresolved requirement: Require-Bundle: org.eclipse.debug.core; bundle-version="[3.12.0,4.0.0)"
    -> Bundle-SymbolicName: org.eclipse.debug.core; bundle-version="3.17.0.v20201027-2131"; singleton:="true"
       org.eclipse.debug.core [27]
         Unresolved requirement: Require-Capability: osgi.ee; filter:="(&(osgi.ee=JavaSE)(version=11))"

	at org.eclipse.osgi.container.Module.start(Module.java:463)
	at org.eclipse.osgi.container.ModuleContainer$ContainerStartLevel$2.run(ModuleContainer.java:1845)
	at org.eclipse.osgi.internal.framework.EquinoxContainerAdaptor$1$1.execute(EquinoxContainerAdaptor.java:136)
	at org.eclipse.osgi.container.ModuleContainer$ContainerStartLevel.incStartLevel(ModuleContainer.java:1838)
	at org.eclipse.osgi.container.ModuleContainer$ContainerStartLevel.incStartLevel(ModuleContainer.java:1779)
	at org.eclipse.osgi.container.ModuleContainer$ContainerStartLevel.doContainerStartLevel(ModuleContainer.java:1743)
	at org.eclipse.osgi.container.ModuleContainer$ContainerStartLevel.dispatchEvent(ModuleContainer.java:1665)
	at org.eclipse.osgi.container.ModuleContainer$ContainerStartLevel.dispatchEvent(ModuleContainer.java:1)
	at org.eclipse.osgi.framework.eventmgr.EventManager.dispatchEvent(EventManager.java:234)
	at org.eclipse.osgi.framework.eventmgr.EventManager$EventThread.run(EventManager.java:345)

!ENTRY org.eclipse.jdt.junit.core 4 0 2020-11-24 19:17:55.098
!MESSAGE FrameworkEvent ERROR
!STACK 0
org.osgi.framework.BundleException: Could not resolve module: org.eclipse.jdt.junit.core [47]
  Unresolved requirement: Require-Bundle: org.eclipse.jdt.launching; bundle-version="[3.13.0,4.0.0)"
    -> Bundle-SymbolicName: org.eclipse.jdt.launching; bundle-version="3.19.0.v20201026-2026"; singleton:="true"
       org.eclipse.jdt.launching [49]
         Unresolved requirement: Require-Bundle: org.eclipse.debug.core; bundle-version="[3.14.0,4.0.0)"
           -> Bundle-SymbolicName: org.eclipse.debug.core; bundle-version="3.17.0.v20201027-2131"; singleton:="true"
              org.eclipse.debug.core [27]
                Unresolved requirement: Require-Capability: osgi.ee; filter:="(&(osgi.ee=JavaSE)(version=11))"
  Unresolved requirement: Require-Bundle: org.eclipse.debug.core; bundle-version="[3.5.0,4.0.0)"
    -> Bundle-SymbolicName: org.eclipse.debug.core; bundle-version="3.17.0.v20201027-2131"; singleton:="true"

	at org.eclipse.osgi.container.Module.start(Module.java:463)
	at org.eclipse.osgi.container.ModuleContainer$ContainerStartLevel$2.run(ModuleContainer.java:1845)
	at org.eclipse.osgi.internal.framework.EquinoxContainerAdaptor$1$1.execute(EquinoxContainerAdaptor.java:136)
	at org.eclipse.osgi.container.ModuleContainer$ContainerStartLevel.incStartLevel(ModuleContainer.java:1838)
	at org.eclipse.osgi.container.ModuleContainer$ContainerStartLevel.incStartLevel(ModuleContainer.java:1779)
	at org.eclipse.osgi.container.ModuleContainer$ContainerStartLevel.doContainerStartLevel(ModuleContainer.java:1743)
	at org.eclipse.osgi.container.ModuleContainer$ContainerStartLevel.dispatchEvent(ModuleContainer.java:1665)
	at org.eclipse.osgi.container.ModuleContainer$ContainerStartLevel.dispatchEvent(ModuleContainer.java:1)
	at org.eclipse.osgi.framework.eventmgr.EventManager.dispatchEvent(EventManager.java:234)
	at org.eclipse.osgi.framework.eventmgr.EventManager$EventThread.run(EventManager.java:345)

!ENTRY org.eclipse.jdt.launching 4 0 2020-11-24 19:17:55.099
!MESSAGE FrameworkEvent ERROR
!STACK 0
org.osgi.framework.BundleException: Could not resolve module: org.eclipse.jdt.launching [49]
  Unresolved requirement: Require-Capability: osgi.ee; filter:="(&(osgi.ee=JavaSE)(version=11))"
  Unresolved requirement: Require-Bundle: org.eclipse.jdt.debug; bundle-version="[3.11.0,4.0.0)"
    -> Bundle-SymbolicName: org.eclipse.jdt.debug; bundle-version="3.17.0.v20200922-0523"; singleton:="true"
       org.eclipse.jdt.debug [46]
         Unresolved requirement: Require-Bundle: org.eclipse.debug.core; bundle-version="[3.12.0,4.0.0)"
           -> Bundle-SymbolicName: org.eclipse.debug.core; bundle-version="3.17.0.v20201027-2131"; singleton:="true"
              org.eclipse.debug.core [27]
                Unresolved requirement: Require-Capability: osgi.ee; filter:="(&(osgi.ee=JavaSE)(version=11))"
  Unresolved requirement: Require-Bundle: org.eclipse.debug.core; bundle-version="[3.14.0,4.0.0)"
    -> Bundle-SymbolicName: org.eclipse.debug.core; bundle-version="3.17.0.v20201027-2131"; singleton:="true"

	at org.eclipse.osgi.container.Module.start(Module.java:463)
	at org.eclipse.osgi.container.ModuleContainer$ContainerStartLevel$2.run(ModuleContainer.java:1845)
	at org.eclipse.osgi.internal.framework.EquinoxContainerAdaptor$1$1.execute(EquinoxContainerAdaptor.java:136)
	at org.eclipse.osgi.container.ModuleContainer$ContainerStartLevel.incStartLevel(ModuleContainer.java:1838)
	at org.eclipse.osgi.container.ModuleContainer$ContainerStartLevel.incStartLevel(ModuleContainer.java:1779)
	at org.eclipse.osgi.container.ModuleContainer$ContainerStartLevel.doContainerStartLevel(ModuleContainer.java:1743)
	at org.eclipse.osgi.container.ModuleContainer$ContainerStartLevel.dispatchEvent(ModuleContainer.java:1665)
	at org.eclipse.osgi.container.ModuleContainer$ContainerStartLevel.dispatchEvent(ModuleContainer.java:1)
	at org.eclipse.osgi.framework.eventmgr.EventManager.dispatchEvent(EventManager.java:234)
	at org.eclipse.osgi.framework.eventmgr.EventManager$EventThread.run(EventManager.java:345)

!ENTRY org.eclipse.m2e.jdt 4 0 2020-11-24 19:17:55.101
!MESSAGE FrameworkEvent ERROR
!STACK 0
org.osgi.framework.BundleException: Could not resolve module: org.eclipse.m2e.jdt [56]
  Unresolved requirement: Require-Bundle: org.eclipse.jdt.launching
    -> Bundle-SymbolicName: org.eclipse.jdt.launching; bundle-version="3.19.0.v20201026-2026"; singleton:="true"
       org.eclipse.jdt.launching [49]
         Unresolved requirement: Require-Bundle: org.eclipse.debug.core; bundle-version="[3.14.0,4.0.0)"
           -> Bundle-SymbolicName: org.eclipse.debug.core; bundle-version="3.17.0.v20201027-2131"; singleton:="true"
              org.eclipse.debug.core [27]
                Unresolved requirement: Require-Capability: osgi.ee; filter:="(&(osgi.ee=JavaSE)(version=11))"
  Unresolved requirement: Require-Bundle: org.eclipse.debug.core
    -> Bundle-SymbolicName: org.eclipse.debug.core; bundle-version="3.17.0.v20201027-2131"; singleton:="true"

	at org.eclipse.osgi.container.Module.start(Module.java:463)
	at org.eclipse.osgi.container.ModuleContainer$ContainerStartLevel$2.run(ModuleContainer.java:1845)
	at org.eclipse.osgi.internal.framework.EquinoxContainerAdaptor$1$1.execute(EquinoxContainerAdaptor.java:136)
	at org.eclipse.osgi.container.ModuleContainer$ContainerStartLevel.incStartLevel(ModuleContainer.java:1838)
	at org.eclipse.osgi.container.ModuleContainer$ContainerStartLevel.incStartLevel(ModuleContainer.java:1779)
	at org.eclipse.osgi.container.ModuleContainer$ContainerStartLevel.doContainerStartLevel(ModuleContainer.java:1743)
	at org.eclipse.osgi.container.ModuleContainer$ContainerStartLevel.dispatchEvent(ModuleContainer.java:1665)
	at org.eclipse.osgi.container.ModuleContainer$ContainerStartLevel.dispatchEvent(ModuleContainer.java:1)
	at org.eclipse.osgi.framework.eventmgr.EventManager.dispatchEvent(EventManager.java:234)
	at org.eclipse.osgi.framework.eventmgr.EventManager$EventThread.run(EventManager.java:345)

!ENTRY org.jboss.tools.maven.apt.core 4 0 2020-11-24 19:17:55.102
!MESSAGE FrameworkEvent ERROR
!STACK 0
org.osgi.framework.BundleException: Could not resolve module: org.jboss.tools.maven.apt.core [71]
  Unresolved requirement: Require-Bundle: org.eclipse.m2e.jdt; bundle-version="1.5.0"
    -> Bundle-SymbolicName: org.eclipse.m2e.jdt; bundle-version="1.17.0.20201014-1513"; singleton:="true"
       org.eclipse.m2e.jdt [56]
         Unresolved requirement: Require-Bundle: org.eclipse.jdt.launching
           -> Bundle-SymbolicName: org.eclipse.jdt.launching; bundle-version="3.19.0.v20201026-2026"; singleton:="true"
              org.eclipse.jdt.launching [49]
                Unresolved requirement: Require-Bundle: org.eclipse.debug.core; bundle-version="[3.14.0,4.0.0)"
                  -> Bundle-SymbolicName: org.eclipse.debug.core; bundle-version="3.17.0.v20201027-2131"; singleton:="true"
                     org.eclipse.debug.core [27]
                       Unresolved requirement: Require-Capability: osgi.ee; filter:="(&(osgi.ee=JavaSE)(version=11))"
         Unresolved requirement: Require-Bundle: org.eclipse.debug.core
           -> Bundle-SymbolicName: org.eclipse.debug.core; bundle-version="3.17.0.v20201027-2131"; singleton:="true"

	at org.eclipse.osgi.container.Module.start(Module.java:463)
	at org.eclipse.osgi.container.ModuleContainer$ContainerStartLevel$2.run(ModuleContainer.java:1845)
	at org.eclipse.osgi.internal.framework.EquinoxContainerAdaptor$1$1.execute(EquinoxContainerAdaptor.java:136)
	at org.eclipse.osgi.container.ModuleContainer$ContainerStartLevel.incStartLevel(ModuleContainer.java:1838)
	at org.eclipse.osgi.container.ModuleContainer$ContainerStartLevel.incStartLevel(ModuleContainer.java:1779)
	at org.eclipse.osgi.container.ModuleContainer$ContainerStartLevel.doContainerStartLevel(ModuleContainer.java:1743)
	at org.eclipse.osgi.container.ModuleContainer$ContainerStartLevel.dispatchEvent(ModuleContainer.java:1665)
	at org.eclipse.osgi.container.ModuleContainer$ContainerStartLevel.dispatchEvent(ModuleContainer.java:1)
	at org.eclipse.osgi.framework.eventmgr.EventManager.dispatchEvent(EventManager.java:234)
	at org.eclipse.osgi.framework.eventmgr.EventManager$EventThread.run(EventManager.java:345)

!ENTRY org.eclipse.jdt.ls.core 4 0 2020-11-24 19:17:55.113
!MESSAGE FrameworkEvent ERROR
!STACK 0
org.osgi.framework.BundleException: Could not resolve module: org.eclipse.jdt.ls.core [50]
  Unresolved requirement: Require-Bundle: org.eclipse.debug.core
    -> Bundle-SymbolicName: org.eclipse.debug.core; bundle-version="3.17.0.v20201027-2131"; singleton:="true"
       org.eclipse.debug.core [27]
         Unresolved requirement: Require-Capability: osgi.ee; filter:="(&(osgi.ee=JavaSE)(version=11))"
  Unresolved requirement: Require-Bundle: org.eclipse.m2e.jdt; resolution:="optional"
    -> Bundle-SymbolicName: org.eclipse.m2e.jdt; bundle-version="1.17.0.20201014-1513"; singleton:="true"
       org.eclipse.m2e.jdt [56]
         Unresolved requirement: Require-Bundle: org.eclipse.debug.core
           -> Bundle-SymbolicName: org.eclipse.debug.core; bundle-version="3.17.0.v20201027-2131"; singleton:="true"
  Unresolved requirement: Require-Bundle: org.eclipse.jdt.launching
    -> Bundle-SymbolicName: org.eclipse.jdt.launching; bundle-version="3.19.0.v20201026-2026"; singleton:="true"
       org.eclipse.jdt.launching [49]
         Unresolved requirement: Require-Bundle: org.eclipse.debug.core; bundle-version="[3.14.0,4.0.0)"
           -> Bundle-SymbolicName: org.eclipse.debug.core; bundle-version="3.17.0.v20201027-2131"; singleton:="true"
  Unresolved requirement: Require-Bundle: org.eclipse.buildship.core; bundle-version="1.0.18"; resolution:="optional"
    -> Bundle-SymbolicName: org.eclipse.buildship.core; bundle-version="3.1.5.v20200806-2157-s"; singleton:="true"
       org.eclipse.buildship.core [14]
         Unresolved requirement: Require-Bundle: org.eclipse.debug.core
           -> Bundle-SymbolicName: org.eclipse.debug.core; bundle-version="3.17.0.v20201027-2131"; singleton:="true"
         Unresolved requirement: Require-Bundle: org.eclipse.jdt.junit.core
           -> Bundle-SymbolicName: org.eclipse.jdt.junit.core; bundle-version="3.10.900.v20201003-1543"; singleton:="true"
              org.eclipse.jdt.junit.core [47]
                Unresolved requirement: Require-Bundle: org.eclipse.debug.core; bundle-version="[3.5.0,4.0.0)"
                  -> Bundle-SymbolicName: org.eclipse.debug.core; bundle-version="3.17.0.v20201027-2131"; singleton:="true"
         Unresolved requirement: Require-Bundle: org.eclipse.jdt.launching
           -> Bundle-SymbolicName: org.eclipse.jdt.launching; bundle-version="3.19.0.v20201026-2026"; singleton:="true"

	at org.eclipse.osgi.container.Module.start(Module.java:463)
	at org.eclipse.osgi.container.ModuleContainer$ContainerStartLevel$2.run(ModuleContainer.java:1845)
	at org.eclipse.osgi.internal.framework.EquinoxContainerAdaptor$1$1.execute(EquinoxContainerAdaptor.java:136)
	at org.eclipse.osgi.container.ModuleContainer$ContainerStartLevel.incStartLevel(ModuleContainer.java:1838)
	at org.eclipse.osgi.container.ModuleContainer$ContainerStartLevel.incStartLevel(ModuleContainer.java:1781)
	at org.eclipse.osgi.container.ModuleContainer$ContainerStartLevel.doContainerStartLevel(ModuleContainer.java:1743)
	at org.eclipse.osgi.container.ModuleContainer$ContainerStartLevel.dispatchEvent(ModuleContainer.java:1665)
	at org.eclipse.osgi.container.ModuleContainer$ContainerStartLevel.dispatchEvent(ModuleContainer.java:1)
	at org.eclipse.osgi.framework.eventmgr.EventManager.dispatchEvent(EventManager.java:234)
	at org.eclipse.osgi.framework.eventmgr.EventManager$EventThread.run(EventManager.java:345)

!ENTRY org.eclipse.osgi 4 0 2020-11-24 19:17:55.120
!MESSAGE Bundle initial@reference:file:plugins/org.eclipse.jdt.ls.core_0.66.0.202011201634.jar was not resolved.

!ENTRY org.eclipse.buildship.core 2 0 2020-11-24 19:17:55.127
!MESSAGE Could not resolve module: org.eclipse.buildship.core [14]
  Unresolved requirement: Require-Bundle: org.eclipse.jdt.junit.core
    -> Bundle-SymbolicName: org.eclipse.jdt.junit.core; bundle-version="3.10.900.v20201003-1543"; singleton:="true"
       org.eclipse.jdt.junit.core [47]
         Unresolved requirement: Require-Bundle: org.eclipse.jdt.launching; bundle-version="[3.13.0,4.0.0)"
           -> Bundle-SymbolicName: org.eclipse.jdt.launching; bundle-version="3.19.0.v20201026-2026"; singleton:="true"
              org.eclipse.jdt.launching [49]
                Unresolved requirement: Require-Bundle: org.eclipse.debug.core; bundle-version="[3.14.0,4.0.0)"
                  -> Bundle-SymbolicName: org.eclipse.debug.core; bundle-version="3.17.0.v20201027-2131"; singleton:="true"
                     org.eclipse.debug.core [27]
                       Unresolved requirement: Require-Capability: osgi.ee; filter:="(&(osgi.ee=JavaSE)(version=11))"
         Unresolved requirement: Require-Bundle: org.eclipse.debug.core; bundle-version="[3.5.0,4.0.0)"
           -> Bundle-SymbolicName: org.eclipse.debug.core; bundle-version="3.17.0.v20201027-2131"; singleton:="true"
  Unresolved requirement: Require-Bundle: org.eclipse.jdt.launching
    -> Bundle-SymbolicName: org.eclipse.jdt.launching; bundle-version="3.19.0.v20201026-2026"; singleton:="true"


!ENTRY org.eclipse.jdt.junit.core 2 0 2020-11-24 19:17:55.128
!MESSAGE Could not resolve module: org.eclipse.jdt.junit.core [47]
  Unresolved requirement: Require-Bundle: org.eclipse.jdt.launching; bundle-version="[3.13.0,4.0.0)"
    -> Bundle-SymbolicName: org.eclipse.jdt.launching; bundle-version="3.19.0.v20201026-2026"; singleton:="true"
       org.eclipse.jdt.launching [49]
         Unresolved requirement: Require-Bundle: org.eclipse.debug.core; bundle-version="[3.14.0,4.0.0)"
           -> Bundle-SymbolicName: org.eclipse.debug.core; bundle-version="3.17.0.v20201027-2131"; singleton:="true"
              org.eclipse.debug.core [27]
                Unresolved requirement: Require-Capability: osgi.ee; filter:="(&(osgi.ee=JavaSE)(version=11))"
  Unresolved requirement: Require-Bundle: org.eclipse.debug.core; bundle-version="[3.5.0,4.0.0)"
    -> Bundle-SymbolicName: org.eclipse.debug.core; bundle-version="3.17.0.v20201027-2131"; singleton:="true"


!ENTRY org.eclipse.jdt.ls.core 2 0 2020-11-24 19:17:55.128
!MESSAGE Could not resolve module: org.eclipse.jdt.ls.core [50]
  Unresolved requirement: Require-Bundle: org.eclipse.debug.core
    -> Bundle-SymbolicName: org.eclipse.debug.core; bundle-version="3.17.0.v20201027-2131"; singleton:="true"
       org.eclipse.debug.core [27]
         Unresolved requirement: Require-Capability: osgi.ee; filter:="(&(osgi.ee=JavaSE)(version=11))"


!ENTRY org.jboss.tools.maven.apt.core 2 0 2020-11-24 19:17:55.128
!MESSAGE Could not resolve module: org.jboss.tools.maven.apt.core [71]
  Unresolved requirement: Require-Bundle: org.eclipse.m2e.jdt; bundle-version="1.5.0"
    -> Bundle-SymbolicName: org.eclipse.m2e.jdt; bundle-version="1.17.0.20201014-1513"; singleton:="true"
       org.eclipse.m2e.jdt [56]
         Unresolved requirement: Require-Bundle: org.eclipse.debug.core
           -> Bundle-SymbolicName: org.eclipse.debug.core; bundle-version="3.17.0.v20201027-2131"; singleton:="true"
              org.eclipse.debug.core [27]
                Unresolved requirement: Require-Capability: osgi.ee; filter:="(&(osgi.ee=JavaSE)(version=11))"


!ENTRY org.eclipse.m2e.lifecyclemapping.defaults 2 0 2020-11-24 19:17:55.128
!MESSAGE Could not resolve module: org.eclipse.m2e.lifecyclemapping.defaults [57]
  Unresolved requirement: Require-Bundle: org.eclipse.m2e.jdt; bundle-version="[1.16.0,2.0.0)"
    -> Bundle-SymbolicName: org.eclipse.m2e.jdt; bundle-version="1.17.0.20201014-1513"; singleton:="true"
       org.eclipse.m2e.jdt [56]
         Unresolved requirement: Require-Bundle: org.eclipse.debug.core
           -> Bundle-SymbolicName: org.eclipse.debug.core; bundle-version="3.17.0.v20201027-2131"; singleton:="true"
              org.eclipse.debug.core [27]
                Unresolved requirement: Require-Capability: osgi.ee; filter:="(&(osgi.ee=JavaSE)(version=11))"


!ENTRY org.eclipse.jdt.launching 2 0 2020-11-24 19:17:55.128
!MESSAGE Could not resolve module: org.eclipse.jdt.launching [49]
  Unresolved requirement: Require-Bundle: org.eclipse.debug.core; bundle-version="[3.14.0,4.0.0)"
    -> Bundle-SymbolicName: org.eclipse.debug.core; bundle-version="3.17.0.v20201027-2131"; singleton:="true"
       org.eclipse.debug.core [27]
         Unresolved requirement: Require-Capability: osgi.ee; filter:="(&(osgi.ee=JavaSE)(version=11))"


!ENTRY org.eclipse.debug.core 2 0 2020-11-24 19:17:55.128
!MESSAGE Could not resolve module: org.eclipse.debug.core [27]
  Unresolved requirement: Require-Capability: osgi.ee; filter:="(&(osgi.ee=JavaSE)(version=11))"


!ENTRY org.eclipse.jdt.debug 2 0 2020-11-24 19:17:55.129
!MESSAGE Could not resolve module: org.eclipse.jdt.debug [46]
  Unresolved requirement: Require-Bundle: org.eclipse.debug.core; bundle-version="[3.12.0,4.0.0)"
    -> Bundle-SymbolicName: org.eclipse.debug.core; bundle-version="3.17.0.v20201027-2131"; singleton:="true"
       org.eclipse.debug.core [27]
         Unresolved requirement: Require-Capability: osgi.ee; filter:="(&(osgi.ee=JavaSE)(version=11))"


!ENTRY org.eclipse.jdt.core.manipulation 2 0 2020-11-24 19:17:55.129
!MESSAGE Could not resolve module: org.eclipse.jdt.core.manipulation [45]
  Unresolved requirement: Require-Bundle: org.eclipse.jdt.launching; bundle-version="3.9.0"
    -> Bundle-SymbolicName: org.eclipse.jdt.launching; bundle-version="3.19.0.v20201026-2026"; singleton:="true"
       org.eclipse.jdt.launching [49]
         Unresolved requirement: Require-Bundle: org.eclipse.debug.core; bundle-version="[3.14.0,4.0.0)"
           -> Bundle-SymbolicName: org.eclipse.debug.core; bundle-version="3.17.0.v20201027-2131"; singleton:="true"
              org.eclipse.debug.core [27]
                Unresolved requirement: Require-Capability: osgi.ee; filter:="(&(osgi.ee=JavaSE)(version=11))"


!ENTRY org.eclipse.m2e.jdt 2 0 2020-11-24 19:17:55.129
!MESSAGE Could not resolve module: org.eclipse.m2e.jdt [56]
  Unresolved requirement: Require-Bundle: org.eclipse.debug.core
    -> Bundle-SymbolicName: org.eclipse.debug.core; bundle-version="3.17.0.v20201027-2131"; singleton:="true"
       org.eclipse.debug.core [27]
         Unresolved requirement: Require-Capability: osgi.ee; filter:="(&(osgi.ee=JavaSE)(version=11))"


!ENTRY org.eclipse.osgi 4 0 2020-11-24 19:17:55.129
!MESSAGE Application error
!STACK 1
java.lang.RuntimeException: Application "org.eclipse.jdt.ls.core.id1" could not be found in the registry. The applications available are: org.eclipse.ant.core.antRunner, org.eclipse.equinox.app.error, org.eclipse.jdt.apt.core.aptBuild, org.eclipse.jdt.core.JavaIndexer.
	at org.eclipse.equinox.internal.app.EclipseAppContainer.startDefaultApp(EclipseAppContainer.java:252)
	at org.eclipse.equinox.internal.app.MainApplicationLauncher.run(MainApplicationLauncher.java:33)
	at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:134)
	at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:104)
	at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:401)
	at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:255)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.lang.reflect.Method.invoke(Method.java:498)
	at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:653)
	at org.eclipse.equinox.launcher.Main.basicRun(Main.java:590)
	at org.eclipse.equinox.launcher.Main.run(Main.java:1461)
	at org.eclipse.equinox.launcher.Main.main(Main.java:1434)

@yyoncho
Copy link
Member

yyoncho commented Nov 25, 2020

@jmorag refer to #249

@jmorag
Copy link

jmorag commented Nov 25, 2020

@yyoncho thanks, setting the download url to an older version fixes the problem

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

5 participants