You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm trying to run this extension locally.
I have also cloned the Bazel-eclipse repo and ran ./mvnw clean verify(Build Successful) within Bazel-eclipse repo.
Then run "npm run build"(Build Success) from bazel-vscode-java repo.
I'm using Jdk21. Bazel 7.4.1.
temurin-21.jdk (I have tried openJdk21. But it will throw "lib/jrt-fs.jar not exist".)
But I got plenty of this error when I tried to debug the bazel-vscode-java extension in Vscode.
!SUBENTRY 2 org.eclipse.jdt.ls.core 4 0 2025-04-03 20:19:25.171
!MESSAGE Cannot extract bundle symbolicName or version /Users/myname/code/bazel-vscode-java/server/org.jsr-305.jar
!STACK 0
java.util.zip.ZipException: zip END header not found
at java.base/java.util.zip.ZipFile$Source.findEND(Unknown Source)
at java.base/java.util.zip.ZipFile$Source.initCEN(Unknown Source)
at java.base/java.util.zip.ZipFile$Source.<init>(Unknown Source)
at java.base/java.util.zip.ZipFile$Source.get(Unknown Source)
I have tried to unzip the jar files in the /server folder. But got following errors.
error [server/com.github.ben-manes.caffeine.jar]: missing 275021854 bytes in zipfile
(attempting to process anyway)
error [server/com.github.ben-manes.caffeine.jar]: attempt to seek before beginning of zipfile
(please check that you have transferred or created the zipfile in the
appropriate BINARY mode and that you have compiled UnZip properly)
I also tried to open "vim .mvn/wrapper/maven-wrapper.jar" from Bazel-eclipse.
This result looks much cleaner
" zip.vim version v34
" Browsing zipfile /Users/anqihuang/code/bazel-eclipse/.mvn/wrapper/maven-wrappe
" Select a file with cursor and press ENTER
META-INF/
META-INF/MANIFEST.MF
org/
org/apache/
org/apache/maven/
org/apache/maven/wrapper/
org/apache/maven/wrapper/cli/
META-INF/maven/
META-INF/maven/org.apache.maven.wrapper/
META-INF/maven/org.apache.maven.wrapper/maven-wrapper/
META-INF/DEPENDENCIES
META-INF/LICENSE
META-INF/NOTICE
org/apache/maven/wrapper/BootstrapMainStarter.class
org/apache/maven/wrapper/DefaultDownloader$1.class
org/apache/maven/wrapper/DefaultDownloader$SystemPropertiesProxyAuthenticator.cl
org/apache/maven/wrapper/DefaultDownloader
```.class
org/apache/maven/wrapper/Downloader.class
Any idea how I could fix this?
I have spent quite a lot of time on this. But still cannot get these jar files working properly.
I'm trying to run this extension locally.
I have also cloned the Bazel-eclipse repo and ran ./mvnw clean verify(Build Successful) within Bazel-eclipse repo.
Then run "npm run build"(Build Success) from bazel-vscode-java repo.
I'm using Jdk21. Bazel 7.4.1.
temurin-21.jdk (I have tried openJdk21. But it will throw "lib/jrt-fs.jar not exist".)
But I got plenty of this error when I tried to debug the bazel-vscode-java extension in Vscode.
I have tried to unzip the jar files in the /server folder. But got following errors.
I also tried to open "vim .mvn/wrapper/maven-wrapper.jar" from Bazel-eclipse.
This result looks much cleaner