dbeaver解压后启动报错Could not resolve module: org.eclipse.compare

Posted

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了dbeaver解压后启动报错Could not resolve module: org.eclipse.compare相关的知识,希望对你有一定的参考价值。

dbeaver工具对很多数据库都支持,但目前对oracle支持的不是特别好,mysql还行吧,其他的还没怎么使用。下载dbeaver解压版后,点击dbeaver.exe刚开始是会报错误的

技术分享

在对应的目录下查看日志文件中有

!MESSAGE FrameworkEvent ERROR

!STACK 0

org.osgi.framework.BundleException: Could not resolve module: org.eclipse.compare [17]

  Unresolved requirement: Require-Bundle: org.eclipse.ui; bundle-version="[3.5.0,4.0.0)"

    -> Bundle-SymbolicName: org.eclipse.ui; bundle-version="3.107.0.v20150507-1945"; singleton:="true"

       org.eclipse.ui [88]

         Unresolved requirement: Require-Bundle: org.eclipse.core.runtime; bundle-version="[3.2.0,4.0.0)"

           -> Bundle-SymbolicName: org.eclipse.core.runtime; bundle-version="3.11.1.v20150903-1804"; singleton:="true"

              org.eclipse.core.runtime [30]

                Unresolved requirement: Require-Bundle: org.eclipse.core.jobs; bundle-version="[3.2.0,4.0.0)"; visibility:="reexport"

                  -> Bundle-SymbolicName: org.eclipse.core.jobs; bundle-version="3.7.0.v20150330-2103"; singleton:="true"

                     org.eclipse.core.jobs [28]

                       Unresolved requirement: Require-Capability: osgi.ee; filter:="(&(osgi.ee=JavaSE)(version=1.7))"


at org.eclipse.osgi.container.Module.start(Module.java:434)

at org.eclipse.osgi.container.ModuleContainer$ContainerStartLevel.incStartLevel(ModuleContainer.java:1582)

at org.eclipse.osgi.container.ModuleContainer$ContainerStartLevel.incStartLevel(ModuleContainer.java:1561)

at org.eclipse.osgi.container.ModuleContainer$ContainerStartLevel.doContainerStartLevel(ModuleContainer.java:1533)

at org.eclipse.osgi.container.ModuleContainer$ContainerStartLevel.dispatchEvent(ModuleContainer.java:1476)

at org.eclipse.osgi.container.ModuleContainer$ContainerStartLevel.dispatchEvent(ModuleContainer.java:1)

at org.eclipse.osgi.framework.eventmgr.EventManager.dispatchEvent(EventManager.java:230)

at org.eclipse.osgi.framework.eventmgr.EventManager$EventThread.run(EventManager.java:340)

另外文件开头有

eclipse.buildId=unknown

java.version=1.6.0_45

java.vendor=Sun Microsystems Inc.

这个是jdk版本问题,你使用dbeaver.exe创建快捷方式后右击属性

目标:F:\OS\dbeaver\dbeaver.exe -vm J:\java7\jdk\bin\javaw

红色部分为要添加的,添加完成后再次点击快捷方式就可以启动了

以上是关于dbeaver解压后启动报错Could not resolve module: org.eclipse.compare的主要内容,如果未能解决你的问题,请参考以下文章

eclipse启动报错:Could not create the java virtual machine

Windows下elasticsearch启动闪退之JAVA环境变量报错:could not find java; set JAVA_HOME or ensure java is in PATH(示例

Windows下elasticsearch启动闪退之JAVA环境变量报错:could not find java; set JAVA_HOME or ensure java is in PATH(示例

tomcat启动报错BaseExecutor:getDatabaseId:55 - Could not get a databaseId from dataSource

tomcat启动报错BaseExecutor:getDatabaseId:55 - Could not get a databaseId from dataSource

启动tomcat报错 Could not reserve enough space for object heap的解决办法