-
Notifications
You must be signed in to change notification settings - Fork 129
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Error while running build-plugin #1733
Comments
I am also facing the same issue, |
Have you installed maven in your pc? |
I think I can answer that for both myself and @nathannguyen-nn, yes. Noticed its js calling maven commands. Is it using a mvnw wrapper or the host? Either way it's building two artifacts I sense if we did not have maven installed the runner would not of got so far |
Yes, I did have maven installed on my machine. Also, for anyone trying to setup Java debugging for NeoVim, you can just download "Test Runner for Java" extension via vscode and copy the already built jar files located in the extension folder. (Usually in ~/.vscode/extensions/vscjava.vscode-java-test-*/server) |
The target definition needs to be updated: #1734 |
I'm trying to follow this guide https://github.com/mfussenegger/nvim-jdtls and I'm stuck at vscode-java-test installation part.
running npm run build-plugin give me this error:
`[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary:
[INFO]
[INFO] Test Runner for Java :: Parent 0.42.0 .............. SUCCESS [ 0.027 s]
[INFO] Test Runner for Java :: Build Tools 1.0.0 .......... SUCCESS [ 0.255 s]
[INFO] Test Runner for Java :: Plugin 0.42.0 .............. FAILURE [ 0.327 s]
[INFO] Test Runner for Java :: Plugin Tests 0.42.0 ........ SKIPPED
[INFO] Test Runner for Java :: update site 0.42.0 ......... SKIPPED
[INFO] Test Runner for Java :: Target Platform 0.42.0 ..... SKIPPED
[INFO] Test Runner for Java :: Runner 0.42.0 .............. SKIPPED
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 3.321 s
[INFO] Finished at: 2024-09-20T17:59:20-04:00
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to resolve target definition file:/Users/nathan/vscode-java-test/java-extension/com.microsoft.java.test.target/com.microsoft.java.test.tp.target: Failed to load p2 metadata repository from location https://download.eclipse.org/eclipse/updates/4.33-I-builds/I20240728-1800/: No repository found at https://download.eclipse.org/eclipse/updates/4.33-I-builds/I20240728-1800.
[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.
node:child_process:964
throw err;
^
Error: Command failed: ./mvnw clean verify
at genericNodeError (node:internal/errors:983:15)
at wrappedFn (node:internal/errors:537:14)
at checkExecSyncError (node:child_process:889:11)
at Object.execSync (node:child_process:961:15)
at Object. (/Users/nathan/vscode-java-test/scripts/buildJdtlsExt.js:31:4)
at Module._compile (node:internal/modules/cjs/loader:1504:14)
at Module._extensions..js (node:internal/modules/cjs/loader:1588:10)
at Module.load (node:internal/modules/cjs/loader:1282:32)
at Module._load (node:internal/modules/cjs/loader:1098:12)
at TracingChannel.traceSync (node:diagnostics_channel:315:14) {
status: 1,
signal: null,
output: [ null, null, null ],
pid: 12004,
stdout: null,
stderr: null
}
Node.js v22.5.1`
The text was updated successfully, but these errors were encountered: