【发布时间】:2016-03-20 16:38:03
【问题描述】:
我收到了这个错误,虽然我已经为 Tiles 放入了必要的 jar 文件:
SEVERE: Exception while loading the app
SEVERE: Undeployment failed for context /FinalTilesStruts2
SEVERE: Exception while loading the app :
java.lang.IllegalStateException: ContainerBase.addChild: start:
org.apache.catalina.LifecycleException:
java.lang.IllegalArgumentException:
java.lang.NoClassDefFoundError: org/apache/tiles/listener/TilesListener
【问题讨论】:
-
有什么问题?
-
我收到了这个错误,正如我上面在标题中提到的,TilesListener 类没有找到?
-
发布堆栈跟踪。
-
严重:加载应用程序时出现异常严重:上下文 /FinalTilesStruts2 取消部署失败严重:加载应用程序时出现异常:java.lang.IllegalStateException:ContainerBase.addChild:启动:org.apache.catalina.LifecycleException : java.lang.IllegalArgumentException: java.lang.NoClassDefFoundError: org/apache/tiles/listener/TilesListener
-
我已经编辑了你的问题,因为你没有。请参阅下面的答案,并在阅读后立即接受。
标签: java struts2 listener tiles