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

[BUG] JarHell caused by latest software.amazon.awssdk 2.20.141 #615

Closed
reta opened this issue Sep 6, 2023 · 0 comments · Fixed by #616
Closed

[BUG] JarHell caused by latest software.amazon.awssdk 2.20.141 #615

reta opened this issue Sep 6, 2023 · 0 comments · Fixed by #616
Assignees
Labels
bug Something isn't working

Comments

@reta
Copy link
Collaborator

reta commented Sep 6, 2023

What is the bug?

java.lang.RuntimeException: found jar hell in test classpath
	at org.opensearch.bootstrap.BootstrapForTesting.<clinit>(BootstrapForTesting.java:119)
	at org.opensearch.test.OpenSearchTestCase.<clinit>(OpenSearchTestCase.java:268)
	at java.base/java.lang.Class.forName0(Native Method)
	at java.base/java.lang.Class.forName(Class.java:398)
	at com.carrotsearch.randomizedtesting.RandomizedRunner$2.run(RandomizedRunner.java:623)
Caused by: java.lang.IllegalStateException: jar hell!
class: META-INF.versions.11.com.fasterxml.jackson.core.io.doubleparser.BigSignificand
jar1: /home/andriy.redko/.m2/repository/com/fasterxml/jackson/core/jackson-core/2.15.2/jackson-core-2.15.2.jar
jar2: /home/andriy.redko/.gradle/caches/modules-2/files-2.1/software.amazon.awssdk/third-party-jackson-core/2.20.141/2313458411e137a60cadb423e2c9e7ebee4071b8/third-party-jackson-core-2.20.141.jar
	at org.opensearch.bootstrap.JarHell.checkClass(JarHell.java:316)
	at org.opensearch.bootstrap.JarHell.checkJarHell(JarHell.java:215)
	at org.opensearch.bootstrap.JarHell.checkJarHell(JarHell.java:102)
	at org.opensearch.bootstrap.BootstrapForTesting.<clinit>(BootstrapForTesting.java:117)
	... 4 more

How can one reproduce the bug?

./gradlew test

What is the expected behavior?

The tests should run

What is your host/environment?

Any

Do you have any screenshots?

N/A

Do you have any additional context?

#614

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant