I'm trying to upgrade Jetty version from 7.4 to one compliant with servlet 3.0 specification like 8.1.4, as well as GWT from 2.3 to 2.5.
While doing so, I found that jetty's Response.addCookie(Cookie) method calls for a method in Cookie class that hasn't been declared or implemented, resulting in the following error:
javax.servlet.http.Cookie.isHttpOnly()Z
at org.eclipse.jetty.server.Response.addCookie(Response.java:161)
I already checked, and servlet-3.0's Cookie class has the isHttp() method, but gwt-user.jar has another implementation not compliant with servlet 3.0(meaning it doesn't define that method, as well as some others).
At this point, I'm not sure to what code it's binding, and I can't debug the code(it is executed in a server for which I can only access log files and jars)
Changing the order of dependencies in the pom file proved unsuccessful, so I've run out of ideas.
PD: There is also a dependency for j2ee-1.4 jar, which has a Cookie class not compliant with Servlet 3.0