I am not quite sure that there enough information here to help… First, you mention shiro-core 2.2.0 (vs. 2.0.0) are you sure you have the correct version?
Crypto classes’ package names have changed. All you would need to do is change Java source to reflect this. > On Mar 24, 2024, at 3:51 AM, Jacques Le Roux <jacques.le.r...@les7arts.com> > wrote: > > Hi, > > We (the Apache OFBiz project) use Shiro mostly for ciphering. > We use Gradle and refer to Maven for dependencies. > > We recently upgraded from 1.13.0 to 2.0.0 > https://issues.apache.org/jira/browse/OFBIZ-12961 > <https://issues.apache.org/jira/browse/OFBIZ-12961> > As we we had only this dependency, I started by replacing shiro-core:1.13.0 > by shiro-core:2.2.0 > It did not work (mostly AesCipherService creation compile errors). > > I then tried only shiro-crypto:2.0.0 and It worked. > > Then (thanks to our CI) we discovered that there was other dependencies > related to org.apereo.cas:cas-server > https://lists.apache.org/thread/cszft6134oon9tx0xy0wn3hgvh4ogbpz > <https://lists.apache.org/thread/cszft6134oon9tx0xy0wn3hgvh4ogbpz> > > So I added them with > https://github.com/apache/ofbiz-framework/commit/61f5831400 > <https://github.com/apache/ofbiz-framework/commit/61f5831400> > > This morning I removed them and tried to add shiro-core:2.2.0, to no avail. > > If it's possible, could you please give us more information to get read of > the org.apereo.cas:cas-server dependencies? > > Thanks in advance > > Jacques >