-
Notifications
You must be signed in to change notification settings - Fork 5.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
启动抛异常 java.io.OptionalDataException #477
Comments
前面还有个错误: |
问题已经解决了,因为开了多个jeesite项目,只需要把tomcat路径下temp文件夹中shiro产生的文件删除,然后重新运行就好了 |
问题具体原因是什么呢?我也遇到了这个问题,具体是使用一段时间后报这个问题,同样删除temp下文件后会暂时解决。但问题怎么能彻底解决呢? |
使用Intellij idea tomcat 运行 Jeesite,点登陆后抛出如下异常:
Caused by: org.apache.shiro.cache.CacheException: org.apache.shiro.cache.CacheException: net.sf.ehcache.CacheException: java.io.OptionalDataException at org.apache.shiro.cache.ehcache.EhCache.values(EhCache.java:182) at org.apache.shiro.session.mgt.eis.CachingSessionDAO.getActiveSessions(CachingSessionDAO.java:345) at com.thinkgem.jeesite.common.security.shiro.session.CacheSessionDAO.getActiveSessions(CacheSessionDAO.java:152) at com.thinkgem.jeesite.common.security.shiro.session.CacheSessionDAO.getActiveSessions(CacheSessionDAO.java:135) at com.thinkgem.jeesite.modules.sys.security.SystemAuthorizingRealm.doGetAuthenticationInfo(SystemAuthorizingRealm.java:66) at org.apache.shiro.realm.AuthenticatingRealm.getAuthenticationInfo(AuthenticatingRealm.java:568) at org.apache.shiro.authc.pam.ModularRealmAuthenticator.doSingleRealmAuthentication(ModularRealmAuthenticator.java:180) at org.apache.shiro.authc.pam.ModularRealmAuthenticator.doAuthenticate(ModularRealmAuthenticator.java:267) at org.apache.shiro.authc.AbstractAuthenticator.authenticate(AbstractAuthenticator.java:198)
The text was updated successfully, but these errors were encountered: