Skip to content
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

npm run build-plugin fails with 'Cannot resolve target definition' #1580

Closed
gbroques opened this issue Jun 23, 2023 · 2 comments
Closed

npm run build-plugin fails with 'Cannot resolve target definition' #1580

gbroques opened this issue Jun 23, 2023 · 2 comments

Comments

@gbroques
Copy link

gbroques commented Jun 23, 2023

Hi. I did the following steps to setup the project:

  1. Clone the repo.
  2. Run npm install.
  3. Then run npm run build-plugin.

npm run build-plugin fails with the following error:

[ERROR] Cannot resolve target definition:
[ERROR]   Software being installed: org.eclipse.jdt.ls.core 1.25.0.202306221809
[ERROR]   Missing requirement: org.eclipse.jdt.ls.core 1.25.0.202306221809 requires 'osgi.bundle; org.eclipse.lsp4j [0.21.0.0,0.22.0)' but it could not be found
[ERROR]va.test.tp.target: See log for details -> [Help 1]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.

When I searched the existing issues, this seemed similar to #1506.

Do we just need to "update the build configurations" like @jdneo did in #1507?

gbroques pushed a commit to gbroques/vscode-java-test that referenced this issue Jun 23, 2023
@gbroques
Copy link
Author

I solved this issue by updating the URL to be the most recent milestone release of the JDTLS.

See the following PR:
#1581

@gbroques
Copy link
Author

Closed by #1584

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant