[
https://issues.apache.org/jira/browse/SHIRO-888?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Lenny Primak updated SHIRO-888:
-------------------------------
Description:
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-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}
> 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-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: [email protected]
For additional commands, e-mail: [email protected]