You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@shiro.apache.org by "Lenny Primak (Jira)" <ji...@apache.org> on 2022/09/03 01:10:00 UTC

[jira] [Closed] (SHIRO-888) Java packages / dependencies are duplicated

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

Lenny Primak closed SHIRO-888.
------------------------------
    Resolution: Duplicate

Looks like the same issue (but for 1.9.1)

> Java packages / dependencies are duplicated
> -------------------------------------------
>
>                 Key: SHIRO-888
>                 URL: https://issues.apache.org/jira/browse/SHIRO-888
>             Project: Shiro
>          Issue Type: Bug
>            Reporter: Lenny Primak
>            Priority: Minor
>
> I am trying to run a simple Shiro app in Jetty, and it's reporting multiple warnings about duplicate classes.
> URL: [https://github.com/flowlogix/shiro-smoketest-jetty|https://github.com/flowlogix/shiro-smoketest-2]
> Relevant dependencies included:
> {code:java}
>         <dependency>
>             <groupId>org.apache.shiro</groupId>
>             <artifactId>shiro-core</artifactId>
>             <version>1.9.1</version>
>         </dependency>
>         <dependency>
>             <groupId>org.apache.shiro</groupId>
>             <artifactId>shiro-web</artifactId>
>             <version>1.9.1</version>
>         </dependency>
>  {code}
> {code:java}
> mvn jetty:run {code}
> {code:java}
> [WARNING] org.apache.shiro.ShiroException scanned from multiple locations: jar:file:///Users/lprimak/.m2/repository/org/apache/shiro/shiro-lang/1.9.1/shiro-lang-1.9.1.jar!/org/apache/shiro/ShiroException.class, jar:file:///Users/lprimak/.m2/repository/org/apache/shiro/shiro-core/1.9.1/shiro-core-1.9.1.jar!/org/apache/shiro/ShiroException.class
> [WARNING] org.apache.shiro.cache.AbstractCacheManager scanned from multiple locations: jar:file:///Users/lprimak/.m2/repository/org/apache/shiro/shiro-cache/1.9.1/shiro-cache-1.9.1.jar!/org/apache/shiro/cache/AbstractCacheManager.class, jar:file:///Users/lprimak/.m2/repository/org/apache/shiro/shiro-core/1.9.1/shiro-core-1.9.1.jar!/org/apache/shiro/cache/AbstractCacheManager.class
> [WARNING] org.apache.shiro.cache.Cache scanned from multiple locations: jar:file:///Users/lprimak/.m2/repository/org/apache/shiro/shiro-cache/1.9.1/shiro-cache-1.9.1.jar!/org/apache/shiro/cache/Cache.class, jar:file:///Users/lprimak/.m2/repository/org/apache/shiro/shiro-core/1.9.1/shiro-core-1.9.1.jar!/org/apache/shiro/cache/Cache.class
> [WARNING] org.apache.shiro.cache.CacheException scanned from multiple locations: jar:file:///Users/lprimak/.m2/repository/org/apache/shiro/shiro-cache/1.9.1/shiro-cache-1.9.1.jar!/org/apache/shiro/cache/CacheException.class, jar:file:///Users/lprimak/.m2/repository/org/apache/shiro/shiro-core/1.9.1/shiro-core-1.9.1.jar!/org/apache/shiro/cache/CacheException.class
> [WARNING] org.apache.shiro.cache.CacheManager scanned from multiple locations: jar:file:///Users/lprimak/.m2/repository/org/apache/shiro/shiro-cache/1.9.1/shiro-cache-1.9.1.jar!/org/apache/shiro/cache/CacheManager.class, jar:file:///Users/lprimak/.m2/repository/org/apache/shiro/shiro-core/1.9.1/shiro-core-1.9.1.jar!/org/apache/shiro/cache/CacheManager.class
> [WARNING] org.apache.shiro.cache.CacheManagerAware scanned from multiple locations: jar:file:///Users/lprimak/.m2/repository/org/apache/shiro/shiro-cache/1.9.1/shiro-cache-1.9.1.jar!/org/apache/shiro/cache/CacheManagerAware.class, jar:file:///Users/lprimak/.m2/repository/org/apache/shiro/shiro-core/1.9.1/shiro-core-1.9.1.jar!/org/apache/shiro/cache/CacheManagerAware.class
> [WARNING] org.apache.shiro.cache.MapCache scanned from multiple locations: jar:file:///Users/lprimak/.m2/repository/org/apache/shiro/shiro-cache/1.9.1/shiro-cache-1.9.1.jar!/org/apache/shiro/cache/MapCache.class, jar:file:///Users/lprimak/.m2/repository/org/apache/shiro/shiro-core/1.9.1/shiro-core-1.9.1.jar!/org/apache/shiro/cache/MapCache.class
>  {code}
>  
>  



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@shiro.apache.org
For additional commands, e-mail: issues-help@shiro.apache.org