-
Notifications
You must be signed in to change notification settings - Fork 1.9k
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
Multiple versions of Jetty bundles cause Missing Constraint problems #11541
Comments
Sounds like a question for the OSGi folks. Your "With just 12.x selected:" and "With just 10.x selected:" screenshots contain both 10 and 12 versions. Also, as a reminder, Jetty 10 is now at End of Community Support. You should be using Jetty 12 only at this point in time. I also let jgit know ... |
My selection toggling was only between bundles that have two versions. Bundles that only have 12 seem to be fine |
You should be able to deploy multiple versions of jetty in the same OSGi container and have them resolve correctly by version. Whatever environment you're using seems to be resolving by bundle name - note that the validation errors are headlined by bundle name without the version. Can you get any more debug out of that tool? |
@janbartel , I'm using my own products as the target platform for launching and debugging. From a build and packaging standpoint, it seems fine. But that warning shows up when trying to launch a debug instance from itself. Toggling the different versions displays different errors which makes it seems like only one major version can be included at one time. |
@andrew-tram without more info to see the full resolution problems, I can't offer you any further advice, other than something isn't resolving against a correct version. Whether that is one of the eclipse bundles you're using, your own bundles, or jetty itself is impossible to tell from the info on this issue. |
I think this should be a valid example to demonstrate this...
I checked, and org.eclipse.jetty.server is not a singleton, therefore should install? But something is preventing it. |
Jetty Version
Jetty 10.0.20 and 12.0.6
Jetty Environment
Probably not applicable.
Java Version
Java 21
Question
Is it expected that having multiple versions of Jetty plugins will cause Missing Constraint problems? I need to have both versions to satisfy dependencies. EGit seems to require Jetty 10.x and in-house, Eclipse 4.31, and WTP 3.33 plugins need Jetty 12.x
With everything selected:
With just 12.x selected:
With just 10.x selected:
The text was updated successfully, but these errors were encountered: