install error requires 'osgi.bundle; org.eclipse.core.resources [3.21.0,4.0.0)'
Chưa có ai nhận issue này.
Đánh giá
- Độ khó
- 4/5
- Thời gian dự kiến
- 3-5 ngày
- Mức phù hợp với người mới
- 35/100
- Loại issue
- Lỗi
- Độ rõ ràng
- Cần làm rõ
- Mức độ hoạt động
- Đình trệ
- Công nghệ
- java
- Lĩnh vực
- build-system
Hướng nghiên cứu
Bắt đầu bằng cách kiểm tra com.microsoft.java.debug.target/com.microsoft.java.debug.tp.target và các vị trí repository Eclipse được liệt kê, sau đó tái hiện lỗi bằng ./mvnw clean verify -U. Được xem là hoàn tất khi target platform phân giải được org.eclipse.core.resources và dự án Java debug hoàn tất quá trình build.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
➜
i use 0.53.0 version but i`m getting these errors
i see other issues change
help
./mvnw clean verify -U
[INFO] Scanning for projects...
[INFO] Tycho Version: 4.0.6 (9942454590ad8a6e1c9aa907852cf017dc2ccb98)
[INFO] Tycho Mode: project
[INFO] Tycho Builder: maven
[INFO] Build Threads: 1
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Build Order:
[INFO]
[INFO] Java Debug Server for Visual Studio Code :: Parent [pom]
[INFO] Java Debug Server for Visual Studio Code :: Debugger Core [jar]
[INFO] Java Debug Server for Visual Studio Code :: Debugger Plugin [eclipse-plugin]
[INFO] Java Debug Server for Visual Studio Code :: P2 Update site [eclipse-repository]
[INFO] Java Debug Server for Visual Studio Code :: Target Platform [eclipse-target-definition]
[INFO]
[INFO] ----------------< com.microsoft.java:java-debug-parent >----------------
[INFO] Building Java Debug Server for Visual Studio Code :: Parent 0.53.0 [1/5]
[INFO] from pom.xml
[INFO] --------------------------------[ pom ]---------------------------------
[INFO]
[INFO] --- clean:3.2.0:clean (default-clean) @ java-debug-parent ---
[INFO]
[INFO] ----------< com.microsoft.java:com.microsoft.java.debug.core >----------
[INFO] Building Java Debug Server for Visual Studio Code :: Debugger Core 0.53.0 [2/5]
[INFO] from com.microsoft.java.debug.core/pom.xml
[INFO] --------------------------------[ jar ]---------------------------------
[INFO]
[INFO] --- clean:3.2.0:clean (default-clean) @ com.microsoft.java.debug.core ---
[INFO] Deleting /Users/johnny/.local/share/nvim/lsp/java-debug/com.microsoft.java.debug.core/target
[INFO]
[INFO] --- resources:3.3.1:resources (default-resources) @ com.microsoft.java.debug.core ---
[INFO] skip non existing resourceDirectory /Users/johnny/.local/share/nvim/lsp/java-debug/com.microsoft.java.debug.core/src/main/resources
[INFO]
[INFO] --- compiler:3.7.0:compile (default-compile) @ com.microsoft.java.debug.core ---
[INFO] Changes detected - recompiling the module!
[INFO] Compiling 130 source files to /Users/johnny/.local/share/nvim/lsp/java-debug/com.microsoft.java.debug.core/target/classes
[INFO] /Users/johnny/.local/share/nvim/lsp/java-debug/com.microsoft.java.debug.core/src/main/java/com/microsoft/java/debug/core/EvaluatableBreakpoint.java: 某些输入文件
使用或覆盖了已过时的 API。
[INFO] /Users/johnny/.local/share/nvim/lsp/java-debug/com.microsoft.java.debug.core/src/main/java/com/microsoft/java/debug/core/EvaluatableBreakpoint.java: 有关详细信息,
请使用 -Xlint:deprecation 重新编译。
[INFO] /Users/johnny/.local/share/nvim/lsp/java-debug/com.microsoft.java.debug.core/src/main/java/com/microsoft/java/debug/core/adapter/handler/SetBreakpointsRequestHand
ler.java: 某些输入文件使用了未经检查或不安全的操作。
[INFO] /Users/johnny/.local/share/nvim/lsp/java-debug/com.microsoft.java.debug.core/src/main/java/com/microsoft/java/debug/core/adapter/handler/SetBreakpointsRequestHand
ler.java: 有关详细信息, 请使用 -Xlint:unchecked 重新编译。
[INFO]
[INFO] --- resources:3.3.1:testResources (default-testResources) @ com.microsoft.java.debug.core ---
[INFO] skip non existing resourceDirectory /Users/johnny/.local/share/nvim/lsp/java-debug/com.microsoft.java.debug.core/src/test/resources
[INFO]
[INFO] --- compiler:3.7.0:testCompile (default-testCompile) @ com.microsoft.java.debug.core ---
[INFO] Changes detected - recompiling the module!
[INFO] Compiling 18 source files to /Users/johnny/.local/share/nvim/lsp/java-debug/com.microsoft.java.debug.core/target/test-classes
[INFO] /Users/johnny/.local/share/nvim/lsp/java-debug/com.microsoft.java.debug.core/src/test/java/com/microsoft/java/debug/core/CompileUtils.java: /Users/johnny/.local/s
hare/nvim/lsp/java-debug/com.microsoft.java.debug.core/src/test/java/com/microsoft/java/debug/core/CompileUtils.java使用或覆盖了已过时的 API。
[INFO] /Users/johnny/.local/share/nvim/lsp/java-debug/com.microsoft.java.debug.core/src/test/java/com/microsoft/java/debug/core/CompileUtils.java: 有关详细信息, 请使用 -
Xlint:deprecation 重新编译。
[INFO] /Users/johnny/.local/share/nvim/lsp/java-debug/com.microsoft.java.debug.core/src/test/java/com/microsoft/java/debug/core/adapter/LRUCacheTest.java: 某些输入文件使
用了未经检查或不安全的操作。
[INFO] /Users/johnny/.local/share/nvim/lsp/java-debug/com.microsoft.java.debug.core/src/test/java/com/microsoft/java/debug/core/adapter/LRUCacheTest.java: 有关详细信息,
请使用 -Xlint:unchecked 重新编译。
[INFO]
[INFO] --- surefire:3.1.2:test (default-test) @ com.microsoft.java.debug.core ---
[INFO] Using auto detected provider org.apache.maven.surefire.junit4.JUnit4Provider
[INFO]
[INFO] -------------------------------------------------------
[INFO] T E S T S
[INFO] -------------------------------------------------------
[INFO] Running com.microsoft.java.debug.core.adapter.formatter.ClassObjectFormatterTest
Breakpoint is accepted.
Breakpoint is hit.
Shutdown debug session.
[INFO] Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.419 s -- in com.microsoft.java.debug.core.adapter.formatter.ClassObjectFormatterTest
[INFO] Running com.microsoft.java.debug.core.adapter.formatter.CharacterFormatterTest
Breakpoint is accepted.
Breakpoint is hit.
Shutdown debug session.
[INFO] Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.038 s -- in com.microsoft.java.debug.core.adapter.formatter.CharacterFormatterTest
[INFO] Running com.microsoft.java.debug.core.adapter.formatter.TypeIdentifiersTest
[INFO] Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.002 s -- in com.microsoft.java.debug.core.adapter.formatter.TypeIdentifiersTest
[INFO] Running com.microsoft.java.debug.core.adapter.formatter.SimpleTypeFormatterTest
Breakpoint is accepted.
Breakpoint is hit.
Shutdown debug session.
[INFO] Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.041 s -- in com.microsoft.java.debug.core.adapter.formatter.SimpleTypeFormatterTest
[INFO] Running com.microsoft.java.debug.core.adapter.formatter.ObjectFormatterTest
Breakpoint is accepted.
Breakpoint is hit.
Shutdown debug session.
[INFO] Tests run: 7, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.058 s -- in com.microsoft.java.debug.core.adapter.formatter.ObjectFormatterTest
[INFO] Running com.microsoft.java.debug.core.adapter.formatter.ArrayObjectFormatterTest
Breakpoint is accepted.
Breakpoint is hit.
Shutdown debug session.
[INFO] Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.043 s -- in com.microsoft.java.debug.core.adapter.formatter.ArrayObjectFormatterTest
[INFO] Running com.microsoft.java.debug.core.adapter.formatter.StringObjectFormatterTest
Breakpoint is accepted.
Breakpoint is hit.
Shutdown debug session.
[INFO] Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.042 s -- in com.microsoft.java.debug.core.adapter.formatter.StringObjectFormatterTest
[INFO] Running com.microsoft.java.debug.core.adapter.formatter.NumericFormatterTest
Breakpoint is accepted.
Breakpoint is hit.
Shutdown debug session.
[INFO] Tests run: 8, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.046 s -- in com.microsoft.java.debug.core.adapter.formatter.NumericFormatterTest
[INFO] Running com.microsoft.java.debug.core.adapter.formatter.NullObjectFormatterTest
Breakpoint is accepted.
Breakpoint is hit.
Shutdown debug session.
[INFO] Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.041 s -- in com.microsoft.java.debug.core.adapter.formatter.NullObjectFormatterTest
[INFO] Running com.microsoft.java.debug.core.adapter.formatter.BooleanFormatterTest
Breakpoint is accepted.
Breakpoint is hit.
Shutdown debug session.
[INFO] Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.038 s -- in com.microsoft.java.debug.core.adapter.formatter.BooleanFormatterTest
[INFO] Running com.microsoft.java.debug.core.adapter.LRUCacheTest
[INFO] Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.773 s -- in com.microsoft.java.debug.core.adapter.LRUCacheTest
[INFO] Running com.microsoft.java.debug.core.adapter.ProviderContextTest
[INFO] Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.008 s -- in com.microsoft.java.debug.core.adapter.ProviderContextTest
[INFO] Running com.microsoft.java.debug.core.adapter.variables.VariableUtilsTest
Breakpoint is accepted.
Breakpoint is hit.
Shutdown debug session.
[INFO] Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.053 s -- in com.microsoft.java.debug.core.adapter.variables.VariableUtilsTest
[INFO] Running com.microsoft.java.debug.core.BreakpointTest
[INFO] Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0 s -- in com.microsoft.java.debug.core.BreakpointTest
[INFO]
[INFO] Results:
[INFO]
[INFO] Tests run: 48, Failures: 0, Errors: 0, Skipped: 0
[INFO]
[INFO]
[INFO] --- jar:3.3.0:jar (default-jar) @ com.microsoft.java.debug.core ---
[INFO] Building jar: /Users/johnny/.local/share/nvim/lsp/java-debug/com.microsoft.java.debug.core/target/com.microsoft.java.debug.core-0.53.0.jar
[INFO]
[INFO] --- failsafe:2.15:integration-test (integration-tests) @ com.microsoft.java.debug.core ---
[WARNING] File encoding has not been set, using platform encoding UTF-8, i.e. build is platform dependent!
[INFO]
[INFO] --- failsafe:2.15:verify (integration-tests) @ com.microsoft.java.debug.core ---
[INFO] Failsafe report directory: /Users/johnny/.local/share/nvim/lsp/java-debug/com.microsoft.java.debug.core/target/failsafe-reports
[WARNING] File encoding has not been set, using platform encoding UTF-8, i.e. build is platform dependent!
[INFO]
[INFO] ---------< com.microsoft.java:com.microsoft.java.debug.plugin >---------
[INFO] Building Java Debug Server for Visual Studio Code :: Debugger Plugin 0.53.0 [3/5]
[INFO] from com.microsoft.java.debug.plugin/pom.xml
[INFO] ---------------------------[ eclipse-plugin ]---------------------------
[WARNING] Parameter 'resolver' is unknown for plugin 'target-platform-configuration:4.0.6:target-platform (default-target-platform)'
[WARNING] Using JavaSE-17 to fulfill requested profile of JavaSE-11. This might lead to faulty dependency resolution, consider defining a suitable JDK in the toolchains.
xml.
[INFO] Resolving target definition file:/Users/johnny/.local/share/nvim/lsp/java-debug/com.microsoft.java.debug.target/com.microsoft.java.debug.tp.target for environment
s=[macosx/cocoa/aarch64], include source mode=honor, referenced repository mode =ignore, execution environment=StandardEEResolutionHints [executionEnvironment=OSGi profi
le 'JavaSE-17' { source level: 17, target level: 17}], remote p2 repository options=org.eclipse.tycho.p2maven.DefaultProvisioningAgent@1d323dd8
[INFO] ### Using TychoRepositoryTransport for remote P2 access ###
[INFO] Cache location: /Users/johnny/.m2/repository/.cache/tycho
[INFO] Transport mode: online
[INFO] Http Transport type: Java11Client
[INFO] Update mode: forced
[INFO] Minimum cache duration: 60 minutes
[INFO] (you can configure this with -Dtycho.p2.transport.min-cache-minutes=)
[INFO] Downloading from p2: https://download.eclipse.org/tools/orbit/R-builds/R20170516192513/repository/p2.index
[INFO] Downloaded from p2: https://download.eclipse.org/tools/orbit/R-builds/R20170516192513/repository/p2.index (134 bytes at 0 bytes/s)
[INFO] Downloading from p2: https://download.eclipse.org/tools/orbit/downloads/drops/R20170303204511/repository/p2.index
[INFO] Downloading from p2: https://download.eclipse.org/tools/orbit/downloads/drops2/R20170516192513/repository/p2.index
[INFO] Downloaded from p2: https://download.eclipse.org/tools/orbit/downloads/drops2/R20170516192513/repository/p2.index (172 bytes at 0 bytes/s)
[INFO] Downloading from p2: https://download.eclipse.org/eclipse/updates/4.31/p2.index
[INFO] Downloaded from p2: https://download.eclipse.org/eclipse/updates/4.31/p2.index (128 bytes at 0 bytes/s)
[INFO] Downloading from p2: https://download.eclipse.org/eclipse/updates/4.31/categories/p2.index
[INFO] Downloading from p2: https://download.eclipse.org/eclipse/updates/4.31/R-4.31-202402290520/p2.index
[INFO] Downloaded from p2: https://download.eclipse.org/eclipse/updates/4.31/R-4.31-202402290520/p2.index (172 bytes at 0 bytes/s)
[INFO] Downloading from p2: https://download.eclipse.org/jdtls/jdt-core-incubator/snapshots/p2.index
[INFO] Downloaded from p2: https://download.eclipse.org/jdtls/jdt-core-incubator/snapshots/p2.index (172 bytes at 0 bytes/s)
[INFO] Downloading from p2: https://download.eclipse.org/releases/2024-03/202403131000/p2.index
[INFO] Downloaded from p2: https://download.eclipse.org/releases/2024-03/202403131000/p2.index (140 bytes at 0 bytes/s)
[INFO] Downloading from p2: https://download.jboss.org/jbosstools/updates/m2e-extensions/m2e-apt/1.5.3-2019-11-08_11-04-22-H22/p2.index
[INFO] Downloaded from p2: https://download.jboss.org/jbosstools/updates/m2e-extensions/m2e-apt/1.5.3-2019-11-08_11-04-22-H22/p2.index (172 bytes at 0 bytes/s)
[INFO] Downloading from p2: https://download.eclipse.org/jdtls/snapshots/repository/latest/p2.index
[INFO] Downloaded from p2: https://download.eclipse.org/jdtls/snapshots/repository/latest/p2.index (172 bytes at 0 bytes/s)
[INFO] Downloading from p2: https://download.eclipse.org/lsp4j/updates/releases/0.23.1/p2.index
[INFO] Downloaded from p2: https://download.eclipse.org/lsp4j/updates/releases/0.23.1/p2.index (172 bytes at 0 bytes/s)
[ERROR] Cannot resolve target definition:
[ERROR] Software being installed: org.eclipse.jdt.apt.core 3.8.500.v20240702-1051
[ERROR] Missing requirement: org.eclipse.jdt.apt.core 3.8.500.v20240702-1051 requires 'osgi.bundle; org.eclipse.core.resources [3.21.0,4.0.0)' but it could not be foun
d
[ERROR]
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary for Java Debug Server for Visual Studio Code :: Parent 0.53.0:
[INFO]
[INFO] Java Debug Server for Visual Studio Code :: Parent . SUCCESS [ 0.024 s]
[INFO] Java Debug Server for Visual Studio Code :: Debugger Core SUCCESS [ 3.605 s]
[INFO] Java Debug Server for Visual Studio Code :: Debugger Plugin FAILURE [ 9.217 s]
[INFO] Java Debug Server for Visual Studio Code :: P2 Update site SKIPPED
[INFO] Java Debug Server for Visual Studio Code :: Target Platform SKIPPED
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 15.087 s
[INFO] Finished at: 2024-09-13T14:28:43+08:00
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to resolve target definition file:/Users/johnny/.local/share/nvim/lsp/java-debug/com.microsoft.java.debug.target/com.microsoft.java.debug.tp.target: See l
og for details
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
- Ngôn ngữ chính
- Java
- Star
- 409
- Fork
- 204
- Merge trung bình
- 1 ngày 13 giờ
- Pull request đã merge (30 ngày)
- 4
Hướng dẫn đóng góp
Chưa lập chỉ mục được hướng dẫn đóng góp cho kho mã nguồn này
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.
Issue khác của microsoft/java-debug
-
ai-triaged bug
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 35/100
microsoft/java-debug#611 · 2 bình luận ·
-
ai-triaged enhancement
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 35/100
microsoft/java-debug#608 · 3 bình luận ·
-
ai-triaged question
Độ khó 5/5 Hơn một tuần Mức phù hợp với người mới 30/100
microsoft/java-debug#597 · 1 bình luận ·
-
ai-triaged bug
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 25/100
microsoft/java-debug#588 · 1 bình luận ·
-
Is Hamcrest a dependency? Đang mởai-triaged question
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 35/100
microsoft/java-debug#582 · 1 bình luận ·
Tất cả issue của microsoft/java-debug
Issue tương tự
-
Leftover LGPLv3 reference Đang mở
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 92/100
OpenHFT/Chronicle-Map#622 ·
-
Bug Java Platform: Java
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
getsentry/sentry-java#6138 · 1 bình luận ·
-
bug needs triage p2
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
GoogleCloudPlatform/DataflowTemplates#4273 · 1 bình luận ·
-
[LNG prod] Release 2.4.6 Đang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 68/100
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 68/100