gpt4 book ai didi

java - 无法获取 Windows Server 2012 上模块 : osgi. 标识的状态更改锁

转载 作者:行者123 更新时间:2023-12-02 11:37:23 25 4
gpt4 key购买 nike

我无法打开在 Windows Server 2012 R2 标准版上运行的远程桌面上下载的 Eclipse。我该如何解决这个问题?这是我尝试过的:

  • 已删除配置/.log 文件
  • 删除了configuration/org.eclipse.osgi/.manager中的.fileTable.1、.fileTable.2、.fileTableLock
  • 删除了configuration/org.eclipse.osgi中的framework.info.1

我无法随意重新启动共享服务器。这是在我的 .eclipseproduct 中:

name=Eclipse Platform
id=org.eclipse.platform
version=4.6.3

这是日志文件的开头:

!ENTRY org.eclipse.equinox.ds 2 0 2018-02-16 10:28:57.812!MESSAGE [SCR] 启用包 org.eclipse.ui.trace 的组件未在 30000 毫秒内完成

!ENTRY org.eclipse.core.runtime 4 0 2018-02-16 10:29:02.855
!MESSAGE FrameworkEvent ERROR
!STACK 0
org.osgi.framework.BundleException: Unable to acquire the state change lock for the module: osgi.identity; osgi.identity="org.eclipse.core.runtime"; type="osgi.bundle"; version:Version="3.12.0.v20160606-1342"; singleton:="true" [id=98] STARTED [STARTED]
at org.eclipse.osgi.container.Module.lockStateChange(Module.java:337)
at org.eclipse.osgi.container.Module.start(Module.java:401)
at org.eclipse.osgi.container.ModuleContainer$ContainerStartLevel.incStartLevel(ModuleContainer.java:1620)
at org.eclipse.osgi.container.ModuleContainer$ContainerStartLevel.incStartLevel(ModuleContainer.java:1600)
at org.eclipse.osgi.container.ModuleContainer$ContainerStartLevel.doContainerStartLevel(ModuleContainer.java:1571)
at org.eclipse.osgi.container.ModuleContainer$ContainerStartLevel.dispatchEvent(ModuleContainer.java:1514)
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)
Caused by: java.util.concurrent.TimeoutException: Timeout after waiting 5 seconds to acquire the lock.
at org.eclipse.osgi.container.Module.lockStateChange(Module.java:334)
... 8 more
Root exception:
java.util.concurrent.TimeoutException: Timeout after waiting 5 seconds to acquire the lock.
at org.eclipse.osgi.container.Module.lockStateChange(Module.java:334)
at org.eclipse.osgi.container.Module.start(Module.java:401)
at org.eclipse.osgi.container.ModuleContainer$ContainerStartLevel.incStartLevel(ModuleContainer.java:1620)
at org.eclipse.osgi.container.ModuleContainer$ContainerStartLevel.incStartLevel(ModuleContainer.java:1600)
at org.eclipse.osgi.container.ModuleContainer$ContainerStartLevel.doContainerStartLevel(ModuleContainer.java:1571)
at org.eclipse.osgi.container.ModuleContainer$ContainerStartLevel.dispatchEvent(ModuleContainer.java:1514)
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)

最佳答案

我知道这个问题已经很老了,但仍然想添加我的 2 美分,因为它仍然没有得到解答。转到安装 Eclipse 的位置。您应该找到一个配置文件夹。只需搜索该目录及其子目录中的所有“.fileTableLock”文件并删除这些文件即可。

您应该能够重新启动 IDE。

关于java - 无法获取 Windows Server 2012 上模块 : osgi. 标识的状态更改锁,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/48830549/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com