Thanks for the help. I'm not sure why, but I still have servlet-api:2.5 in my dependencies, as well as javax.servlet-api:3.1.0. I read somewhere that javax.servlet-api replaced servlet-api... I removed it manually but it's being brough in from somewhere and I can't work out where. For the first time in a year I wish I was back in eclipse instead of IntelliJ IDEA :( Any chance you can look at my pom.xml files and help me work it out? https://gist.github.com/slugmandrew/1d9acf86be2c7db89031dc60de9df6e2
On 18 August 2016 at 17:08, JonL <[email protected]> wrote: > Besides possibly switching to the gwt-maven-archetypes as Frank suggested, > I just added a comment to my answer. The problem is that you don't need > servlet-api jars on your classpath at all. GWT provides the appropriate > classes for compile time in gwt-user and gwt-dev. > > > On Thursday, August 18, 2016 at 5:54:12 AM UTC-7, Drew Spencer wrote: >> >> Hey all, I have recently changed the structure of my project to separate >> client, server and shared code into their own maven projects (modules). >> >> I am getting a HTTP Error 500 related to the Servlet API: >> *java.lang.NoSuchMethodError: >> javax.servlet.http.HttpServletResponse.getHeader(Ljava/lang/String;)Ljava/lang/String;* >> >> If anyone can help me it would be massively appreciated, as I can't >> really do much without Super Dev Mode >> >> Full info here: http://stackoverflow.com/questions/38979519/why-cant-gwt- >> connect-to-superdevmode-server-in-multi-module-maven-project >> >> Thanks to all for your great work on GWT 2.8. It really is appreciated :) >> > -- > You received this message because you are subscribed to a topic in the > Google Groups "GWT Users" group. > To unsubscribe from this topic, visit https://groups.google.com/d/ > topic/google-web-toolkit/dF8KhbxnlBY/unsubscribe. > To unsubscribe from this group and all its topics, send an email to > [email protected]. > To post to this group, send email to [email protected]. > Visit this group at https://groups.google.com/group/google-web-toolkit. > For more options, visit https://groups.google.com/d/optout. > -- Drew Spencer -- You received this message because you are subscribed to the Google Groups "GWT Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at https://groups.google.com/group/google-web-toolkit. For more options, visit https://groups.google.com/d/optout.
