looks like a servlet JAR version clash to me
On Wed, Sep 28, 2016 at 11:35 AM, <[email protected]> wrote: > The error is being thrown by org.eclipse.jetty see below: > > Is there a way to get better diagnostics? > > <stuff before> > ... > DEBUG [2016-09-28 15:28:00,628] org.eclipse.jetty.servlet.ServletHandler: > call filter io.dropwizard.servlets.ThreadNameFilter-3f23a3a0 > DEBUG [2016-09-28 15:28:00,628] org.eclipse.jetty.servlet.ServletHandler: > call filter io.dropwizard.jetty.BiDiGzipFilter-493dfb8e > WARN [2016-09-28 15:28:00,629] org.eclipse.jetty.servlet.ServletHandler: > Error for /tch > ! java.lang.NoSuchMethodError: javax.servlet.http. > HttpServletResponse.getHeader(Ljava/lang/String;)Ljava/lang/String; > ! at org.eclipse.jetty.servlets.GzipFilter.doFilter(GzipFilter.java:322) > ! at io.dropwizard.jetty.BiDiGzipFilter.doFilter(BiDiGzipFilter.java:132) > ! at org.eclipse.jetty.servlet.ServletHandler$CachedChain. > doFilter(ServletHandler.java:1652) > ! at io.dropwizard.servlets.ThreadNameFilter.doFilter( > ThreadNameFilter.java:29) > ! at org.eclipse.jetty.servlet.ServletHandler$CachedChain. > doFilter(ServletHandler.java:1652) > ! at io.dropwizard.jersey.filter.AllowedMethodsFilter.handle( > AllowedMethodsFilter.java:43) > ! at io.dropwizard.jersey.filter.AllowedMethodsFilter.doFilter( > AllowedMethodsFilter.java:38) > ! at org.eclipse.jetty.servlet.ServletHandler$CachedChain. > doFilter(ServletHandler.java:1652) > ! at org.eclipse.jetty.servlet.ServletHandler.doHandle( > ServletHandler.java:585) > ! at org.eclipse.jetty.server.handler.ContextHandler. > doHandle(ContextHandler.java:1127) > ! at org.eclipse.jetty.servlet.ServletHandler.doScope( > ServletHandler.java:515) > ! at org.eclipse.jetty.server.handler.ContextHandler. > doScope(ContextHandler.java:1061) > ! at org.eclipse.jetty.server.handler.ScopedHandler.handle( > ScopedHandler.java:141) > ! at org.eclipse.jetty.server.handler.HandlerWrapper.handle( > HandlerWrapper.java:97) > ! at com.codahale.metrics.jetty9.InstrumentedHandler.handle( > InstrumentedHandler.java:240) > ! at io.dropwizard.jetty.RoutingHandler.handle(RoutingHandler.java:51) > ! at org.eclipse.jetty.server.handler.HandlerWrapper.handle( > HandlerWrapper.java:97) > ! at org.eclipse.jetty.server.handler.RequestLogHandler. > handle(RequestLogHandler.java:95) > ! at org.eclipse.jetty.server.handler.HandlerWrapper.handle( > HandlerWrapper.java:97) > ! at org.eclipse.jetty.server.handler.StatisticsHandler. > handle(StatisticsHandler.java:159) > ! at org.eclipse.jetty.server.handler.HandlerWrapper.handle( > HandlerWrapper.java:97) > ! at org.eclipse.jetty.server.Server.handle(Server.java:499) > ! at org.eclipse.jetty.server.HttpChannel.handle(HttpChannel.java:310) > ! at org.eclipse.jetty.server.HttpConnection.onFillable( > HttpConnection.java:257) > ! at org.eclipse.jetty.io.AbstractConnection$2.run( > AbstractConnection.java:540) > ! at org.eclipse.jetty.util.thread.QueuedThreadPool.runJob( > QueuedThreadPool.java:635) > ! at org.eclipse.jetty.util.thread.QueuedThreadPool$3.run( > QueuedThreadPool.java:555) > ! at java.lang.Thread.run(Thread.java:745) > DEBUG [2016-09-28 15:28:00,629] org.eclipse.jetty.servlet.ServletHandler: > (GET /tch)@524260739 org.eclipse.jetty.server.Request@1f3f9583 > 0:0:0:0:0:0:0:1 - - [28/Sep/2016:15:28:00 +0000] "GET /tch HTTP/1.1" 500 - > "-" "curl/7.43.0" 10 > ... > <stuff after> > > > > On Tuesday, September 27, 2016 at 4:14:19 PM UTC-4, Shan Syed wrote: >> >> maybe the particular JAXRS JARs are in conflict; you may have to, via >> maven, exclude the ones that come from Axis >> >> >> >> On Tue, Sep 27, 2016 at 4:02 PM, <[email protected]> wrote: >> >>> All, >>> >>> Does anyone know if DW conflicts with Apache Axis/Axis2? >>> >>> I have a DW app where the REST calls work fine until I add Apache >>> Axis/Axis2 libraries to the build. When I do this, the REST calls throw an >>> error saying the method (i.e. the method that is the REST call) can't be >>> found. Take them out and DW works again. It seem something is stepping on >>> something. I have the logging set at DEBUG but nothing that helps me pin >>> point. >>> >>> Thanks in advance >>> >>> -- >>> 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. >>> >> >> -- > 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. > -- 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.
