shahshi15
shahshi15

Reputation: 2987

Dropwizard upgrade from 0.7 to 0.8.0 release error

I recently upgraded from 0.7 to 0.8 release version of dropwizard. Right out-of-the-box, I get the following error when I am trying to start my application. I have cleaned my maven repository and started fresh but still no luck.

INFO  [2015-03-11 20:03:45,144] io.dropwizard.server.ServerFactory: Starting CoreApplication
    Exception in thread "main" java.lang.NoClassDefFoundError: org/eclipse/jetty/http/HttpGenerator$CachedHttpField
        at io.dropwizard.server.AbstractServerFactory.buildServer(AbstractServerFactory.java:490)
        at io.dropwizard.server.DefaultServerFactory.build(DefaultServerFactory.java:155)

All help appreciated !

Upvotes: 2

Views: 757

Answers (1)

Natan
Natan

Reputation: 2858

It sounds like you have an old jetty dependency in your maven which doesn't match the one dropwizard 0.8 has, which should be 9.2.9.v20150224.

Upvotes: 3

Related Questions