I am getting an error when I try to run any example of dropwizard. The full text of the error is:
Exception in thread "main" java.lang.NoSuchMethodError: com.yammer.dropwizard.logging.LogFormatter.setOutputPatternAsHeader(Z)V
at com.yammer.dropwizard.logging.LogFormatter.<init>(LogFormatter.java:14)
at com.yammer.dropwizard.logging.LogbackFactory.buildConsoleAppender(LogbackFactory.java:92)
at com.yammer.dropwizard.config.LoggingFactory.bootstrap(LoggingFactory.java:34)
at com.yammer.dropwizard.Service.<clinit>(Service.java:19)
I have gotten this example with many different examples that all work correctly on other computers. Does anyone know how to fix this?