[
https://issues.apache.org/jira/browse/SHIRO-656?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17028069#comment-17028069
]
Francois Papon commented on SHIRO-656:
--------------------------------------
[~agyepong17] you are using the 1.9.4 version of commons-beanutils and we are
using the 1.9.3 in the shiro 1.4.0 release.
You should upgrade to the 1.5.0 of shiro.
> 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
> Priority: Major
> Attachments: build.gradle, 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
(v8.3.4#803005)