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

Minor bump in Pact version #181

Merged
merged 1 commit into from
Feb 15, 2024

Conversation

holly-cummins
Copy link
Contributor

@holly-cummins holly-cummins commented Feb 15, 2024

It's not possible to go up to 4.5.8 (or higher) without resolving the following issues, but now that the build is running with Java 17, 4.5.7 is a clean transition.

Caused by: java.lang.NoClassDefFoundError: org/apache/commons/io/input/UnsynchronizedByteArrayInputStream
        at au.com.dius.pact.core.model.ContentType.<clinit>(ContentType.kt:152)
        at au.com.dius.pact.core.model.Request$Companion.fromJson(Request.kt:160)
        at au.com.dius.pact.core.model.DefaultPactReader.extractRequest(PactReader.kt:327)
        at au.com.dius.pact.core.model.DefaultPactReader$loadV2Pact$interactions$1.invoke(PactReader.kt:283)
        at au.com.dius.pact.core.model.DefaultPactReader$loadV2Pact$interactions$1.invoke(PactReader.kt:282)
        at au.com.dius.pact.core.support.json.JsonValueKt.map(JsonValue.kt:335)
        at au.com.dius.pact.core.model.DefaultPactReader.loadV2Pact(PactReader.kt:282)
        at au.com.dius.pact.core.model.DefaultPactReader.pactFromJson(PactReader.kt:220)
        at au.com.dius.pact.core.model.DefaultPactReader.loadPact(PactReader.kt:211)
        at au.com.dius.pact.core.model.DefaultPactReader.loadPact(PactReader.kt:207)
        at au.com.dius.pact.provider.junitsupport.loader.PactFolderLoader.load(PactFolderLoader.kt:54)
        at au.com.dius.pact.provider.junit5.PactVerificationInvocationContextProvider$resolvePactSources$pactSources$1$pacts$1.invoke(PactJUnit5VerificationProvider.kt:78)
        at au.com.dius.pact.core.support.KotlinLanguageSupportKt.handleWith(KotlinLanguageSupport.kt:35)

and also

 java.lang.NoClassDefFoundError: io/github/oshai/kotlinlogging/KLogging
        at java.base/java.lang.ClassLoader.defineClass1(Native Method)
        at java.base/java.lang.ClassLoader.defineClass(ClassLoader.java:1027)
        at io.quarkus.bootstrap.classloading.QuarkusClassLoader.loadClass(QuarkusClassLoader.java:508)
        at io.quarkus.bootstrap.classloading.QuarkusClassLoader.loadClass(QuarkusClassLoader.java:468)
        at au.com.dius.pact.provider.junit5.PactVerificationInvocationContextProvider.<clinit>(PactJUnit5VerificationProvider.kt)

@holly-cummins holly-cummins merged commit 9cf0823 into quarkiverse:main Feb 15, 2024
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant