Your code looks correct; the resource path appears to be bugged in 1.3.0-rc6 but not in 1.2.0.
On Tuesday, February 20, 2018 at 7:37:44 AM UTC-5, Thomas Sundberg wrote: > > Hi! > > Here is an example showing the logging I mentioned: > > https://github.com/tsundberg/dropwizard-broken-startup-logging > > Cheers, > Thomas > > > > On 20 February 2018 at 10:51, Jochen Schalanda <[email protected] > <javascript:>> wrote: > > Hi Thomas, > > > > please provide a minimal example project to reproduce this. > > > > Cheers, > > Jochen > > > >> Am 20.02.2018 um 09:29 schrieb Thomas Sundberg <[email protected] > <javascript:>>: > >> > >> Hi! > >> > >> When I start my Dropwizard application, I see this logging: > >> > >> INFO [2018-02-20 08:22:18,927] > >> io.dropwizard.jersey.DropwizardResourceConfig: The following paths > >> were found for the configured resources: > >> > >> GET //hello-world > (se.arbetsformedlingen.hag.greeting.GreetingResource) > >> > >> INFO [2018-02-20 08:22:18,929] > >> org.eclipse.jetty.server.handler.ContextHandler: Started > >> i.d.j.MutableServletContextHandler@7a6ea47d{/,null,AVAILABLE} > >> > >> Is there anything I can do to remove one of the // in the GET > >> endpoint? Or is this logging expected? > >> > >> I had expected the log to look like this: > >> > >> GET /hello-world > (se.arbetsformedlingen.hag.greeting.GreetingResource) > >> > >> > >> Cheers, > >> Thomas > > > > -- > > You received this message because you are subscribed to the Google > Groups "dropwizard-user" group. > > To unsubscribe from this group and stop receiving emails from it, send > an email to [email protected] <javascript:>. > > For more options, visit https://groups.google.com/d/optout. > > > > -- > Thomas Sundberg > M. Sc. in Computer Science > > Mobile: +46 70 767 33 15 > Blog: http://www.thinkcode.se/blog > Twitter: @thomassundberg > > Better software through faster feedback > -- You received this message because you are subscribed to the Google Groups "dropwizard-user" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.
