java.lang.NoSuchMethodError: javax.servlet.http.Cookie.isHttpOnly()Z

GitHub | eagwasim | 6 months ago
tip
Click on the to mark the solution that helps you, Samebug will learn from it.
As a community member, you’ll be rewarded for you help.
  1. 0

    开源中国(OSChina.NET)

    oschina.net | 9 months ago
    java.lang.NoSuchMethodError: javax.servlet.http.Cookie.isHttpOnly()Z
  2. Speed up your debug routine!

    Automated exception search integrated into your IDE

  3. 0

    登陆失败,存在这个用户 - JFinalbbs

    jfinalbbs.com | 9 months ago
    java.lang.RuntimeException: java.lang.reflect.InvocationTargetException
  4. 0

    BeeStore Example Compilation Error(s)

    Google Groups | 6 months ago | V.B.
    java.lang.NoSuchMethodError: javax.servlet.http.Cookie.isHttpOnly()Z

    Root Cause Analysis

    1. java.lang.NoSuchMethodError

      javax.servlet.http.Cookie.isHttpOnly()Z

      at org.eclipse.jetty.server.Response.addCookie()
    2. Jetty
      Response.addCookie
      1. org.eclipse.jetty.server.Response.addCookie(Response.java:239)[jetty-server-9.2.10.v20150310.jar:9.2.10.v20150310]
      1 frame
    3. ninja.servlet
      NinjaServletContext.addCookie
      1. ninja.servlet.NinjaServletContext.addCookie(NinjaServletContext.java:313)[ninja-servlet-5.7.0.jar:na]
      1 frame
    4. ninja.session
      SessionImpl.save
      1. ninja.session.SessionImpl.save(SessionImpl.java:259)[ninja-core-5.7.0.jar:na]
      1 frame
    5. ninja.utils
      AbstractContext.finalizeHeaders
      1. ninja.utils.AbstractContext.finalizeHeaders(AbstractContext.java:309)[ninja-core-5.7.0.jar:na]
      1 frame
    6. ninja.servlet
      NinjaServletContext.finalizeHeaders
      1. ninja.servlet.NinjaServletContext.finalizeHeaders(NinjaServletContext.java:364)[ninja-servlet-5.7.0.jar:na]
      1 frame
    7. ninja.utils
      AbstractContext.finalizeHeaders
      1. ninja.utils.AbstractContext.finalizeHeaders(AbstractContext.java:328)[ninja-core-5.7.0.jar:na]
      1 frame
    8. ninja.template
      TemplateEngineJson.invoke
      1. ninja.template.TemplateEngineJson.invoke(TemplateEngineJson.java:50)[ninja-core-5.7.0.jar:na]
      1 frame
    9. ninja.utils
      ResultHandler.handleResult
      1. ninja.utils.ResultHandler.renderWithTemplateEngineOrRaw(ResultHandler.java:116)[ninja-core-5.7.0.jar:na]
      2. ninja.utils.ResultHandler.handleResult(ResultHandler.java:78)[ninja-core-5.7.0.jar:na]
      2 frames
    10. ninja
      NinjaDefault.onRouteRequest
      1. ninja.NinjaDefault.onRouteRequest(NinjaDefault.java:104)[ninja-core-5.7.0.jar:na]
      1 frame
    11. ninja.servlet
      NinjaServletDispatcher.service
      1. ninja.servlet.NinjaServletDispatcher.service(NinjaServletDispatcher.java:86)[ninja-servlet-5.7.0.jar:na]
      1 frame
    12. Guice - Servlet
      GuiceFilter.doFilter
      1. com.google.inject.servlet.ServletDefinition.doServiceImpl(ServletDefinition.java:287)[guice-servlet-4.0.jar:na]
      2. com.google.inject.servlet.ServletDefinition.doService(ServletDefinition.java:277)[guice-servlet-4.0.jar:na]
      3. com.google.inject.servlet.ServletDefinition.service(ServletDefinition.java:182)[guice-servlet-4.0.jar:na]
      4. com.google.inject.servlet.ManagedServletPipeline.service(ManagedServletPipeline.java:91)[guice-servlet-4.0.jar:na]
      5. com.google.inject.servlet.ManagedFilterPipeline.dispatch(ManagedFilterPipeline.java:119)[guice-servlet-4.0.jar:na]
      6. com.google.inject.servlet.GuiceFilter$1.call(GuiceFilter.java:133)[guice-servlet-4.0.jar:na]
      7. com.google.inject.servlet.GuiceFilter$1.call(GuiceFilter.java:130)[guice-servlet-4.0.jar:na]
      8. com.google.inject.servlet.GuiceFilter$Context.call(GuiceFilter.java:203)[guice-servlet-4.0.jar:na]
      9. com.google.inject.servlet.GuiceFilter.doFilter(GuiceFilter.java:130)[guice-servlet-4.0.jar:na]
      9 frames
    13. Jetty
      QueuedThreadPool$3.run
      1. org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1652)[jetty-servlet-9.2.10.v20150310.jar:9.2.10.v20150310]
      2. org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:585)[jetty-servlet-9.2.10.v20150310.jar:9.2.10.v20150310]
      3. org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:1127)[jetty-server-9.2.10.v20150310.jar:9.2.10.v20150310]
      4. org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:515)[jetty-servlet-9.2.10.v20150310.jar:9.2.10.v20150310]
      5. org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:1061)[jetty-server-9.2.10.v20150310.jar:9.2.10.v20150310]
      6. org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:141)[jetty-server-9.2.10.v20150310.jar:9.2.10.v20150310]
      7. org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:97)[jetty-server-9.2.10.v20150310.jar:9.2.10.v20150310]
      8. org.eclipse.jetty.server.Server.handle(Server.java:497)[jetty-server-9.2.10.v20150310.jar:9.2.10.v20150310]
      9. org.eclipse.jetty.server.HttpChannel.handle(HttpChannel.java:310)[jetty-server-9.2.10.v20150310.jar:9.2.10.v20150310]
      10. org.eclipse.jetty.server.HttpConnection.onFillable(HttpConnection.java:257)[jetty-server-9.2.10.v20150310.jar:9.2.10.v20150310]
      11. org.eclipse.jetty.io.AbstractConnection$2.run(AbstractConnection.java:540)[jetty-io-9.2.10.v20150310.jar:9.2.10.v20150310]
      12. org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:635)[jetty-util-9.2.10.v20150310.jar:9.2.10.v20150310]
      13. org.eclipse.jetty.util.thread.QueuedThreadPool$3.run(QueuedThreadPool.java:555)[jetty-util-9.2.10.v20150310.jar:9.2.10.v20150310]
      13 frames
    14. Java RT
      Thread.run
      1. java.lang.Thread.run(Thread.java:745)[na:1.8.0_40]
      1 frame