javax.ws.rs.WebApplicationException: com.sun.jersey.api.MessageException: A message body writer for Java class org.glassfish.jersey.media.sse.EventOutput, and Java type class org.glassfish.jersey.media.sse.EventOutput, and MIME media type text/event-stream was not found.

tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    Jersey server sent event

    Stack Overflow | 7 months ago | Alexlionnel Sieyadjeu
    javax.ws.rs.WebApplicationException: com.sun.jersey.api.MessageException: A message body writer for Java class org.glassfish.jersey.media.sse.EventOutput, and Java type class org.glassfish.jersey.media.sse.EventOutput, and MIME media type text/event-stream was not found.
  2. 0

    Jersey Exception : A message body reader for Java class and MIME media type application/x-www-form-urlencoded was not found

    Stack Overflow | 1 year ago | Ankur Mahajan
    javax.ws.rs.WebApplicationException: com.sun.jersey.api.MessageException: A message body reader for Java class java.util.Map, and Java type java.util.Map<java.lang.String, java.lang.Object>, and MIME media type application/x-www-form-urlencoded was not found.
  3. Speed up your debug routine!

    Automated exception search integrated into your IDE

  4. 0

    Re: Posting Metrics to Ambari - Metrics Collector

    ambari-user | 1 year ago | Aravindan Vijayan
    javax.ws.rs.WebApplicationException
  5. 0

    Re: Posting Metrics to Ambari - Metrics Collector

    ambari-user | 1 year ago | matt Lieber
    javax.ws.rs.WebApplicationException

  1. Bradford Hovinen 1 times, last 1 year ago
5 unregistered visitors
Not finding the right solution?
Take a tour to get the most out of Samebug.

Tired of useless tips?

Automated exception search integrated into your IDE

