Stephen Agyepong created SHIRO-656:
--------------------------------------

             Summary: NoSuchMethodError using shiro-core-1.4.0
                 Key: SHIRO-656
                 URL: https://issues.apache.org/jira/browse/SHIRO-656
             Project: Shiro
          Issue Type: Bug
          Components: Authentication (log-in)
    Affects Versions: 1.4.0
         Environment: centos 7 using tomcat 8.5.x
            Reporter: Stephen Agyepong
         Attachments: catalina.out

shiro.ini
[main]
# for conf details see: http://shiro.apache.org/session-management.html
# before enabling this make sure shiro-ehcache is included in 
framework/build.gradle
# ehcacheManager = org.apache.shiro.cache.ehcache.EhCacheManager

# NOTE: no credentialsMatcher set here, configured in Moqui conf file 
(moqui-conf.user-facade.password.@encrypt-hash-type)
moquiRealm = org.moqui.impl.util.MoquiShiroRealm

# securityManager.cacheManager = $ehcacheManager
securityManager.realms = $moquiRealm
 
Call to setup security manager results in
java.lang.NoSuchMethodError: 
org.apache.commons.beanutils.PropertyUtilsBean.addBeanIntrospector(Lorg/apache/commons/beanutils/BeanIntrospector;)V
org.apache.shiro.config.ReflectionBuilder.<init>(ReflectionBuilder.java:127) 
~[shiro-core-1.4.0.jar:1.4.0]
org.apache.shiro.config.ReflectionBuilder.<init>(ReflectionBuilder.java:120) 
~[shiro-core-1.4.0.jar:1.4.0]
org.apache.shiro.config.IniSecurityManagerFactory.<init>(IniSecurityManagerFactory.java:64)
 ~[shiro-core-1.4.0.jar:1.4.0]
org.apache.shiro.config.IniSecurityManagerFactory.<init>(IniSecurityManagerFactory.java:68)
 ~[shiro-core-1.4.0.jar:1.4.0]
org.apache.shiro.config.IniSecurityManagerFactory.<init>(IniSecurityManagerFactory.java:73)
 ~[shiro-core-1.4.0.jar:1.4.0]
org.moqui.impl.context.ExecutionContextFactoryImpl.getSecurityManager(ExecutionContextFactoryImpl.groovy:863)
 ~[moqui-framework-2.1.1.jar:2.1.1]
 
 



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to