Coder Social home page Coder Social logo

Comments (14)

geoand avatar geoand commented on July 19, 2024 1

According to https://mvnrepository.com/artifact/org.testcontainers/testcontainers/1.19.6 testcotnainers still depends on 1.24 of commons-compress.

from quarkus.

aloubyansky avatar aloubyansky commented on July 19, 2024 1

Ok, I see it's an optional dependency commons-compress 1.26, so yes, if we want 1.26 we should add commons-codec as a dependency.

from quarkus.

quarkus-bot avatar quarkus-bot commented on July 19, 2024

/cc @glefloch, @quarkusio/devtools

from quarkus.

gsmet avatar gsmet commented on July 19, 2024

Not sure what's going on but it seems related to us upgrading Commons Compress (because of a CVE so we don't want to go back) and testcontainers/testcontainers-java#8169 .

Could you prepare a small project reproducing the issue? We probably need to experiment to try to find a workaround.

Thanks!

from quarkus.

Malandril avatar Malandril commented on July 19, 2024

Simply creating a project with the quarkus cli is enough to reproduce

quarkus create app --gradle-kotlin-dsl -x 'jdbc-mariadb,hibernate-orm-panache' -P 3.7.4 project-name

I created a project as such here https://github.com/Malandril/quarkus-class-not-found

Then running ./gradlew quarkusDev or quarkus dev by using the quarkus cli produces the error

from quarkus.

geoand avatar geoand commented on July 19, 2024

The odd thing is that the error does not occur in a Maven project...

from quarkus.

geoand avatar geoand commented on July 19, 2024

The current workaround is to include

implementation("commons-codec:commons-codec")

@aloubyansky any idea why we have this difference between Gradle and Maven?

from quarkus.

gsmet avatar gsmet commented on July 19, 2024

I was wondering if maybe the Testcontainers update would fix it but didn't have the time to check yet.

from quarkus.

geoand avatar geoand commented on July 19, 2024

I'll give it a shot

from quarkus.

geoand avatar geoand commented on July 19, 2024

Bad news: testcontainers/testcontainers-java#8338 (comment)

from quarkus.

gsmet avatar gsmet commented on July 19, 2024

I wonder if we should add commons-codec to the deployment classpath for the time being?

from quarkus.

geoand avatar geoand commented on July 19, 2024

Unless @aloubyansky has another idea, I think we should

from quarkus.

aloubyansky avatar aloubyansky commented on July 19, 2024

I'm not sure what has commons-codec as a dependency so far.

from quarkus.

gsmet avatar gsmet commented on July 19, 2024

I created a PR to fix it. It should be part of tomorrow's release.

Thanks a lot for the very detailed report!

from quarkus.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.