-
-
Notifications
You must be signed in to change notification settings - Fork 302
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
bnd-export-maven-plugin:7.1.0 java.lang.NoSuchMethodError #6389
Comments
I noticed the https://github.com/bndtools/bnd/actions/runs/11756946869/job/32755421072#step:7:4010 There was something with the maven dependencies so that a wrong outdated version was pulled in.
I think @laeubi or @bjhargrave can explain better. |
Can we get a full stacktrace? |
I am also surprised I don't see biz.aQute.bndlib in the list of URLs since it is a dependency of biz.aQute.bnd.maven and bnd-export-maven-plugin. Is there some exclusion on your plugin configuration? |
@chrisrueger I have extracted it here: @fipro78 just to make sure have you run the build with |
This is the whole output when running with verbose output:
None that I am aware of.
Tried it right now, the result stays the same. @laeubi |
You can try out the current tycho snapshot build that was just updated to bnd-lib 7.1 a few days ago. If you use the extension make sure that is updated as well. |
OK, after updating to Bndtools 7.1.0 and Tycho to 4.0.11-SNAPSHOT, the build succeeds. So it is a side effect of combining a Tycho build with Bndtools and not an issue with Bndtools. I therefore close this ticket. |
I worked on updating my blog post to the latest Eclipse and Bndtools:
https://vogella.com/blog/building-a-headless-rcp-application-with-tycho/
https://github.com/fipro78/osgi-ds-getting-started-pde
After updating the bnd-export-maven-plugin to 7.0.0 I get the error
Default handler for Launcher-Plugin not found in biz.aQute.launcher
To fix this I had to add the dependency to
biz.aQute.launcher
.Searching around, I got the impression that this issue was fixed years ago, as I did not encounter it with the version I used before. Is this maybe a regression?
bndtools/bndtools#1294
Then I noticed that Bndtools 7.1.0 was released, so I updated my example to that version. But that fails with the following error:
The text was updated successfully, but these errors were encountered: