org.apache.tomcat.util.http.parser.Cookie.logInvalidHeader A cookie header was received

报错信息

12-Apr-2020 11:05:32.500 信息 [http-nio-8080-exec-2] org.apache.tomcat.util.http
.parser.Cookie.logInvalidHeader A cookie header was received [1585743876,1586598
658,1586598670; Hm_lvt_24b7d5cc1b26f24f256b6869b069278e=1585318724,1586607087; H
m_lpvt_24b7d5cc1b26f24f256b6869b069278e=1586613015; JSESSIONID=BDB1A82DCC9466972
CB988EC4F3B12B5; numberone.session.id=4b1ace2d3c6c418c954d520b4d5f406a; Hm_lpvt_
bb73d66082f0833b3dbfc24cbede0c7f=1586616425] that contained an invalid cookie. T
hat cookie will be ignored.Note: further occurrences of this error will be logge
d at DEBUG level.

解决方法:tomcat/conf/context.xml下面添加如下配置

<CookieProcessor className="org.apache.tomcat.util.http.LegacyCookieProcessor" />
正在加载评论...