aws sdk - AthenaJDBC conflicting dependencies -


the athenajdbc library fat jar. has dependencies embedded it. of these dependencies overlap aws s3 library , partially included.

if exclude dependencies s3 jar, compilation errors relating classes not found.

librarydependencies ++= {   list(     ...     "com.amazonaws" % "aws-java-sdk-s3" % "1.11.179" excludeall (       exclusionrule(name = "ion-java"),       exclusionrule(name = "aws-java-sdk-core")     ),     "com.amazonaws.athena.jdbc" % "athenajdbc41" % "1.0.1-atlassian-hosted"   ) } 

leads errors like:

class com.amazonaws.sdkclientexception not found - continuing stub. ... 

but if don't, unable assemble own app:

java.lang.runtimeexception: deduplicate: different file contents found in following: /users/jem/.ivy2/cache/com.amazonaws/aws-java-sdk-core/jars/aws-java-sdk-core-1.11.179.jar:com/amazonaws/auth/awscredentials.class /users/jem/.ivy2/cache/com.amazonaws.athena.jdbc/athenajdbc41/jars/athenajdbc41-1.0.1-atlassian-hosted.jar:com/amazonaws/auth/awscredentials.class ... 

as far can see, way forward to

  1. find non-fat version of athenajdbc - haven't been able find it; or
  2. find version of aws core libs bundled in athenajdbc, can downgrade dependency s3 lib. i've inspected athenajdbc jar, can't discern version of aws libs has bundled.

how can resolve this?


Comments

Popular posts from this blog

ubuntu - PHP script to find files of certain extensions in a directory, returns populated array when run in browser, but empty array when run from terminal -

php - How can i create a user dashboard -

javascript - How to detect toggling of the fullscreen-toolbar in jQuery Mobile? -