https://linen.dev logo
#wiremock-java
Title
# wiremock-java
o

Oleg Nenashev

08/31/2023, 8:01 PM
@Tom @Rob Elliot FYI released 3.0.1 Docker image and updated changelogs. A few notes • There is another regression report I have not triaged yet: https://github.com/wiremock/wiremock/issues/2349 • The Testcontainers integration test still fails with classloading when the Docker image is used, now Http Client • Helm Chart needs a few more patches for argument passing, will likely have to do another Docker image release tomorrow Will triage those issues tomorrow
Copy code
19:54:16.901 [main] ERROR tc.wiremock/wiremock:3.0.1-1 - Log output from the failed container:
Error: Exception in thread "main" java.lang.NoClassDefFoundError: org/apache/hc/client5/http/io/HttpClientConnectionManager
	at java.base/java.lang.Class.forName0(Native Method)
	at java.base/java.lang.Class.forName(Unknown Source)
	at com.github.tomakehurst.wiremock.extension.Extensions.loadClass(Extensions.java:172)
	at java.base/java.util.stream.ReferencePipeline$3$1.accept(Unknown Source)
	at java.base/java.util.ArrayList$ArrayListSpliterator.forEachRemaining(Unknown Source)
	at java.base/java.util.stream.AbstractPipeline.copyInto(Unknown Source)
	at java.base/java.util.stream.AbstractPipeline.wrapAndCopyInto(Unknown Source)
	at java.base/java.util.stream.StreamSpliterators$WrappingSpliterator.forEachRemaining(Unknown Source)
	at java.base/java.util.stream.Streams$ConcatSpliterator.forEachRemaining(Unknown Source)
	at java.base/java.util.stream.AbstractPipeline.copyInto(Unknown Source)
	at java.base/java.util.stream.AbstractPipeline.wrapAndCopyInto(Unknown Source)
	at java.base/java.util.stream.ForEachOps$ForEachOp.evaluateSequential(Unknown Source)
	at java.base/java.util.stream.ForEachOps$ForEachOp$OfRef.evaluateSequential(Unknown Source)
	at java.base/java.util.stream.AbstractPipeline.evaluate(Unknown Source)
	at java.base/java.util.stream.ReferencePipeline.forEach(Unknown Source)
	at com.github.tomakehurst.wiremock.extension.Extensions.load(Extensions.java:70)
	at com.github.tomakehurst.wiremock.core.WireMockApp.<init>(WireMockApp.java:92)
	at com.github.tomakehurst.wiremock.WireMockServer.<init>(WireMockServer.java:70)
	at com.github.tomakehurst.wiremock.standalone.WireMockServerRunner.run(WireMockServerRunner.java:69)
	at wiremock.Run.main(Run.java:23)
Caused by: java.lang.ClassNotFoundException: org.apache.hc.client5.http.io.HttpClientConnectionManager
	at java.base/jdk.internal.loader.BuiltinClassLoader.loadClass(Unknown Source)
	at java.base/jdk.internal.loader.ClassLoaders$AppClassLoader.loadClass(Unknown Source)
	at java.base/java.lang.ClassLoader.loadClass(Unknown Source)
	... 20 more