You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi, there are multiple versions of com.google.guava:guava in geowave-1.2.0/core/geotime. As shown in the following dependency tree, according to Maven "nearest wins" strategy, only com.google.guava:guava:25.1-jre can be loaded, com.google.guava:guava:14.0-rc1 will be shadowed.
However, several methods defined in shadowed version com.google.guava:guava:14.0-rc1 are referenced by client project via org.locationtech.geowave:geowave-core-index:1.2.0 but missing in the actually loaded version com.google.guava:guava:25.1-jre.
For instance, the following missing method(defined in com.google.guava:guava:14.0-rc1) are actually referenced by GeoWave Spatial and Temporal Support, which will introduce a runtime error(i.e., "NoSuchMethodError") into GeoWave Spatial and Temporal Support.
Use configuration to unify the version of library com.google.guava:guava to be 14.0-rc1 in the pom file.
Change direct dependency com.google.guava:guava from 25.1-jre to 14.0-rc1. Because version 14.0-rc1 includes the above missing methods and is compatible with other versions of com.google.guava:guava in the project.
Please let me know which fixing solution you prefer? I can submit a PR to fix it.
Thank you very much for your attention.
Best regards,
Issue description
Hi, there are multiple versions of com.google.guava:guava in geowave-1.2.0/core/geotime. As shown in the following dependency tree, according to Maven "nearest wins" strategy, only com.google.guava:guava:25.1-jre can be loaded, com.google.guava:guava:14.0-rc1 will be shadowed.
However, several methods defined in shadowed version com.google.guava:guava:14.0-rc1 are referenced by client project via org.locationtech.geowave:geowave-core-index:1.2.0 but missing in the actually loaded version com.google.guava:guava:25.1-jre.
For instance, the following missing method(defined in com.google.guava:guava:14.0-rc1) are actually referenced by GeoWave Spatial and Temporal Support, which will introduce a runtime error(i.e., "NoSuchMethodError") into GeoWave Spatial and Temporal Support.
Suggested fixing solutions:
Please let me know which fixing solution you prefer? I can submit a PR to fix it.
Thank you very much for your attention.
Best regards,
Dependency tree --
The text was updated successfully, but these errors were encountered: