That's right.
Adding this to your pom will prbably help. Make sure to add the WEB-INF/lib
folder to your war-file.

<plugin>
  <groupId>org.apache.maven.plugins</groupId>
  <artifactId>maven-dependency-plugin</artifactId>
  <version>2.1</version>
  <executions>
    <execution>
      <phase>process-resources</phase>
      <goals>
        <goal>copy-dependencies</goal>
      </goals>
    <configuration>
      <outputDirectory>${project.basedir}/WEB-INF/lib</outputDirectory>
    </configuration>
    </execution>
  </executions>
</plugin>

/Ludwig

-----Ursprungligt meddelande-----
Från: anders.g.ham...@gmail.com [mailto:anders.g.ham...@gmail.com] För
Anders Hammar
Skickat: den 10 maj 2011 12:56
Till: Maven Users List
Ämne: Re: Web app not workin when compiled via Maven.

Very likely this is not a Maven issue, but you're simply not including the
libraries you use in your web app.
This specific line is something to investigate:
java.lang.
ClassNotFoundException:
com.sun.faces.config.ConfigureListener

/Anders


On Tue, May 10, 2011 at 11:41, Jamshed Katta
<jamshed.ka...@wwindia.com>wrote:

> Hey everyone,
> I am facing a problem while deploying my webapp on JBoss AS 6 Final.
> I am using Eclipse with Java (JDK 1.6)and J2EE on Open SUSE 11.4.
> When i
> mvn clean install
> my project,the war file is built but when i try to deploy the file by 
> pasting it to the Jboss deploy directory, my webapp doesnot run.
> I am posting my pom and Jboss stack trace.
> My server is installed at
> /home/jamshed/Desktop/jboss-6.0.0.Final/server/default/deploy
> is there someting wrong with my pom ?
>
>
> <project xmlns="http://maven.apache.org/POM/4.0.0";
> xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";
>        xsi:schemaLocation="http://maven.apache.org/POM/4.0.0
> http://maven.apache.org/xsd/maven-4.0.0.xsd";>
>        <modelVersion>4.0.0</modelVersion>
>
>        <groupId>UltimateSMS</groupId>
>        <artifactId>UltimateSMS</artifactId>
>          <version>1</version>
>
>        <packaging>war</packaging>
>        <name>UltimateSMS</name>
>        <url>http://maven.apache.org</url>
>        <properties>
>
>  <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
>        </properties>
>        <build>
>                <plugins>
>                        <plugin>
>                                
> <groupId>org.apache.maven.plugins</groupId>
>
>  <artifactId>maven-compiler-plugin</artifactId>
>                                <version>2.3.2</version>
>                                <configuration>
>                                        <source>1.6</source>
>                                        <target>1.6</target>
>                                </configuration>
>                        </plugin>
>                        <plugin>
>
>  <artifactId>maven-compiler-plugin</artifactId>
>                                <configuration>
>                                        <source>1.5</source>
>                                        <target>1.5</target>
>                                </configuration>
>                        </plugin>
>                        <plugin>
>                                <artifactId>maven-war-plugin</artifactId>
>                                <version>2.0</version>
>                        </plugin>
>                        <plugin>
>                                <groupId>org.codehaus.mojo</groupId>
>                                <artifactId>jboss-maven-plugin</artifactId>
>                                <version>1.5.0</version>
>                                <configuration>
>
>  <jbossHome>/opt/jboss6/server/default/deploy</jbossHome>
>                                        
> <serverName>default</serverName>
>
>  <fileName>target/UltimateSMS-1.war</fileName>
>                                </configuration>
>                        </plugin>
>                </plugins>
>        </build>
>        <dependencies>
>                <dependency>
>                        <groupId>org.testng</groupId>
>                        <artifactId>testng</artifactId>
>                        <version>5.14.9</version>
>                </dependency>
>                <dependency>
>                        <groupId>postgresql</groupId>
>                        <artifactId>postgresql</artifactId>
>                        <version>9.0-801.jdbc4</version>
>                        <type>jar</type>
>                        <scope>compile</scope>
>                </dependency>
>                <dependency>
>                        <groupId>org.codehaus.mojo.hibernate3</groupId>
>                        <artifactId>maven-hibernate3</artifactId>
>                        <version>2.2</version>
>                        <type>pom</type>
>                        <scope>compile</scope>
>                </dependency>
>                <dependency>
>                        <groupId>commons-fileupload</groupId>
>                        <artifactId>commons-fileupload</artifactId>
>                        <version>1.2.1</version>
>                </dependency>
>                <dependency>
>                        <groupId>org.apache.commons</groupId>
>                        <artifactId>commons-io</artifactId>
>                        <version>1.3.2</version>
>                </dependency>
>                <dependency>
>                        <groupId>net.sf.opencsv</groupId>
>                        <artifactId>opencsv</artifactId>
>                        <version>2.0</version>
>                </dependency>
>                <dependency>
>                        <groupId>javax.servlet</groupId>
>                        <artifactId>servlet-api</artifactId>
>                        <version>2.5</version>
>                        <type>jar</type>
>                        <scope>compile</scope>
>                </dependency>
>                <dependency>
>                        <groupId>jboss</groupId>
>                        <artifactId>jboss-j2ee</artifactId>
>                        <version>4.0.2</version>
>                        <type>jar</type>
>                        <scope>compile</scope>
>                </dependency>
>                <dependency>
>                        <groupId>org.hibernate</groupId>
>                        <artifactId>hibernate</artifactId>
>                        <version>3.0</version>
>                        <type>jar</type>
>                        <scope>compile</scope>
>                </dependency>
>                <dependency>
>                        <groupId>log4j</groupId>
>                        <artifactId>log4j</artifactId>
>                        <version>1.2.12</version>
>                </dependency>
>                <dependency>
>                        <groupId>javax</groupId>
>                        <artifactId>javaee-web-api</artifactId>
>                        <version>6.0</version>
>                </dependency>
>                <dependency>
>                        <groupId>trove</groupId>
>                        <artifactId>trove</artifactId>
>                        <version>1.1-beta-5</version>
>                        <type>jar</type>
>                        <scope>compile</scope>
>                </dependency>
>        </dependencies>
> </project>
>
>
>
> Heres my Jboss stack trace
>
>
> 2011-05-10 14:41:57,509 INFO
> [org.jboss.web.tomcat.service.deployers.TomcatDeployment] (HDScanner) 
> deploy, ctxPath=/UltimateSMS-1
> 2011-05-10 14:41:57,681 ERROR
>
> [org.apache.catalina.core.ContainerBase.[jboss.web].[localhost].[/Ulti
> mateSMS-1]]
> (HDScanner) Error configuring application listener of class
> com.sun.faces.config.ConfigureListener: java.lang.ClassNotFoundException:
> com.sun.faces.config.ConfigureListener
>        at java.net.URLClassLoader$1.run(URLClassLoader.java:217)
> [:1.6.0_20]
>        at java.security.AccessController.doPrivileged(Native Method) 
> [:1.6.0_20]
>        at java.net.URLClassLoader.findClass(URLClassLoader.java:205)
> [:1.6.0_20]
>        at java.lang.ClassLoader.loadClass(ClassLoader.java:321)
[:1.6.0_20]
>        at java.lang.ClassLoader.loadClass(ClassLoader.java:266)
[:1.6.0_20]
>        at
>
> org.jboss.web.tomcat.service.TomcatInjectionContainer.newInstance(Tomc
> atInjectionContainer.java:278)
> [:6.0.0.Final]
>        at
>
> org.jboss.web.tomcat.service.TomcatInjectionContainer.newInstance(Tomc
> atInjectionContainer.java:264)
> [:6.0.0.Final]
>        at
>
> org.apache.catalina.core.StandardContext.contextListenerStart(Standard
> Context.java:3319)
> [:6.0.0.Final]
>        at
> org.apache.catalina.core.StandardContext.start(StandardContext.java:38
> 28)
> [:6.0.0.Final]
>        at
>
> org.jboss.web.tomcat.service.deployers.TomcatDeployment.performDeployI
> nternal(TomcatDeployment.java:294)
> [:6.0.0.Final]
>        at
>
> org.jboss.web.tomcat.service.deployers.TomcatDeployment.performDeploy(
> TomcatDeployment.java:146)
> [:6.0.0.Final]
>        at
>
> org.jboss.web.deployers.AbstractWarDeployment.start(AbstractWarDeploym
> ent.java:477)
> [:6.0.0.Final]
>        at 
> org.jboss.web.deployers.WebModule.startModule(WebModule.java:118)
> [:6.0.0.Final]
>        at org.jboss.web.deployers.WebModule.start(WebModule.java:95)
> [:6.0.0.Final]
>        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) 
> [:1.6.0_20]
>        at
>
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.j
> ava:57)
> [:1.6.0_20]
>        at
>
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccess
> orImpl.java:43)
> [:1.6.0_20]
>        at java.lang.reflect.Method.invoke(Method.java:616) [:1.6.0_20]
>        at
>
> org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatche
> r.java:157)
> [:6.0.0.GA]
>        at org.jboss.mx.server.Invocation.dispatch(Invocation.java:96) [:
> 6.0.0.GA]
>        at org.jboss.mx.server.Invocation.invoke(Invocation.java:88) [:
> 6.0.0.GA]
>        at
>
> org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.j
> ava:271)
> [:6.0.0.GA]
>        at
> org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:670)
> [:6.0.0.GA]
>        at
> org.jboss.system.microcontainer.ServiceProxy.invoke(ServiceProxy.java:
> 206)
> [:2.2.0.GA]
>        at $Proxy41.start(Unknown Source)       at
>
> org.jboss.system.microcontainer.StartStopLifecycleAction.installAction
> (StartStopLifecycleAction.java:53)
> [:2.2.0.GA]
>        at
>
> org.jboss.system.microcontainer.StartStopLifecycleAction.installAction
> (StartStopLifecycleAction.java:41)
> [:2.2.0.GA]
>        at
>
> org.jboss.dependency.plugins.action.SimpleControllerContextAction.simp
> leInstallAction(SimpleControllerContextAction.java:62)
> [jboss-dependency.jar:2.2.0.GA]
>        at
>
> org.jboss.dependency.plugins.action.AccessControllerContextAction.inst
> all(AccessControllerContextAction.java:71)
> [jboss-dependency.jar:2.2.0.GA]
>        at
>
> org.jboss.dependency.plugins.AbstractControllerContextActions.install(
> AbstractControllerContextActions.java:51)
> [jboss-dependency.jar:2.2.0.GA]
>        at
>
> org.jboss.dependency.plugins.AbstractControllerContext.install(Abstrac
> tControllerContext.java:379)
> [jboss-dependency.jar:2.2.0.GA]
>        at
>
> org.jboss.system.microcontainer.ServiceControllerContext.install(Servi
> ceControllerContext.java:301)
> [:2.2.0.GA]
>        at
>
> org.jboss.dependency.plugins.AbstractController.install(AbstractContro
> ller.java:2044)
> [jboss-dependency.jar:2.2.0.GA]
>        at
>
> org.jboss.dependency.plugins.AbstractController.incrementState(Abstrac
> tController.java:1083)
> [jboss-dependency.jar:2.2.0.GA]
>        at
>
> org.jboss.dependency.plugins.AbstractController.executeOrIncrementStat
> eDirectly(AbstractController.java:1322)
> [jboss-dependency.jar:2.2.0.GA]
>        at
>
> org.jboss.dependency.plugins.AbstractController.resolveContexts(Abstra
> ctController.java:1246)
> [jboss-dependency.jar:2.2.0.GA]
>        at
>
> org.jboss.dependency.plugins.AbstractController.resolveContexts(Abstra
> ctController.java:1139)
> [jboss-dependency.jar:2.2.0.GA]
>        at
>
> org.jboss.dependency.plugins.AbstractController.install(AbstractContro
> ller.java:894)
> [jboss-dependency.jar:2.2.0.GA]
>        at
>
> org.jboss.dependency.plugins.AbstractController.install(AbstractContro
> ller.java:641)
> [jboss-dependency.jar:2.2.0.GA]
>        at
>
> org.jboss.deployers.vfs.deployer.kernel.BeanMetaDataDeployer.deploy(Be
> anMetaDataDeployer.java:182)
> [:2.2.0.GA]
>        at
>
> org.jboss.deployers.vfs.deployer.kernel.BeanMetaDataDeployer.deploy(Be
> anMetaDataDeployer.java:58)
> [:2.2.0.GA]
>        at
>
> org.jboss.deployers.spi.deployer.helpers.AbstractSimpleRealDeployer.in
> ternalDeploy(AbstractSimpleRealDeployer.java:62)
> [:2.2.0.GA]
>        at
>
> org.jboss.deployers.spi.deployer.helpers.AbstractRealDeployer.deploy(A
> bstractRealDeployer.java:55)
> [:2.2.0.GA]
>        at
>
> org.jboss.deployers.plugins.deployers.DeployerWrapper.deploy(DeployerW
> rapper.java:179)
> [:2.2.0.GA]
>        at
>
> org.jboss.deployers.plugins.deployers.DeployersImpl.doDeploy(Deployers
> Impl.java:1832)
> [:2.2.0.GA]
>        at
>
> org.jboss.deployers.plugins.deployers.DeployersImpl.doInstallParentFir
> st(DeployersImpl.java:1550)
> [:2.2.0.GA]
>        at
>
> org.jboss.deployers.plugins.deployers.DeployersImpl.doInstallParentFir
> st(DeployersImpl.java:1571)
> [:2.2.0.GA]
>        at
>
> org.jboss.deployers.plugins.deployers.DeployersImpl.install(DeployersI
> mpl.java:1491)
> [:2.2.0.GA]
>        at
>
> org.jboss.dependency.plugins.AbstractControllerContext.install(Abstrac
> tControllerContext.java:379)
> [jboss-dependency.jar:2.2.0.GA]
>        at
>
> org.jboss.dependency.plugins.AbstractController.install(AbstractContro
> ller.java:2044)
> [jboss-dependency.jar:2.2.0.GA]
>        at
>
> org.jboss.dependency.plugins.AbstractController.incrementState(Abstrac
> tController.java:1083)
> [jboss-dependency.jar:2.2.0.GA]
>        at
>
> org.jboss.dependency.plugins.AbstractController.executeOrIncrementStat
> eDirectly(AbstractController.java:1322)
> [jboss-dependency.jar:2.2.0.GA]
>        at
>
> org.jboss.dependency.plugins.AbstractController.resolveContexts(Abstra
> ctController.java:1246)
> [jboss-dependency.jar:2.2.0.GA]
>        at
>
> org.jboss.dependency.plugins.AbstractController.resolveContexts(Abstra
> ctController.java:1139)
> [jboss-dependency.jar:2.2.0.GA]
>        at
>
> org.jboss.dependency.plugins.AbstractController.change(AbstractControl
> ler.java:939)
> [jboss-dependency.jar:2.2.0.GA]
>        at
>
> org.jboss.dependency.plugins.AbstractController.change(AbstractControl
> ler.java:654)
> [jboss-dependency.jar:2.2.0.GA]
>        at
>
> org.jboss.deployers.plugins.deployers.DeployersImpl.change(DeployersIm
> pl.java:1983)
> [:2.2.0.GA]
>        at
>
> org.jboss.deployers.plugins.deployers.DeployersImpl.process(DeployersI
> mpl.java:1076)
> [:2.2.0.GA]
>        at
>
> org.jboss.deployers.plugins.main.MainDeployerImpl.process(MainDeployer
> Impl.java:679)
> [:2.2.0.GA]
>        at
>
> org.jboss.system.server.profileservice.deployers.MainDeployerPlugin.pr
> ocess(MainDeployerPlugin.java:106)
> [:6.0.0.Final]
>        at
>
> org.jboss.profileservice.dependency.ProfileControllerContext$DelegateD
> eployer.process(ProfileControllerContext.java:143)
> [:0.2.2]
>        at
>
> org.jboss.profileservice.deployment.hotdeploy.HDScanner$HDScanAction.d
> eploy(HDScanner.java:240)
> [:0.2.2]
>        at
>
> org.jboss.profileservice.deployment.hotdeploy.HDScanner$HDScanAction.c
> omplete(HDScanner.java:192)
> [:0.2.2]
>        at
>
> org.jboss.profileservice.management.TwoPCActionWrapper.doComplete(TwoP
> CActionWrapper.java:57)
> [:0.2.2]
>        at
>
> org.jboss.profileservice.management.actions.AbstractTwoPhaseModificati
> onAction.complete(AbstractTwoPhaseModificationAction.java:74)
> [:0.2.2]
>        at
>
> org.jboss.profileservice.management.actions.AbstractTwoPhaseModificati
> onAction.prepare(AbstractTwoPhaseModificationAction.java:95)
> [:0.2.2]
>        at
>
> org.jboss.profileservice.management.ModificationSession.prepare(Modifi
> cationSession.java:87)
> [:0.2.2]
>        at
>
> org.jboss.profileservice.management.AbstractActionController.internalP
> erfom(AbstractActionController.java:234)
> [:0.2.2]
>        at
>
> org.jboss.profileservice.management.AbstractActionController.performWr
> ite(AbstractActionController.java:213)
> [:0.2.2]
>        at
>
> org.jboss.profileservice.management.AbstractActionController.perform(A
> bstractActionController.java:150)
> [:0.2.2]
>        at
>
> org.jboss.profileservice.management.AbstractActionController.perform(A
> bstractActionController.java:135)
> [:0.2.2]
>        at
>
> org.jboss.profileservice.deployment.hotdeploy.HDScanner.scan(HDScanner
> .java:146)
> [:0.2.2]
>        at
>
> org.jboss.profileservice.deployment.hotdeploy.HDScanner.run(HDScanner.
> java:90)
> [:0.2.2]
>        at
> java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471
> )
> [:1.6.0_20]
>        at
> java.util.concurrent.FutureTask$Sync.innerRunAndReset(FutureTask.java:
> 351)
> [:1.6.0_20]
>        at 
> java.util.concurrent.FutureTask.runAndReset(FutureTask.java:178)
> [:1.6.0_20]
>        at
>
> java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.a
> ccess$201(ScheduledThreadPoolExecutor.java:165)
> [:1.6.0_20]
>        at
>
> java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.r
> un(ScheduledThreadPoolExecutor.java:267)
> [:1.6.0_20]
>        at
>
> java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.j
> ava:1110)
> [:1.6.0_20]
>        at
>
> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.
> java:603)
> [:1.6.0_20]
>        at java.lang.Thread.run(Thread.java:636) [:1.6.0_20]
>
> 2011-05-10 14:41:57,698 ERROR
>
> [org.apache.catalina.core.ContainerBase.[jboss.web].[localhost].[/Ulti
> mateSMS-1]]
> (HDScanner) Skipped installing application listeners due to previous
> error(s)
> 2011-05-10 14:41:57,698 ERROR 
> [org.apache.catalina.core.StandardContext]
> (HDScanner) Error listenerStart
> 2011-05-10 14:41:57,698 ERROR 
> [org.apache.catalina.core.StandardContext]
> (HDScanner) Context [/UltimateSMS-1] startup failed due to previous 
> errors
> 2011-05-10 14:41:57,710 ERROR
> [org.jboss.kernel.plugins.dependency.AbstractKernelController] 
> (HDScanner) Error installing to Start: 
> name=jboss.web.deployment:war=/UltimateSMS-1
> state=Create mode=Manual requiredState=Installed:
> org.jboss.deployers.spi.DeploymentException: URL
>
> file:/home/jamshed/Desktop/jboss-6.0.0.Final/server/default/tmp/vfs/au
> tomount5333e8758dfc531d/UltimateSMS-1.war-368149d8cc404007/
> deployment failed
>        at
>
> org.jboss.web.tomcat.service.deployers.TomcatDeployment.performDeployI
> nternal(TomcatDeployment.java:325)
> [:6.0.0.Final]
>        at
>
> org.jboss.web.tomcat.service.deployers.TomcatDeployment.performDeploy(
> TomcatDeployment.java:146)
> [:6.0.0.Final]
>        at
>
> org.jboss.web.deployers.AbstractWarDeployment.start(AbstractWarDeploym
> ent.java:477)
> [:6.0.0.Final]
>        at 
> org.jboss.web.deployers.WebModule.startModule(WebModule.java:118)
> [:6.0.0.Final]
>        at org.jboss.web.deployers.WebModule.start(WebModule.java:95)
> [:6.0.0.Final]
>        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) 
> [:1.6.0_20]
>        at
>
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.j
> ava:57)
> [:1.6.0_20]
>        at
>
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccess
> orImpl.java:43)
> [:1.6.0_20]
>        at java.lang.reflect.Method.invoke(Method.java:616) [:1.6.0_20]
>        at
>
> org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatche
> r.java:157)
> [:6.0.0.GA]
>        at org.jboss.mx.server.Invocation.dispatch(Invocation.java:96) [:
> 6.0.0.GA]
>        at org.jboss.mx.server.Invocation.invoke(Invocation.java:88) [:
> 6.0.0.GA]
>        at
>
> org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.j
> ava:271)
> [:6.0.0.GA]
>        at
> org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:670)
> [:6.0.0.GA]
>        at
> org.jboss.system.microcontainer.ServiceProxy.invoke(ServiceProxy.java:
> 206)
> [:2.2.0.GA]
>        at $Proxy41.start(Unknown Source)       at
>
> org.jboss.system.microcontainer.StartStopLifecycleAction.installAction
> (StartStopLifecycleAction.java:53)
> [:2.2.0.GA]
>        at
>
> org.jboss.system.microcontainer.StartStopLifecycleAction.installAction
> (StartStopLifecycleAction.java:41)
> [:2.2.0.GA]
>        at
>
> org.jboss.dependency.plugins.action.SimpleControllerContextAction.simp
> leInstallAction(SimpleControllerContextAction.java:62)
> [jboss-dependency.jar:2.2.0.GA]
>        at
>
> org.jboss.dependency.plugins.action.AccessControllerContextAction.inst
> all(AccessControllerContextAction.java:71)
> [jboss-dependency.jar:2.2.0.GA]
>        at
>
> org.jboss.dependency.plugins.AbstractControllerContextActions.install(
> AbstractControllerContextActions.java:51)
> [jboss-dependency.jar:2.2.0.GA]
>        at
>
> org.jboss.dependency.plugins.AbstractControllerContext.install(Abstrac
> tControllerContext.java:379)
> [jboss-dependency.jar:2.2.0.GA]
>        at
>
> org.jboss.system.microcontainer.ServiceControllerContext.install(Servi
> ceControllerContext.java:301)
> [:2.2.0.GA]
>        at
>
> org.jboss.dependency.plugins.AbstractController.install(AbstractContro
> ller.java:2044)
> [jboss-dependency.jar:2.2.0.GA]
>        at
>
> org.jboss.dependency.plugins.AbstractController.incrementState(Abstrac
> tController.java:1083)
> [jboss-dependency.jar:2.2.0.GA]
>        at
>
> org.jboss.dependency.plugins.AbstractController.executeOrIncrementStat
> eDirectly(AbstractController.java:1322)
> [jboss-dependency.jar:2.2.0.GA]
>        at
>
> org.jboss.dependency.plugins.AbstractController.resolveContexts(Abstra
> ctController.java:1246)
> [jboss-dependency.jar:2.2.0.GA]
>        at
>
> org.jboss.dependency.plugins.AbstractController.resolveContexts(Abstra
> ctController.java:1139)
> [jboss-dependency.jar:2.2.0.GA]
>        at
>
> org.jboss.dependency.plugins.AbstractController.install(AbstractContro
> ller.java:894)
> [jboss-dependency.jar:2.2.0.GA]
>        at
>
> org.jboss.dependency.plugins.AbstractController.install(AbstractContro
> ller.java:641)
> [jboss-dependency.jar:2.2.0.GA]
>        at
>
> org.jboss.deployers.vfs.deployer.kernel.BeanMetaDataDeployer.deploy(Be
> anMetaDataDeployer.java:182)
> [:2.2.0.GA]
>        at
>
> org.jboss.deployers.vfs.deployer.kernel.BeanMetaDataDeployer.deploy(Be
> anMetaDataDeployer.java:58)
> [:2.2.0.GA]
>        at
>
> org.jboss.deployers.spi.deployer.helpers.AbstractSimpleRealDeployer.in
> ternalDeploy(AbstractSimpleRealDeployer.java:62)
> [:2.2.0.GA]
>        at
>
> org.jboss.deployers.spi.deployer.helpers.AbstractRealDeployer.deploy(A
> bstractRealDeployer.java:55)
> [:2.2.0.GA]
>        at
>
> org.jboss.deployers.plugins.deployers.DeployerWrapper.deploy(DeployerW
> rapper.java:179)
> [:2.2.0.GA]
>        at
>
> org.jboss.deployers.plugins.deployers.DeployersImpl.doDeploy(Deployers
> Impl.java:1832)
> [:2.2.0.GA]
>        at
>
> org.jboss.deployers.plugins.deployers.DeployersImpl.doInstallParentFir
> st(DeployersImpl.java:1550)
> [:2.2.0.GA]
>        at
>
> org.jboss.deployers.plugins.deployers.DeployersImpl.doInstallParentFir
> st(DeployersImpl.java:1571)
> [:2.2.0.GA]
>        at
>
> org.jboss.deployers.plugins.deployers.DeployersImpl.install(DeployersI
> mpl.java:1491)
> [:2.2.0.GA]
>        at
>
> org.jboss.dependency.plugins.AbstractControllerContext.install(Abstrac
> tControllerContext.java:379)
> [jboss-dependency.jar:2.2.0.GA]
>        at
>
> org.jboss.dependency.plugins.AbstractController.install(AbstractContro
> ller.java:2044)
> [jboss-dependency.jar:2.2.0.GA]
>        at
>
> org.jboss.dependency.plugins.AbstractController.incrementState(Abstrac
> tController.java:1083)
> [jboss-dependency.jar:2.2.0.GA]
>        at
>
> org.jboss.dependency.plugins.AbstractController.executeOrIncrementStat
> eDirectly(AbstractController.java:1322)
> [jboss-dependency.jar:2.2.0.GA]
>        at
>
> org.jboss.dependency.plugins.AbstractController.resolveContexts(Abstra
> ctController.java:1246)
> [jboss-dependency.jar:2.2.0.GA]
>        at
>
> org.jboss.dependency.plugins.AbstractController.resolveContexts(Abstra
> ctController.java:1139)
> [jboss-dependency.jar:2.2.0.GA]
>        at
>
> org.jboss.dependency.plugins.AbstractController.change(AbstractControl
> ler.java:939)
> [jboss-dependency.jar:2.2.0.GA]
>        at
>
> org.jboss.dependency.plugins.AbstractController.change(AbstractControl
> ler.java:654)
> [jboss-dependency.jar:2.2.0.GA]
>        at
>
> org.jboss.deployers.plugins.deployers.DeployersImpl.change(DeployersIm
> pl.java:1983)
> [:2.2.0.GA]
>        at
>
> org.jboss.deployers.plugins.deployers.DeployersImpl.process(DeployersI
> mpl.java:1076)
> [:2.2.0.GA]
>        at
>
> org.jboss.deployers.plugins.main.MainDeployerImpl.process(MainDeployer
> Impl.java:679)
> [:2.2.0.GA]
>        at
>
> org.jboss.system.server.profileservice.deployers.MainDeployerPlugin.pr
> ocess(MainDeployerPlugin.java:106)
> [:6.0.0.Final]
>        at
>
> org.jboss.profileservice.dependency.ProfileControllerContext$DelegateD
> eployer.process(ProfileControllerContext.java:143)
> [:0.2.2]
>        at
>
> org.jboss.profileservice.deployment.hotdeploy.HDScanner$HDScanAction.d
> eploy(HDScanner.java:240)
> [:0.2.2]
>        at
>
> org.jboss.profileservice.deployment.hotdeploy.HDScanner$HDScanAction.c
> omplete(HDScanner.java:192)
> [:0.2.2]
>        at
>
> org.jboss.profileservice.management.TwoPCActionWrapper.doComplete(TwoP
> CActionWrapper.java:57)
> [:0.2.2]
>        at
>
> org.jboss.profileservice.management.actions.AbstractTwoPhaseModificati
> onAction.complete(AbstractTwoPhaseModificationAction.java:74)
> [:0.2.2]
>        at
>
> org.jboss.profileservice.management.actions.AbstractTwoPhaseModificati
> onAction.prepare(AbstractTwoPhaseModificationAction.java:95)
> [:0.2.2]
>        at
>
> org.jboss.profileservice.management.ModificationSession.prepare(Modifi
> cationSession.java:87)
> [:0.2.2]
>        at
>
> org.jboss.profileservice.management.AbstractActionController.internalP
> erfom(AbstractActionController.java:234)
> [:0.2.2]
>        at
>
> org.jboss.profileservice.management.AbstractActionController.performWr
> ite(AbstractActionController.java:213)
> [:0.2.2]
>        at
>
> org.jboss.profileservice.management.AbstractActionController.perform(A
> bstractActionController.java:150)
> [:0.2.2]
>        at
>
> org.jboss.profileservice.management.AbstractActionController.perform(A
> bstractActionController.java:135)
> [:0.2.2]
>        at
>
> org.jboss.profileservice.deployment.hotdeploy.HDScanner.scan(HDScanner
> .java:146)
> [:0.2.2]
>        at
>
> org.jboss.profileservice.deployment.hotdeploy.HDScanner.run(HDScanner.
> java:90)
> [:0.2.2]
>        at
> java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471
> )
> [:1.6.0_20]
>        at
> java.util.concurrent.FutureTask$Sync.innerRunAndReset(FutureTask.java:
> 351)
> [:1.6.0_20]
>        at 
> java.util.concurrent.FutureTask.runAndReset(FutureTask.java:178)
> [:1.6.0_20]
>        at
>
> java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.a
> ccess$201(ScheduledThreadPoolExecutor.java:165)
> [:1.6.0_20]
>        at
>
> java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.r
> un(ScheduledThreadPoolExecutor.java:267)
> [:1.6.0_20]
>        at
>
> java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.j
> ava:1110)
> [:1.6.0_20]
>        at
>
> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.
> java:603)
> [:1.6.0_20]
>        at java.lang.Thread.run(Thread.java:636) [:1.6.0_20]
>
> 2011-05-10 14:41:57,746 WARN
> [org.jboss.profileservice.deployment.hotdeploy.HDScanner] (HDScanner) 
> Scan
> failed: org.jboss.deployers.client.spi.IncompleteDeploymentException:
> Summary of incomplete deployments (SEE PREVIOUS ERRORS FOR DETAILS):
>
> DEPLOYMENTS IN ERROR:
>  Deployment "jboss.web.deployment:war=/UltimateSMS-1" is in error due 
> to the following reason(s): 
> org.jboss.deployers.spi.DeploymentException: URL
>
> file:/home/jamshed/Desktop/jboss-6.0.0.Final/server/default/tmp/vfs/au
> tomount5333e8758dfc531d/UltimateSMS-1.war-368149d8cc404007/
> deployment failed
>
>        at
>
> org.jboss.deployers.plugins.deployers.DeployersImpl.checkComplete(Depl
> oyersImpl.java:1370)
> [:2.2.0.GA]
>        at
>
> org.jboss.deployers.plugins.deployers.DeployersImpl.checkComplete(Depl
> oyersImpl.java:1316)
> [:2.2.0.GA]
>        at
>
> org.jboss.deployers.plugins.main.MainDeployerImpl.checkComplete(MainDe
> ployerImpl.java:968)
> [:2.2.0.GA]
>        at
>
> org.jboss.system.server.profileservice.deployers.MainDeployerPlugin.ch
> eckComplete(MainDeployerPlugin.java:82)
> [:6.0.0.Final]
>        at
>
> org.jboss.profileservice.dependency.ProfileControllerContext$DelegateD
> eployer.checkComplete(ProfileControllerContext.java:138)
> [:0.2.2]
>        at
>
> org.jboss.profileservice.deployment.hotdeploy.HDScanner$HDScanAction.d
> eploy(HDScanner.java:246)
> [:0.2.2]
>        at
>
> org.jboss.profileservice.deployment.hotdeploy.HDScanner$HDScanAction.c
> omplete(HDScanner.java:192)
> [:0.2.2]
>        at
>
> org.jboss.profileservice.management.TwoPCActionWrapper.doComplete(TwoP
> CActionWrapper.java:57)
> [:0.2.2]
>        at
>
> org.jboss.profileservice.management.actions.AbstractTwoPhaseModificati
> onAction.complete(AbstractTwoPhaseModificationAction.java:74)
> [:0.2.2]
>        at
>
> org.jboss.profileservice.management.actions.AbstractTwoPhaseModificati
> onAction.prepare(AbstractTwoPhaseModificationAction.java:95)
> [:0.2.2]
>        at
>
> org.jboss.profileservice.management.ModificationSession.prepare(Modifi
> cationSession.java:87)
> [:0.2.2]
>        at
>
> org.jboss.profileservice.management.AbstractActionController.internalP
> erfom(AbstractActionController.java:234)
> [:0.2.2]
>        at
>
> org.jboss.profileservice.management.AbstractActionController.performWr
> ite(AbstractActionController.java:213)
> [:0.2.2]
>        at
>
> org.jboss.profileservice.management.AbstractActionController.perform(A
> bstractActionController.java:150)
> [:0.2.2]
>        at
>
> org.jboss.profileservice.management.AbstractActionController.perform(A
> bstractActionController.java:135)
> [:0.2.2]
>        at
>
> org.jboss.profileservice.deployment.hotdeploy.HDScanner.scan(HDScanner
> .java:146)
> [:0.2.2]
>        at
>
> org.jboss.profileservice.deployment.hotdeploy.HDScanner.run(HDScanner.
> java:90)
> [:0.2.2]
>        at
> java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471
> )
> [:1.6.0_20]
>        at
> java.util.concurrent.FutureTask$Sync.innerRunAndReset(FutureTask.java:
> 351)
> [:1.6.0_20]
>        at 
> java.util.concurrent.FutureTask.runAndReset(FutureTask.java:178)
> [:1.6.0_20]
>        at
>
> java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.a
> ccess$201(ScheduledThreadPoolExecutor.java:165)
> [:1.6.0_20]
>        at
>
> java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.r
> un(ScheduledThreadPoolExecutor.java:267)
> [:1.6.0_20]
>        at
>
> java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.j
> ava:1110)
> [:1.6.0_20]
>        at
>
> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.
> java:603)
> [:1.6.0_20]
>        at java.lang.Thread.run(Thread.java:636) [:1.6.0_20]
>
>
>
>
> --
> View this message in context:
> http://maven.40175.n5.nabble.com/Web-app-not-workin-when-compiled-via-
> Maven-tp4384067p4384067.html Sent from the Maven - Users mailing list 
> archive at Nabble.com.
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
> For additional commands, e-mail: users-h...@maven.apache.org
>
>


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
For additional commands, e-mail: users-h...@maven.apache.org

Reply via email to