org.jboss.resteasy.spi.UnsupportedMediaTypeException: RESTEASY001055: Cannot consume content type

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 Stack Overflow by Nico
, 1 year ago
RESTEASY001055: Cannot consume content type
via Stack Overflow by echew
, 2 years ago
via howtobuildsoftware.com by Unknown author, 1 year ago
via Stack Overflow by k-nash
, 2 years ago
via Google Groups by Unknown author, 3 months ago
org.jboss.resteasy.spi.UnsupportedMediaTypeException: RESTEASY001055: Cannot consume content type
at org.jboss.resteasy.core.registry.Segment.match(Segment.java:118)
at org.jboss.resteasy.core.registry.SimpleSegment.matchSimple(SimpleSegment.java:34)
at org.jboss.resteasy.core.registry.RootSegment.matchChildren(RootSegment.java:328)
at org.jboss.resteasy.core.registry.SimpleSegment.matchSimple(SimpleSegment.java:45)
at org.jboss.resteasy.core.registry.RootSegment.matchChildren(RootSegment.java:328)
at org.jboss.resteasy.core.registry.SimpleSegment.matchSimple(SimpleSegment.java:45)
at org.jboss.resteasy.core.registry.RootSegment.matchChildren(RootSegment.java:328)
at org.jboss.resteasy.core.registry.SimpleSegment.matchSimple(SimpleSegment.java:45)
at org.jboss.resteasy.core.registry.RootSegment.matchChildren(RootSegment.java:328)
at org.jboss.resteasy.core.registry.RootSegment.matchRoot(RootSegment.java:375)
at org.jboss.resteasy.core.registry.RootSegment.matchRoot(RootSegment.java:368)
at org.jboss.resteasy.core.ResourceMethodRegistry.getResourceInvoker(ResourceMethodRegistry.java:349)
at org.jboss.resteasy.core.SynchronousDispatcher.getInvoker(SynchronousDispatcher.java:191)
at org.jboss.resteasy.core.SynchronousDispatcher.invoke(SynchronousDispatcher.java:124)
at org.jboss.resteasy.plugins.server.servlet.ServletContainerDispatcher.service(ServletContainerDispatcher.java:208)
at org.jboss.resteasy.plugins.server.servlet.HttpServletDispatcher.service(HttpServletDispatcher.java:55)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:847)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:295)
at ar.com.flexibility.app.filter.ApiOriginFilter.doFilterInternal(ApiOriginFilter.java:46)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:246)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:214)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:231)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:149)
at org.jboss.as.web.security.SecurityContextAssociationValve.invoke(SecurityContextAssociationValve.java:169)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:150)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:97)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:102)
at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:854)
at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:653)
at java.lang.Thread.run(Unknown Source)

Users with the same issue

Samebug visitor profile picture
Unknown user
Once, 2 years ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago

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