Root Cause Analysis

  1. javax.ws.rs.WebApplicationException

    com.sun.jersey.api.MessageException: A message body writer for Java class org.glassfish.jersey.media.sse.EventOutput, and Java type class org.glassfish.jersey.media.sse.EventOutput, and MIME media type text/event-stream was not found.

    at com.sun.jersey.spi.container.ContainerResponse.write()
  2. Jersey
    WebApplicationImpl.handleRequest
    1. com.sun.jersey.spi.container.ContainerResponse.write(ContainerResponse.java:284)
    2. com.sun.jersey.server.impl.application.WebApplicationImpl._handleRequest(WebApplicationImpl.java:1510)
    3. com.sun.jersey.server.impl.application.WebApplicationImpl.handleRequest(WebApplicationImpl.java:1419)
    4. com.sun.jersey.server.impl.application.WebApplicationImpl.handleRequest(WebApplicationImpl.java:1409)
    4 frames
  3. Jersey
    ServletContainer.doFilter
    1. com.sun.jersey.spi.container.servlet.WebComponent.service(WebComponent.java:409)
    2. com.sun.jersey.spi.container.servlet.ServletContainer.service(ServletContainer.java:558)
    3. com.sun.jersey.spi.container.servlet.ServletContainer.doFilter(ServletContainer.java:927)
    4. com.sun.jersey.spi.container.servlet.ServletContainer.doFilter(ServletContainer.java:875)
    5. com.sun.jersey.spi.container.servlet.ServletContainer.doFilter(ServletContainer.java:829)
    5 frames
  4. Jetty
    ServletHandler$CachedChain.doFilter
    1. org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1484)
    1 frame
  5. Spring Security
    FilterChainProxy$VirtualFilterChain.doFilter
    1. org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:330)
    2. org.springframework.security.web.access.intercept.FilterSecurityInterceptor.invoke(FilterSecurityInterceptor.java:118)
    3. org.springframework.security.web.access.intercept.FilterSecurityInterceptor.doFilter(FilterSecurityInterceptor.java:84)
    4. org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:342)
    5. org.springframework.security.web.access.ExceptionTranslationFilter.doFilter(ExceptionTranslationFilter.java:113)
    6. org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:342)
    7. org.springframework.security.web.session.SessionManagementFilter.doFilter(SessionManagementFilter.java:103)
    8. org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:342)
    9. org.springframework.security.web.authentication.AnonymousAuthenticationFilter.doFilter(AnonymousAuthenticationFilter.java:113)
    10. org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:342)
    11. org.springframework.security.web.servletapi.SecurityContextHolderAwareRequestFilter.doFilter(SecurityContextHolderAwareRequestFilter.java:154)
    12. org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:342)
    13. org.springframework.security.web.savedrequest.RequestCacheAwareFilter.doFilter(RequestCacheAwareFilter.java:45)
    14. org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:342)
    15. org.springframework.security.web.authentication.AbstractAuthenticationProcessingFilter.doFilter(AbstractAuthenticationProcessingFilter.java:199)
    16. org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:342)
    17. org.springframework.security.web.authentication.logout.LogoutFilter.doFilter(LogoutFilter.java:110)
    18. org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:342)
    18 frames
  6. org.springframework.security
    WebAsyncManagerIntegrationFilter.doFilterInternal
    1. org.springframework.security.web.context.request.async.WebAsyncManagerIntegrationFilter.doFilterInternal(WebAsyncManagerIntegrationFilter.java:50)
    1 frame
  7. Spring
    OncePerRequestFilter.doFilter
    1. org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:108)
    1 frame
  8. Spring Security
    FilterChainProxy.doFilter
    1. org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:342)
    2. org.springframework.security.web.context.SecurityContextPersistenceFilter.doFilter(SecurityContextPersistenceFilter.java:87)
    3. org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:342)
    4. org.springframework.security.web.FilterChainProxy.doFilterInternal(FilterChainProxy.java:192)
    5. org.springframework.security.web.FilterChainProxy.doFilter(FilterChainProxy.java:160)
    5 frames
  9. Spring
    DelegatingFilterProxy.doFilter
    1. org.springframework.web.filter.DelegatingFilterProxy.invokeDelegate(DelegatingFilterProxy.java:344)
    2. org.springframework.web.filter.DelegatingFilterProxy.doFilter(DelegatingFilterProxy.java:261)
    2 frames
  10. Jetty
    AsyncHttpConnection.handle
    1. org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1484)
    2. org.eclipse.jetty.servlets.CrossOriginFilter.handle(CrossOriginFilter.java:247)
    3. org.eclipse.jetty.servlets.CrossOriginFilter.doFilter(CrossOriginFilter.java:210)
    4. org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1476)
    5. org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:501)
    6. org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:137)
    7. org.eclipse.jetty.security.SecurityHandler.handle(SecurityHandler.java:557)
    8. org.eclipse.jetty.server.session.SessionHandler.doHandle(SessionHandler.java:231)
    9. org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:1086)
    10. org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:429)
    11. org.eclipse.jetty.server.session.SessionHandler.doScope(SessionHandler.java:193)
    12. org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:1020)
    13. org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:135)
    14. org.eclipse.jetty.server.handler.ContextHandlerCollection.handle(ContextHandlerCollection.java:255)
    15. org.eclipse.jetty.server.handler.HandlerCollection.handle(HandlerCollection.java:154)
    16. org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:116)
    17. org.eclipse.jetty.server.Server.handle(Server.java:370)
    18. org.eclipse.jetty.server.AbstractHttpConnection.handleRequest(AbstractHttpConnection.java:494)
    19. org.eclipse.jetty.server.AbstractHttpConnection.headerComplete(AbstractHttpConnection.java:971)
    20. org.eclipse.jetty.server.AbstractHttpConnection$RequestHandler.headerComplete(AbstractHttpConnection.java:1033)
    21. org.eclipse.jetty.http.HttpParser.parseNext(HttpParser.java:644)
    22. org.eclipse.jetty.http.HttpParser.parseAvailable(HttpParser.java:235)
    23. org.eclipse.jetty.server.AsyncHttpConnection.handle(AsyncHttpConnection.java:82)
    23 frames
  11. GWT dev
    SelectChannelEndPoint$1.run
    1. org.eclipse.jetty.io.nio.SelectChannelEndPoint.handle(SelectChannelEndPoint.java:696)
    2. org.eclipse.jetty.io.nio.SelectChannelEndPoint$1.run(SelectChannelEndPoint.java:53)
    2 frames
  12. Jetty
    QueuedThreadPool$3.run
    1. org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:608)
    2. org.eclipse.jetty.util.thread.QueuedThreadPool$3.run(QueuedThreadPool.java:543)
    2 frames
  13. Java RT
    Thread.run
    1. java.lang.Thread.run(Thread.java:745)
    1 frame