Setya Djajadinata
05/13/2024, 3:16 PMjava.lang.NoSuchMethodError: 'void org.eclipse.jetty.server.handler.ContextHandler.<init>(org.eclipse.jetty.server.handler.ContextHandler$Context, org.eclipse.jetty.server.HandlerContainer, java.lang.String)'
As I understand this is caused by incompatibility between Wiremock's Jetty (11x) & SpringBoot's (12x).
I've tried to replace with wiremock-jetty12 v3.5.4 but it wouldn't start, hence the following error:
java.lang.IllegalStateException: Not listening on HTTP port. Either HTTP is not enabled or the WireMock server is stopped.
Any help would be greatly appreciated.
Regards,
SetyaLee Turner
05/14/2024, 8:14 AMSetya Djajadinata
05/15/2024, 1:48 PMjava.lang.IncompatibleClassChangeError: class org.eclipse.jetty.http2.server.HttpChannelOverHTTP2 has interface org.eclipse.jetty.server.HttpChannel as super class
If you replace wiremock -> wiremock-jetty12, no error thrown but it won't start the mocked server.
Best regards,
SetyaLee Turner
05/15/2024, 3:49 PMLee Turner
05/15/2024, 4:33 PMSetya Djajadinata
05/16/2024, 2:20 AM