Bips M
10/24/2023, 5:46 PMCaused by: java.lang.NoSuchMethodError: 'void org.eclipse.jetty.server.NetworkTrafficServerConnector.setNetworkTrafficListener(org.eclipse.jetty.io.NetworkTrafficListener)'
at com.github.tomakehurst.wiremock.jetty11.Jetty11Utils.createServerConnector(Jetty11Utils.java:44)
at com.github.tomakehurst.wiremock.jetty11.Jetty11HttpServer.createHttpConnector(Jetty11HttpServer.java:55)
at com.github.tomakehurst.wiremock.jetty.JettyHttpServer.<init>(JettyHttpServer.java:89)
at com.github.tomakehurst.wiremock.jetty11.Jetty11HttpServer.<init>(Jetty11HttpServer.java:44)
at com.github.tomakehurst.wiremock.jetty.JettyHttpServerFactory.buildHttpServer(JettyHttpServerFactory.java:31)
at com.github.tomakehurst.wiremock.WireMockServer.<init>(WireMockServer.java:81)
at com.github.tomakehurst.wiremock.WireMockServer.<init>(WireMockServer.java:123)
jetty dependency tree
mvn dependency:tree | grep -i jetty
[INFO] | +- org.eclipse.jetty:jetty-server:jar:9.4.43.v20210629:compile
[INFO] | | +- org.eclipse.jetty:jetty-http:jar:9.4.43.v20210629:compile
[INFO] | | \- org.eclipse.jetty:jetty-io:jar:9.4.43.v20210629:compile
[INFO] | +- org.eclipse.jetty:jetty-servlet:jar:9.4.43.v20210629:compile
[INFO] | | +- org.eclipse.jetty:jetty-security:jar:9.4.43.v20210629:compile
[INFO] | | \- org.eclipse.jetty:jetty-util-ajax:jar:9.4.43.v20210629:compile
[INFO] | +- org.eclipse.jetty:jetty-servlets:jar:9.4.43.v20210629:compile
[INFO] | | +- org.eclipse.jetty:jetty-continuation:jar:9.4.43.v20210629:compile
[INFO] | | \- org.eclipse.jetty:jetty-util:jar:9.4.43.v20210629:compile
[INFO] | +- org.eclipse.jetty:jetty-webapp:jar:9.4.43.v20210629:compile
[INFO] | | \- org.eclipse.jetty:jetty-xml:jar:9.4.43.v20210629:compile
[INFO] | +- org.eclipse.jetty:jetty-proxy:jar:9.4.43.v20210629:compile
[INFO] | | \- org.eclipse.jetty:jetty-client:jar:9.4.43.v20210629:compile
[INFO] | +- org.eclipse.jetty.http2:http2-server:jar:9.4.43.v20210629:compile
[INFO] | | \- org.eclipse.jetty.http2:http2-common:jar:9.4.43.v20210629:compile
[INFO] | | \- org.eclipse.jetty.http2:http2-hpack:jar:9.4.43.v20210629:compile
[INFO] | +- org.eclipse.jetty:jetty-alpn-server:jar:9.4.43.v20210629:compile
[INFO] | +- org.eclipse.jetty:jetty-alpn-java-server:jar:9.4.43.v20210629:compile
[INFO] | +- org.eclipse.jetty:jetty-alpn-java-client:jar:9.4.43.v20210629:compile
[INFO] | +- org.eclipse.jetty:jetty-alpn-client:jar:9.4.43.v20210629:compile
Oleg Nenashev
10/24/2023, 5:56 PMBips M
10/24/2023, 6:35 PMWireMockServer wireMockServer = new WireMockServer(8089);
wireMockServer.start();
<groupId>org.wiremock</groupId>
<artifactId>wiremock</artifactId>
<version>3.2.0</version>
Oleg Nenashev
10/24/2023, 6:41 PMBips M
10/24/2023, 6:42 PMOleg Nenashev
10/24/2023, 6:44 PMBips M
10/24/2023, 6:47 PMSLF4J: Class path contains SLF4J bindings targeting slf4j-api versions 1.7.x or earlier.
SLF4J: Ignoring binding found at [jar:file:/Users/bmulik/.m2/repository/org/wiremock/wiremock-standalone/3.2.0/wiremock-standalone-3.2.0.jar!/wiremock/org/slf4j/impl/StaticLoggerBinder.class]
Oleg Nenashev
10/24/2023, 7:04 PMBips M
10/24/2023, 7:50 PMOleg Nenashev
10/24/2023, 8:46 PM