Monday, July 17, 2017

Upgrading to GWT 2.8.1

I have a problem upgrading to GWT 2.8.1 from 2.7.0. 

Changed version of gwt in pom. Checked dependencies, updated them. Changed servlet-api version to 3.1.0. 

When I try to run application code server has an error: 

HTTP ERROR: 500

Problem accessing /. Reason:

    java.lang.NoSuchMethodError: javax.servlet.http.HttpServletResponse.getHeader(Ljava/lang/String;)Ljava/lang/String;


Powered by Jetty://

From what I got, I understand that Code server trying to use wrong version of servlet-api. I see in my classpath servlet-api version 2.3, but I removed all other servlet-api versions in every dependency has it. 

I would glad to look in your recommendations. 

--
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 google-web-toolkit+unsubscribe@googlegroups.com.
To post to this group, send email to google-web-toolkit@googlegroups.com.
Visit this group at https://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/d/optout.

No comments:

Post a Comment