[ 
https://issues.apache.org/jira/browse/SHIRO-656?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Stephen Agyepong updated SHIRO-656:
-----------------------------------
    Attachment: build.gradle

Here is it. I have attached the whole build.gradle file also accessible
from https://github.com/moqui/moqui-framework/tree/master/framework:
// Apache Shiro
compile module('org.apache.shiro:shiro-core:1.4.0') // Apache 2.0
compile module('org.apache.shiro:shiro-web:1.4.0') // Apache 2.0

Thanks

Stephen




> 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
(v7.6.3#76005)

Reply via email to