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

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

Samebug tips

Do you know how to solve this issue? Write a tip to help other users and build your expert profile.

Solutions on the web

via oschina.net by Unknown author, 1 year ago
javax.servlet.http.Cookie.isHttpOnly()Z
via Google Groups by V.B., 10 months ago
javax.servlet.http.Cookie.isHttpOnly()Z
via smartclient.com by Unknown author, 1 year ago
via jfinalbbs.com by Unknown author, 1 year ago
javax.servlet.http.Cookie.isHttpOnly()Z
java.lang.NoSuchMethodError: javax.servlet.http.Cookie.isHttpOnly()Z
at ninja.servlet.NinjaServletContext.addCookie(NinjaServletContext.java:313)
at ninja.session.SessionImpl.save(SessionImpl.java:259)
at ninja.utils.AbstractContext.finalizeHeaders(AbstractContext.java:309)
at ninja.servlet.NinjaServletContext.finalizeHeaders(NinjaServletContext.java:364)
at ninja.utils.AbstractContext.finalizeHeaders(AbstractContext.java:328)
at ninja.template.TemplateEngineJson.invoke(TemplateEngineJson.java:50)
at ninja.utils.ResultHandler.renderWithTemplateEngineOrRaw(ResultHandler.java:116)
at ninja.utils.ResultHandler.handleResult(ResultHandler.java:78)
at ninja.NinjaDefault.onRouteRequest(NinjaDefault.java:104)
at ninja.servlet.NinjaServletDispatcher.service(NinjaServletDispatcher.java:86)
at com.google.inject.servlet.ServletDefinition.doServiceImpl(ServletDefinition.java:287)
at com.google.inject.servlet.ServletDefinition.doService(ServletDefinition.java:277)
at com.google.inject.servlet.ServletDefinition.service(ServletDefinition.java:182)
at com.google.inject.servlet.ManagedServletPipeline.service(ManagedServletPipeline.java:91)
at com.google.inject.servlet.ManagedFilterPipeline.dispatch(ManagedFilterPipeline.java:119)
at com.google.inject.servlet.GuiceFilter$1.call(GuiceFilter.java:133)
at com.google.inject.servlet.GuiceFilter$1.call(GuiceFilter.java:130)
at com.google.inject.servlet.GuiceFilter$Context.call(GuiceFilter.java:203)
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 org.eclipse.jetty.server.Server.handle(Server.java:497)
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 java.lang.Thread.run(Thread.java:745)

Users with the same issue

You are the first who have seen this exception. Write a tip to help other users and build your expert profile.

Write tip

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