tomcat 8.5 及其 9.0 response写cookie 设置damain为 [.test.com] 出错 An invalid domain [.test.com] was specified for this cookie java.lang.IllegalArgumentException: An invalid domain [.test.com] was specified for this cookie

NoSuchKey