Hello Everyone, i am trying to integrate Wiremock...
# introduce-yourself
a
Hello Everyone, i am trying to integrate Wiremock with Spring boot by using org.wiremock.integrationswiremock spring boot3.6.0, i am using java 21 and spring boot 3.4.2 i am using below config to start wiremock and spring boot parellel
Copy code
@EventListener(ApplicationReadyEvent.class)
public void startWireMockServer(){

    wireMockServer = new WireMockServer(
          WireMockConfiguration.wireMockConfig()
                .port(Integer.parseInt(wiremockPort))
                .usingFilesUnderDirectory(mappingsDirectory)
                .withRootDirectory(filesDirectory)
                .notifier(new ConsoleNotifier(true))
                .enableBrowserProxying(true)

    );

    wireMockServer.start();
}

@EventListener(ContextClosedEvent.class)
public void stopWireMockServer() {
    if(null != wireMockServer){
       wireMockServer.stop();
    }
}
Above logic placed in spring boot main application file Problem: When i am trying to access http://localhost:8082/__admin/swagger-ui/, it showing blank screen and in console showing below 2025-01-28T004326.602+05:30 WARN 21208 --- [Wiremock-poc] [p1281205497-144] o.e.jetty.ee10.servlet.ResourceServlet : Deprecated resourceBase used instead of baseResource 2025-01-28T004326.691+05:30 WARN 21208 --- [Wiremock-poc] [p1281205497-131] o.e.jetty.ee10.servlet.DefaultServlet : Incorrect mapping for DefaultServlet at /swagger-ui/*. Use ResourceServlet Please guide to the solution please, also i am unable to see recorder web UI also