前端页面报错,后端没有报错,
HTTP Status 500 - java.lang.IllegalStateException: org.apache.shiro.session.UnknownSessionException: There is no session with id [688b4771-d838-47e6-8c8d-25064c7ab9ce]
try {
System.err.println("----------准备退出------------------");
Subject subject = new Subject.Builder().sessionId(sessionId).buildSubject();
subject.logout();
System.err.println("----------执行了退出2------------------");
} catch (Exception e) {
e.printStackTrace();
}