NutzCN Logo
问答 项目启动报错 org.apache.shiro.web.env.EnvironmentLoaderListener
发布于 285天前 作者 qq_dac119ac 296 次浏览 复制 上一个帖子 下一个帖子
标签: shiro nutzwk

严重: Error configuring application listener of class org.apache.shiro.web.env.EnvironmentLoaderListener
java.lang.ClassNotFoundException: org.apache.shiro.web.env.EnvironmentLoaderListener
at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1714)
at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1559)
at org.apache.catalina.core.DefaultInstanceManager.loadClass(DefaultInstanceManager.java:527)
at org.apache.catalina.core.DefaultInstanceManager.loadClassMaybePrivileged(DefaultInstanceManager.java:509)
at org.apache.catalina.core.DefaultInstanceManager.newInstance(DefaultInstanceManager.java:137)
at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:4823)
at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5381)
at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)
at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1559)
at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1549)
at java.util.concurrent.FutureTask.run(FutureTask.java:262)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
at java.lang.Thread.run(Thread.java:745)

二月 06, 2017 4:07:51 下午 org.apache.catalina.core.StandardContext listenerStart

jia包我应经导入了

6 回复

是这个shiro-web-1.2.5-sources.jar 还是这个 shiro-web-1.2.5.jar ?

jia 包我都有 还是启动报错的呀

shiro-web-1.2.5.jar 没放对地方吧? WebContent/WEB-INF/lib下哦, 不要手工加入到Build Path.

二月 06, 2017 4:36:09 下午 org.apache.catalina.core.StandardContext listenerStart
严重: Exception sending context initialized event to listener instance of class org.apache.shiro.web.env.EnvironmentLoaderListener
java.lang.UnsupportedClassVersionError: cn/wizzer/common/shiro/realm/NutDaoRealm : Unsupported major.minor version 52.0 (unable to load class cn.wizzer.common.shiro.realm.NutDaoRealm) 这个是什么原因?

添加回复
请先登陆
回到顶部