Wednesday, December 30, 2015

How to solve RPC error: Character Encoding is 'text/'. Expected 'UTF-8'

Sometimes I do get the following stacktrace during RPC communication with the Tomcat backend.
Any idea how to solve this, and what could cause this ?
- Ed

javax.servlet.ServletException: Character Encoding is 'text/'. Expected 'UTF-8' 

    at com.google.gwt.user.server.rpc.RPCServletUtils.checkCharacterEncodingIgnoreCase(RPCServletUtils.java:439) 

    at com.google.gwt.user.server.rpc.RPCServletUtils.readContent(RPCServletUtils.java:212) 

    at com.google.gwt.user.server.rpc.RPCServletUtils.readContentAsGwtRpc(RPCServletUtils.java:252) 

    at com.google.gwt.user.server.rpc.AbstractRemoteServiceServlet.readContent(AbstractRemoteServiceServlet.java:182)






--
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