exasol / exasol-test-setup-abstraction-java

Common interface for testing with an Exasol database in local and AWS environments using Java.
MIT License
1 stars 2 forks source link

Update dependency to bucketfs-java #89

Open ckunki opened 2 hours ago

ckunki commented 2 hours ago

See VSS3 issue #175: VSS3 needed to upgrade transitive dependency of exasol-test-setup-abstraction-java to fix

NoSuchMethodError: 'com.exasol.bucketfs.ReadEnabledBucket$Builder com.exasol.bucketfs.WriteEnabledBucket$Builder.allowAlternativeHostName

Workaround

        <dependency>
            <!-- Fix NoSuchMethod 'com.exasol.bucketfs.ReadEnabledBucket$Builder com.exasol.bucketfs.WriteEnabledBucket$Builder.allowAlternativeHostName(java.lang.String)' 
                 see https://github.com/exasol/exasol-test-setup-abstraction-java/issues/89 -->
            <groupId>com.exasol</groupId>
            <artifactId>bucketfs-java</artifactId>
            <version>3.2.1</version>
            <scope>test</scope>
        </dependency>
lattaai13 commented 2 hours ago

Hello, I tried to solve the issue.

This is what I did:

Update the exasol-testcontainers dependency version to 7.1.2 to fix the NoSuchMethodError issue. This version includes the necessary changes in the BucketFS API.

You can review changes in this commit: https://github.com/lattaai13/exasol-exasol-test-setup-abstraction-java-89/commit/d30fbd5e270a11ea8e9eadbb3fa47e10e878a16c.

[!CAUTION] Disclaimer: The commit was created by Latta AI and you should never copy paste this code before you check the correctness of generated code. Solution might not be complete, you should use this code as an inspiration only.


This issue was tried to solve for free by Latta AI - https://latta.ai/ourmission

If you no longer want Latta AI to attempt solving issues on your repository, you can block this account.