[
https://issues.apache.org/jira/browse/SHIRO-816?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17365507#comment-17365507
]
Paul Howell commented on SHIRO-816:
-----------------------------------
Hello, I've just been trying to upgrade hazelcast from 3.12.6 to 4.1 (using
payaramicro)
I'm also seeing the following exception, hope this helps.
{code:java}
// code
placehold[#|2021-06-18T12:50:52.785+0000|SEVERE||org.apache.shiro.web.env.EnvironmentLoader|_ThreadID=1;_ThreadName=main;_TimeMillis=1624020652785;_LevelValue=1000;|Shiro
environment initialization failed
java.lang.NoSuchMethodError: 'com.hazelcast.core.IMap
com.hazelcast.core.HazelcastInstance.getMap(java.lang.String)'
at
org.apache.shiro.hazelcast.cache.HazelcastCacheManager.getCache(HazelcastCacheManager.java:99)
at
org.apache.shiro.realm.AuthorizingRealm.getAuthorizationCacheLazy(AuthorizingRealm.java:246)
at
org.apache.shiro.realm.AuthorizingRealm.getAvailableAuthorizationCache(AuthorizingRealm.java:261)
at
org.apache.shiro.realm.AuthorizingRealm.afterCacheManagerSet(AuthorizingRealm.java:227)
at
org.apache.shiro.realm.CachingRealm.setCacheManager(CachingRealm.java:96)
at
org.apache.shiro.mgt.RealmSecurityManager.applyCacheManagerToRealms(RealmSecurityManager.java:118)
at
org.apache.shiro.mgt.RealmSecurityManager.afterRealmsSet(RealmSecurityManager.java:87)
at
org.apache.shiro.mgt.AuthenticatingSecurityManager.afterRealmsSet(AuthenticatingSecurityManager.java:96)
at
org.apache.shiro.mgt.AuthorizingSecurityManager.afterRealmsSet(AuthorizingSecurityManager.java:100)
at
org.apache.shiro.mgt.RealmSecurityManager.setRealms(RealmSecurityManager.java:83)
at
org.apache.shiro.config.IniSecurityManagerFactory.applyRealmsToSecurityManager(IniSecurityManagerFactory.java:240)
at
org.apache.shiro.config.IniSecurityManagerFactory.createSecurityManager(IniSecurityManagerFactory.java:151)
at
org.apache.shiro.config.IniSecurityManagerFactory.createSecurityManager(IniSecurityManagerFactory.java:107)
at
org.apache.shiro.config.IniSecurityManagerFactory.createInstance(IniSecurityManagerFactory.java:98)
at
org.apache.shiro.config.IniSecurityManagerFactory.createInstance(IniSecurityManagerFactory.java:47)
at
org.apache.shiro.config.IniFactorySupport.createInstance(IniFactorySupport.java:150)
at
org.apache.shiro.util.AbstractFactory.getInstance(AbstractFactory.java:47)er
{code}
> Update shiro-hazelcast to support Hazelcast 4.2
> -----------------------------------------------
>
> Key: SHIRO-816
> URL: https://issues.apache.org/jira/browse/SHIRO-816
> Project: Shiro
> Issue Type: Improvement
> Reporter: Steve Lopez
> Priority: Major
>
> The latest version of shiro-hazelcast works only on the 3.x versions of
> Hazelcast.jar The latest version of Hazelcast is now 4.2
> ([https://mvnrepository.com/artifact/com.hazelcast/hazelcast/4.2)]
--
This message was sent by Atlassian Jira
(v8.3.4#803005)