I think we are going to need a little more info. What how are you deploying your application? as the WAR/EAR changed between deployments, if so what has changed? Have you diffed the contents? Is the `shiro-web` jar on your classpath? If not how was it getting loaded in with your previous deployment? Was it on some shared classpath?
On Fri, Nov 20, 2020 at 2:43 PM Indrajit57 <[email protected]> wrote: > We have a java application which is using Shiro 1.2.2 and was working fine > on > JDK1.6 and WebLogic 11g. Now we are > <http://shiro-user.582556.n2.nabble.com/file/t396677/Shiro_Error.png> > trying to deploy the same application using JDK1.8 and Weblogic12c. We see > the following error on deployment. Also please find the attached image for > complete stack trace. > > java.lang.ClassNotFoundException: > org.apache.shiro.web.env.EnvironmentLoaderListener > at > > weblogic.utils.classloaders.GenericClassLoader.findLocalClass(GenericClassLoader.java:1029) > at > > weblogic.utils.classloaders.GenericClassLoader.findClass(GenericClassLoader.java:990) > at > > weblogic.utils.classloaders.ChangeAwareClassLoader.findClass(ChangeAwareClassLoader.java:101) > at > > weblogic.utils.classloaders.GenericClassLoader.doFindClass(GenericClassLoader.java:611) > at > > weblogic.utils.classloaders.GenericClassLoader.loadClass(GenericClassLoader.java:543) > > > Here is the web.xml entry for Shiro > > <listener> > > > <listener-class>org.apache.shiro.web.env.EnvironmentLoaderListener</listener-class> > </listener> > > > Appreciate your help. > > > > > > -- > Sent from: http://shiro-user.582556.n2.nabble.com/ >
