java.lang.NoSuchMethodError: io.dropwizard.server.DefaultServerFactory.getJerseyRootPath()Ljava/lang/String;

Hot problem!
This exception has a lot of traffic. You can help 45 users by writing a short tip.

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Solutions on the web

via GitHub by michaelruocco
, 1 year ago
io.dropwizard.server.DefaultServerFactory.getJerseyRootPath()Ljava/lang/String;
java.lang.NoSuchMethodError: io.dropwizard.server.DefaultServerFactory.getJerseyRootPath()Ljava/lang/String;
at io.federecio.dropwizard.swagger.ConfigurationHelper.getJerseyRootPath(ConfigurationHelper.java:53)
at io.federecio.dropwizard.swagger.ConfigurationHelper.getSwaggerUriPath(ConfigurationHelper.java:84)
at io.federecio.dropwizard.swagger.SwaggerBundle.run(SwaggerBundle.java:57)
at io.federecio.dropwizard.swagger.SwaggerBundle.run(SwaggerBundle.java:37)
at io.dropwizard.setup.Bootstrap.run(Bootstrap.java:200)
at io.dropwizard.cli.EnvironmentCommand.run(EnvironmentCommand.java:42)
at io.dropwizard.cli.ConfiguredCommand.run(ConfiguredCommand.java:85)
at io.dropwizard.cli.Cli.run(Cli.java:75)
at io.dropwizard.Application.run(Application.java:79)
at uk.co.mruoc.Main.main(Main.java:7)

Users with the same issue

You are the first who have seen this exception.

Write tip

Know the solutions? Share your knowledge to help other developers to debug faster.