redhat-developer / redhat-developer/vscode-java

extension fails to activate on Windows

未关闭
#4,201 2 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看

还没有人认领这个 Issue。

主要语言
TypeScript
星标
2.3k
派生
546
平均合并
20 小时 1 分钟
30 天内合并 PR
11

描述

Here's a trimmed version of the error logs (with stack traced omitted). The only thing that stands out as possibly relevant is this:

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

Anything else I can try to debug or fix?

!ENTRY org.eclipse.core.resources 2 10035 2025-10-07 08:38:01.063
!MESSAGE The workspace exited with unsaved changes in the previous session; refreshing workspace to recover changes.

!ENTRY org.eclipse.osgi 4 0 2025-10-07 08:38:01.418
!MESSAGE An error occurred while automatically activating bundle org.eclipse.core.resources (31).
!STACK 0
org.osgi.framework.BundleException: Exception in org.eclipse.core.resources.ResourcesPlugin.start() of bundle org.eclipse.core.resources.

!ENTRY org.eclipse.jdt.ls.core 4 0 2025-10-07 08:38:01.423
!MESSAGE FrameworkEvent ERROR
!STACK 0
org.osgi.framework.BundleException: Error starting module. osgi.identity; type="osgi.bundle"; version:Version="1.52.0.202510040804"; osgi.identity="org.eclipse.jdt.ls.core"; singleton:="true" [id=58]

!ENTRY org.eclipse.osgi 4 0 2025-10-07 08:38:01.428
!MESSAGE Bundle org.eclipse.jdt.ls.core_1.52.0.202510040804 [58] is not active.

!ENTRY org.eclipse.osgi 4 0 2025-10-07 08:38:01.453
!MESSAGE An error occurred while automatically activating bundle org.eclipse.jdt.core (50).
!STACK 0
org.osgi.framework.BundleException: Error starting module. osgi.identity; type="osgi.bundle"; version:Version="3.44.0.v20251001-0848"; osgi.identity="org.eclipse.jdt.core"; singleton:="true" [id=50]

!ENTRY org.eclipse.osgi 4 0 2025-10-07 08:38:01.457
!MESSAGE An error occurred while automatically activating bundle org.eclipse.jdt.ls.core (58).
!STACK 0
org.osgi.framework.BundleException: Error starting module. osgi.identity; type="osgi.bundle"; version:Version="1.52.0.202510040804"; osgi.identity="org.eclipse.jdt.ls.core"; singleton:="true" [id=58]

!ENTRY org.eclipse.jdt.core.javac 2 0 2025-10-07 08:38:01.469
!MESSAGE Could not resolve module: org.eclipse.jdt.core.javac [52]
  Unresolved requirement: Require-Capability: osgi.ee; filter:="(&(osgi.ee=JavaSE)(version=25))"

!ENTRY org.eclipse.osgi 4 0 2025-10-07 08:38:01.470
!MESSAGE Application error
!STACK 1
org.eclipse.core.runtime.CoreException: Plug-in org.eclipse.jdt.ls.core was unable to load class org.eclipse.jdt.ls.core.internal.LanguageServerApplication.

See full log at https://gist.github.com/kevinushey/58783b118028d3a07edb0da67be8534d.

贡献指南

打开贡献指南

从这里开始

  1. 先读完整个 Issue,再读项目的贡献指南。
  2. 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
  3. Fork 仓库,在一个分支上完成修改。
  4. 提交 Pull Request,并在描述里引用这个 Issue 编号。

调研方向

首先重现 Windows 激活失败,并检查 org.eclipse.jdt.core.javac 针对 JavaSE 25 要求的解析错误。跟踪 org.eclipse.jdt.ls.core 和 org.eclipse.core.resources 的激活过程,然后验证扩展能够在没有未解析要求和 bundle 错误的情况下启动。

由索引模型根据 Issue 内容生成。

评估

技术栈
java, vscode
领域
devtools
Issue 类型
缺陷
难度
4/5
预计耗时
3-5 天
活跃度
停滞
描述清晰度
需要澄清
新手友好度
25/100

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。