redhat-developer / redhat-developer/vscode-java
extension fails to activate on Windows
Chưa có ai nhận issue này.
- Ngôn ngữ chính
- TypeScript
- Star
- 2.3k
- Fork
- 546
- Merge trung bình
- 20 giờ 1 phút
- Pull request đã merge (30 ngày)
- 11
Mô tả
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.
Hướng dẫn đóng góp
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Hướng nghiên cứu
Bắt đầu bằng cách tái hiện lỗi kích hoạt Windows và kiểm tra lỗi phân giải của org.eclipse.jdt.core.javac đối với yêu cầu JavaSE 25. Theo dõi cách org.eclipse.jdt.ls.core và org.eclipse.core.resources được kích hoạt, sau đó xác minh rằng extension khởi động mà không có yêu cầu chưa được phân giải và lỗi bundle.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Đánh giá
- Công nghệ
- java, vscode
- Lĩnh vực
- devtools
- Loại issue
- Lỗi
- Độ khó
- 4/5
- Thời gian dự kiến
- 3-5 ngày
- Mức độ hoạt động
- Đình trệ
- Độ rõ ràng
- Cần làm rõ
- Mức phù hợp với người mới
- 25/100