java.lang.ClassNotFoundException: org.apache.struts2.tiles.StrutsTilesListener -
15:06:38,636 error [org.jboss.msc.service.fail] (msc service thread 1-1) msc00001: failed start service jboss.deployment.unit."myapp.war".post_module: org.jboss.msc.service.startexception in service jboss.deployment.unit."myapp.war".post_module: failed process phase post_module of deployment "myapp.war" @ org.jboss.as.server.deployment.deploymentunitphaseservice.start(deploymentunitphaseservice.java:119) [jboss-as-server-7.1.0.final.jar:7.1.0.final] @ org.jboss.msc.service.servicecontrollerimpl$starttask.startservice(servicecontrollerimpl.java:1811) [jboss-msc-1.0.2.ga.jar:1.0.2.ga] @ org.jboss.msc.service.servicecontrollerimpl$starttask.run(servicecontrollerimpl.java:1746) [jboss-msc-1.0.2.ga.jar:1.0.2.ga] @ java.util.concurrent.threadpoolexecutor.runworker(unknown source) [rt.jar:1.7.0_13] @ java.util.concurrent.threadpoolexecutor$worker.run(unknown source) [rt.jar:1.7.0_13] @ java.lang.thread.run(unknown source) [rt.jar:1.7.0_13] caused by: org.jboss.as.server.deployment.deploymentunitprocessingexception: jbas011093: not load component class org.apache.struts2.tiles.strutstileslistener @ org.jboss.as.ee.component.deployers.interceptorannotationprocessor.processcomponentconfig(interceptorannotationprocessor.java:113) @ org.jboss.as.ee.component.deployers.interceptorannotationprocessor.deploy(interceptorannotationprocessor.java:54) @ org.jboss.as.server.deployment.deploymentunitphaseservice.start(deploymentunitphaseservice.java:113) [jboss-as-server-7.1.0.final.jar:7.1.0.final] ... 5 more caused by: java.lang.classnotfoundexception: org.apache.struts2.tiles.strutstileslistener [module "deployment.myapp.war:main" service module loader] @ org.jboss.modules.moduleclassloader.findclass(moduleclassloader.java:190) @ org.jboss.modules.concurrentclassloader.performloadclassunchecked(concurrentclassloader.java:468) @ org.jboss.modules.concurrentclassloader.performloadclasschecked(concurrentclassloader.java:456) @ org.jboss.modules.concurrentclassloader.performloadclass(concurrentclassloader.java:398) @ org.jboss.modules.concurrentclassloader.loadclass(concurrentclassloader.java:120) @ org.jboss.as.ee.component.deployers.interceptorannotationprocessor.processcomponentconfig(interceptorannotationprocessor.java:111) ... 7 more 15:06:39,542 error [org.jboss.as] (msc service thread 1-10) jbas015875: jboss 7.1.0.final "thunder" started (with errors) in 92339ms - started 144 of 219 services (2 services failed or missing dependencies, 71 services passive or on-demand) 15:06:39,543 info [org.jboss.as.server] (deploymentscanner-threads - 2) jbas015870: deploy of deployment "myapp.war" rolled failure message {"jbas014671: failed services" => {"jboss.deployment.unit.\"myapp.war\".post_module" => "org.jboss.msc.service.startexception in service jboss.deployment.unit.\"myapp.war\".post_module: failed process phase post_module of deployment \"myapp.war\""}} 15:06:40,397 info [org.jboss.as.server.deployment] (msc service thread 1-16) jbas015877: stopped deployment myapp.war in 853ms 15:06:40,398 info [org.jboss.as.controller] (deploymentscanner-threads - 2) jbas014774: service status report jbas014777: services failed start: service jboss.deployment.unit."myapp.war".post_module: org.jboss.msc.service.startexception in service jboss.deployment.unit."myapp.war".post_module: failed process phase post_module of deployment "myapp.war" 15:06:40,399 error [org.jboss.as.server.deployment.scanner] (deploymentscanner-threads - 1) {"jbas014653: composite operation failed , rolled back. steps failed:" => {"operation step-2" => {"jbas014671: failed services" => {"jboss.deployment.unit.\"myapp.war\".post_module" => "org.jboss.msc.service.startexception in service jboss.deployment.unit.\"myapp.war\".post_module: failed process phase post_module of deployment \"myapp.war\""}}}}
i had added more dependencies needed. dependency is
<dependency> <groupid>org.apache.struts</groupid> <artifactid>struts2-tiles-plugin</artifactid> <version>2.3.12</version> </dependency>
Comments
Post a Comment