在tomcat的conf文件下的context.xml中加入

<CookieProcessor className="org.apache.tomcat.util.http.LegacyCookieProcessor" /> 

 然后重启tomcat即可

如图

解决  An invalid domain was specified for this cookie

 

相关文章: