-
Notifications
You must be signed in to change notification settings - Fork 23
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
httpclient: multiple versions in the classpath ? #622
Comments
looking at
dropping the 'last' versions yields:
so something else drags them. |
and dropping httpcore 4.2.4 gives the same error:
|
an upstream mapstore2 war has @pmauduit @tdipisa @offtherailz any hints on how to solve this ? updating to 2023.01 will update the dependencies and automagically fix it ? |
apparently the conflict isnt on httpcore but on httpclient, as the problematic class comes from
tried repackaging that jar without the problematic class but that doesnt help. also tried removing only |
apparently that's not new that it causes some kind of conflicts, cf geosolutions-it/MapStore2#7950 (comment) & geosolutions-it/MapStore2#8468 looking at https://github.com/geosolutions-it/MapStore2/blob/25aeef423d7a1213f7a7971c68c5a3db768dd02d/java/web/pom.xml#L48 it seems the 2022.02.xx branch we're tracking in the MS2 submodule doesnt have geosolutions-it/MapStore2#8468 |
@landryb unfortunately I don't have much time today for a deeper check but after a quick look I can say that most probably that problem will be fixed after the update to 2023.01.xx where we have provided some dependency management fixes also for that. |
testing 2023.02, it seems there's indeed only a single version of httpclient libs/jars:
and the internal mapstore proxy works. So... fixed in master, still affecting the now unmaintained/unsupported 2022.02 branch ? |
We have the same problem with the Docker image in production ( https://hub.docker.com/layers/geosolutionsit/mapstore2-georchestra/2022.02.02-geOrchestra/images/sha256-dc45f092a3d9b26e35709e0b2ca3e025b1434ac1fec63488497e660c216a5100?context=explores) and the consequence is that we can't use the Geobretagne OGC services. |
Describe the bug
like #603 but for httpclient/httpcore jars, right now using the mapstore proxy on master yields an error (cf georchestra/datadir#308):
looking at the content of the war, there are two (conflicting?) versions of http client libs:
The text was updated successfully, but these errors were encountered: