[
https://issues.apache.org/jira/browse/SHIRO-641?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16335698#comment-16335698
]
Rafał Nagrodzki commented on SHIRO-641:
---------------------------------------
I'm seeing strange classloading issues because of this:
{code:none}
java.lang.NoClassDefFoundError: org/apache/shiro/util/LifecycleUtils
at
org.apache.shiro.cache.AbstractCacheManager.destroy(AbstractCacheManager.java:97)
at
org.apache.shiro.spring.LifecycleBeanPostProcessor.postProcessBeforeDestruction(LifecycleBeanPostProcessor.java:121)
at
org.springframework.beans.factory.support.DisposableBeanAdapter.destroy(DisposableBeanAdapter.java:253)
at
org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.destroyBean(DefaultSingletonBeanRegistry.java:578)
at
org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.destroySingleton(DefaultSingletonBeanRegistry.java:554)
at
org.springframework.beans.factory.support.DefaultListableBeanFactory.destroySingleton(DefaultListableBeanFactory.java:961)
at
org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.destroySingletons(DefaultSingletonBeanRegistry.java:523)
at
org.springframework.beans.factory.support.DefaultListableBeanFactory.destroySingletons(DefaultListableBeanFactory.java:968)
at
org.springframework.context.support.AbstractApplicationContext.destroyBeans(AbstractApplicationContext.java:1030)
at
org.springframework.context.support.AbstractApplicationContext.doClose(AbstractApplicationContext.java:1006)
at
org.springframework.context.support.AbstractApplicationContext.close(AbstractApplicationContext.java:958)
at
org.springframework.web.context.ContextLoader.closeWebApplicationContext(ContextLoader.java:583)
at
org.springframework.web.context.ContextLoaderListener.contextDestroyed(ContextLoaderListener.java:116)
at
org.apache.catalina.core.StandardContext.listenerStop(StandardContext.java:5165)
at
org.apache.catalina.core.StandardContext.stopInternal(StandardContext.java:5829)
at org.apache.catalina.util.LifecycleBase.stop(LifecycleBase.java:221)
at
org.apache.catalina.core.ContainerBase$StopChild.call(ContainerBase.java:1587)
at
org.apache.catalina.core.ContainerBase$StopChild.call(ContainerBase.java:1576)
at java.util.concurrent.FutureTask.run(FutureTask.java:266)
at
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
at
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
at java.lang.Thread.run(Thread.java:748)
Caused by: java.lang.ClassNotFoundException:
org.apache.shiro.util.LifecycleUtils
at
org.apache.catalina.loader.WebappClassLoaderBase.loadClass(WebappClassLoaderBase.java:1892)
at
org.apache.catalina.loader.WebappClassLoaderBase.loadClass(WebappClassLoaderBase.java:1735)
... 22 more
{code}
> shiro-*-core Jars define some of the same classes from their dependencies
> -------------------------------------------------------------------------
>
> Key: SHIRO-641
> URL: https://issues.apache.org/jira/browse/SHIRO-641
> Project: Shiro
> Issue Type: Bug
> Reporter: Buğra Gedik
> Priority: Major
>
> I've noticed that {{shiro-core.jar}} contains some of the same classes from
> its dependencies. For instance
> {{org.apache.shiro.cache.MemoryConstrainedCacheManager}} is present in
> {{shiro-core.jar}}, but also in {{shiro-cache.jar}}. There are at least a
> dozen other examples. Similar issue is present for {{shiro-crypto-core.jar}},
> {{shiro-config-core.jar}}, etc. Is there a reason behind this?
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)