您的位置:首页 > 大数据 > 人工智能

Page needs a session and none is available] with root cause

2015-12-23 16:01 1836 查看
异常:

当访问web项目时,控制台输出Page needs a session and none is available] with root cause相关异常

以下内容有待验证

原因:

%tomcat_home%\work\Catalina\localhost\项目——这个文件夹下缺少SESSIONS.ser这个文件

解决办法:

删除%tomcat_home%\work\Catalina\localhost\项目,取消%tomcat_home%\conf\context.xml中禁用session持久化(<Manager pathname="" />)注释,然后重新启动tomcat
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: