Probably not.. it looks as though you've got another copy of the servlets API in your classpath somewhere.
"javap" or the utility discussed in the FAQ could help.
Announcement
Collapse
No announcement yet.
X
-
I read the thread and I'm trying to understand how this applies to my issue. I'm using Maven to build which is pulling in SmartGWT version on 4.1-p20140316.Originally posted by Isomorphic View PostSee this thread.
The only reference to anything to do with servlets.jar is this GWT dependency:
<dependency>
<groupId>com.google.gwt</groupId>
<artifactId>gwt-servlet</artifactId>
<version>2.6.0</version>
<scope>runtime</scope>
</dependency>
Other than that I have no reference to a servlets.jar. The above dependency is pulling in gwt-servlet-2.6.0.jar.
Since we're using Maven the only things on our path are in the Maven repository.
Is it possible we need to upgrade to gwt 2.6.1?
Leave a comment:
-
java.lang.NoSuchMethodError: javax.servlet.http.Cookie.isHttpOnly()Z
I'm using SmartGWT 4.1-p20140316 and getting java.lang.NoSuchMethodError: javax.servlet.http.Cookie.isHttpOnly()Z.
This happens as soon as I load my SmartGWT application.
Here's the full call stack:
java.lang.NoSuchMethodError: javax.servlet.http.Cookie.isHttpOnly()Z
at org.eclipse.jetty.server.Response.addCookie(Response.java:162)
at com.isomorphic.servlet.ServletTools.setCookie(ServletTools.java:542)
at com.isomorphic.servlet.ServletTools.setCookie(ServletTools.java:527)
at com.isomorphic.servlet.ServletTools.setCompressionReadyCookie(ServletTools.java:982)
at com.isomorphic.compression.ServletCompression.compressAndSend(ServletCompression.java:154)
at com.isomorphic.servlet.CompressionFilter.doFilter(CompressionFilter.java:387)
at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1474)
at org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:499)
at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:137)
at org.eclipse.jetty.security.SecurityHandler.handle(SecurityHandler.java:557)
at org.eclipse.jetty.server.session.SessionHandler.doHandle(SessionHandler.java:231)
at org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:1086)
at org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:428)
at org.eclipse.jetty.server.session.SessionHandler.doScope(SessionHandler.java:193)
at org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:1020)
at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:135)
at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:116)
at org.eclipse.jetty.server.handler.RequestLogHandler.handle(RequestLogHandler.java:68)
at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:116)
at org.eclipse.jetty.server.Server.handle(Server.java:370)
at org.eclipse.jetty.server.AbstractHttpConnection.handleRequest(AbstractHttpConnection.java:489)
at org.eclipse.jetty.server.AbstractHttpConnection.headerComplete(AbstractHttpConnection.java:949)
at org.eclipse.jetty.server.AbstractHttpConnection$RequestHandler.headerComplete(AbstractHttpConnection.java:1011)
at org.eclipse.jetty.http.HttpParser.parseNext(HttpParser.java:644)
at org.eclipse.jetty.http.HttpParser.parseAvailable(HttpParser.java:235)
at org.eclipse.jetty.server.AsyncHttpConnection.handle(AsyncHttpConnection.java:82)
at org.eclipse.jetty.io.nio.SelectChannelEndPoint.handle(SelectChannelEndPoint.java:668)
at org.eclipse.jetty.io.nio.SelectChannelEndPoint$1.run(SelectChannelEndPoint.java:52)
at org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:608)
at org.eclipse.jetty.util.thread.QueuedThreadPool$3.run(QueuedThreadPool.java:543)
at java.lang.Thread.run(Thread.java:744)Tags: None
Leave a comment: