java - mvn tomcat7:run command thrown SEVERE: A child container failed during start -


i create maven-based java web application eclipse , have inserted apache maven tomcat plugin pom.xml. when enter command mvn tomcat7:runalways through below error:

here pom.xml:

<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/maven-v4_0_0.xsd">     <modelversion>4.0.0</modelversion>     <groupid>com.example</groupid>     <packaging>war</packaging>     <version>1.0.0</version>     <name>javawebappdemo maven webapp</name>     <url>http://maven.apache.org</url>     <artifactid>javawebappdemo</artifactid>     <properties>         <project.build.sourceencoding>utf-8</project.build.sourceencoding>     </properties>      <build>         <finalname>javawebappdemo</finalname>         <plugins>             <plugin>                 <groupid>org.apache.maven.plugins</groupid>                 <artifactid>maven-compiler-plugin</artifactid>                 <version>2.5.1</version>                 <configuration>                     <source>1.7</source>                     <target>1.7</target>                 </configuration>             </plugin>             <plugin>                 <groupid>org.apache.tomcat.maven</groupid>                 <artifactid>tomcat7-maven-plugin</artifactid>                 <version>2.2</version>                 <configuration>                     <url>http://localhost:9191/manager/text</url>                     <server>localhost</server>                     <port>8181</port>                     <path>/javawebappdemo</path>                 </configuration>             </plugin>         </plugins>     </build>     <dependencies>          <!-- java servlet -->         <dependency>             <groupid>javax.servlet</groupid>             <artifactid>javax.servlet-api</artifactid>             <version>3.0.1</version>             <scope>provided</scope>         </dependency>          <!-- junit -->         <dependency>             <groupid>junit</groupid>             <artifactid>junit</artifactid>             <version>3.8.1</version>             <scope>test</scope>         </dependency>          <!-- java mongo java driver -->         <dependency>             <groupid>org.mongodb</groupid>             <artifactid>mongo-java-driver</artifactid>             <version>2.12.3</version>         </dependency>          <!-- java jakson -->         <dependency>             <groupid>com.fasterxml.jackson.core</groupid>             <artifactid>jackson-databind</artifactid>             <version>2.5.1</version>         </dependency>          <!-- log4j -->         <dependency>             <groupid>log4j</groupid>             <artifactid>log4j</artifactid>             <version>1.2.17</version>         </dependency>          <!-- jersey client -->         <dependency>             <groupid>com.sun.jersey</groupid>             <artifactid>jersey-client</artifactid>             <version>1.19</version>         </dependency>          <!-- jersey server -->         <dependency>             <groupid>com.sun.jersey</groupid>             <artifactid>jersey-server</artifactid>             <version>1.19</version>         </dependency>          <!-- jersey multipart -->         <dependency>             <groupid>com.sun.jersey.contribs</groupid>             <artifactid>jersey-multipart</artifactid>             <version>1.19</version>         </dependency>          <!-- jersey core -->         <dependency>             <groupid>com.sun.jersey</groupid>             <artifactid>jersey-core</artifactid>             <version>1.19</version>         </dependency>          <!-- jersey json -->         <dependency>             <groupid>com.sun.jersey</groupid>             <artifactid>jersey-json</artifactid>             <version>1.19</version>         </dependency>          <!-- jersey servlet -->         <dependency>             <groupid>com.sun.jersey</groupid>             <artifactid>jersey-servlet</artifactid>             <version>1.19</version>         </dependency>          <!-- jersey spring -->         <dependency>             <groupid>com.sun.jersey</groupid>             <artifactid>jersey-spring</artifactid>             <version>1.0</version>         </dependency>     </dependencies> </project> 

and error:

    severe: child container failed during start java.util.concurrent.executionexception: org.apache.catalina.lifecycleexception: failed start component [standardengine[tomcat].stand         @ java.util.concurrent.futuretask.report(futuretask.java:122)         @ java.util.concurrent.futuretask.get(futuretask.java:192)         @ org.apache.catalina.core.containerbase.startinternal(containerbase.java:1123)         @ org.apache.catalina.core.standardhost.startinternal(standardhost.java:800)         @ org.apache.catalina.util.lifecyclebase.start(lifecyclebase.java:150)         @ org.apache.catalina.core.containerbase$startchild.call(containerbase.java:1559)         @ org.apache.catalina.core.containerbase$startchild.call(containerbase.java:1549)         @ java.util.concurrent.futuretask.run(futuretask.java:266)         @ java.util.concurrent.threadpoolexecutor.runworker(threadpoolexecutor.java:1142)         @ java.util.concurrent.threadpoolexecutor$worker.run(threadpoolexecutor.java:617)         @ java.lang.thread.run(thread.java:744) caused by: org.apache.catalina.lifecycleexception: failed start component [standardengine[tomcat].standardhost[localhost].standardcon         @ org.apache.catalina.util.lifecyclebase.start(lifecyclebase.java:154)         ... 6 more caused by: java.lang.classcastexception: org.springframework.web.springservletcontainerinitializer cannot cast javax.servlet.servl         @ org.apache.catalina.startup.contextconfig.getservletcontainerinitializer(contextconfig.java:1670)         @ org.apache.catalina.startup.contextconfig.getservletcontainerinitializers(contextconfig.java:1652)         @ org.apache.catalina.startup.contextconfig.processservletcontainerinitializers(contextconfig.java:1562)         @ org.apache.catalina.startup.contextconfig.webconfig(contextconfig.java:1270)         @ org.apache.catalina.startup.contextconfig.configurestart(contextconfig.java:878)         @ org.apache.catalina.startup.contextconfig.lifecycleevent(contextconfig.java:376)         @ org.apache.catalina.util.lifecyclesupport.firelifecycleevent(lifecyclesupport.java:119)         @ org.apache.catalina.util.lifecyclebase.firelifecycleevent(lifecyclebase.java:90)         @ org.apache.catalina.core.standardcontext.startinternal(standardcontext.java:5322)         @ org.apache.catalina.util.lifecyclebase.start(lifecyclebase.java:150)         ... 6 more  mar 28, 2015 7:35:15 pm org.apache.catalina.core.containerbase startinternal severe: child container failed during start java.util.concurrent.executionexception: org.apache.catalina.lifecycleexception: failed start component [standardengine[tomcat].stand         @ java.util.concurrent.futuretask.report(futuretask.java:122)         @ java.util.concurrent.futuretask.get(futuretask.java:192)         @ org.apache.catalina.core.containerbase.startinternal(containerbase.java:1123)         @ org.apache.catalina.core.standardengine.startinternal(standardengine.java:302)         @ org.apache.catalina.util.lifecyclebase.start(lifecyclebase.java:150)         @ org.apache.catalina.core.standardservice.startinternal(standardservice.java:443)         @ org.apache.catalina.util.lifecyclebase.start(lifecyclebase.java:150)         @ org.apache.catalina.core.standardserver.startinternal(standardserver.java:732)         @ org.apache.catalina.util.lifecyclebase.start(lifecyclebase.java:150)         @ org.apache.catalina.startup.tomcat.start(tomcat.java:341)         @ org.apache.tomcat.maven.plugin.tomcat7.run.abstractrunmojo.startcontainer(abstractrunmojo.java:1238)         @ org.apache.tomcat.maven.plugin.tomcat7.run.abstractrunmojo.execute(abstractrunmojo.java:592)         @ org.apache.maven.plugin.defaultbuildpluginmanager.executemojo(defaultbuildpluginmanager.java:132)         @ org.apache.maven.lifecycle.internal.mojoexecutor.execute(mojoexecutor.java:208)         @ org.apache.maven.lifecycle.internal.mojoexecutor.execute(mojoexecutor.java:153)         @ org.apache.maven.lifecycle.internal.mojoexecutor.execute(mojoexecutor.java:145)         @ org.apache.maven.lifecycle.internal.lifecyclemodulebuilder.buildproject(lifecyclemodulebuilder.java:116)         @ org.apache.maven.lifecycle.internal.lifecyclemodulebuilder.buildproject(lifecyclemodulebuilder.java:80)         @ org.apache.maven.lifecycle.internal.builder.singlethreaded.singlethreadedbuilder.build(singlethreadedbuilder.java:51)         @ org.apache.maven.lifecycle.internal.lifecyclestarter.execute(lifecyclestarter.java:120)         @ org.apache.maven.defaultmaven.doexecute(defaultmaven.java:347)         @ org.apache.maven.defaultmaven.execute(defaultmaven.java:154)         @ org.apache.maven.cli.mavencli.execute(mavencli.java:582)         @ org.apache.maven.cli.mavencli.domain(mavencli.java:214)         @ org.apache.maven.cli.mavencli.main(mavencli.java:158)         @ sun.reflect.nativemethodaccessorimpl.invoke0(native method)         @ sun.reflect.nativemethodaccessorimpl.invoke(nativemethodaccessorimpl.java:62)         @ sun.reflect.delegatingmethodaccessorimpl.invoke(delegatingmethodaccessorimpl.java:43)         @ java.lang.reflect.method.invoke(method.java:483)         @ org.codehaus.plexus.classworlds.launcher.launcher.launchenhanced(launcher.java:289)         @ org.codehaus.plexus.classworlds.launcher.launcher.launch(launcher.java:229)         @ org.codehaus.plexus.classworlds.launcher.launcher.mainwithexitcode(launcher.java:415)         @ org.codehaus.plexus.classworlds.launcher.launcher.main(launcher.java:356) caused by: org.apache.catalina.lifecycleexception: failed start component [standardengine[tomcat].standardhost[localhost]]         @ org.apache.catalina.util.lifecyclebase.start(lifecyclebase.java:154)         @ org.apache.catalina.core.containerbase$startchild.call(containerbase.java:1559)         @ org.apache.catalina.core.containerbase$startchild.call(containerbase.java:1549)         @ java.util.concurrent.futuretask.run(futuretask.java:266)         @ java.util.concurrent.threadpoolexecutor.runworker(threadpoolexecutor.java:1142)         @ java.util.concurrent.threadpoolexecutor$worker.run(threadpoolexecutor.java:617)         @ java.lang.thread.run(thread.java:744) caused by: org.apache.catalina.lifecycleexception: child container failed during start         @ org.apache.catalina.core.containerbase.startinternal(containerbase.java:1131)         @ org.apache.catalina.core.standardhost.startinternal(standardhost.java:800)         @ org.apache.catalina.util.lifecyclebase.start(lifecyclebase.java:150)         ... 6 more  [info] ------------------------------------------------------------------------ [info] build failure [info] ------------------------------------------------------------------------ [info] total time: 01:09 min [info] finished at: 2015-03-28t19:35:15+05:30 [info] final memory: 21m/52m [info] ------------------------------------------------------------------------ [error] failed execute goal org.apache.tomcat.maven:tomcat7-maven-plugin:2.2:run (default-cli) on project javawebappdemo: not s failed start component [standardengine[tomcat]]: child container failed during start -> [help 1] org.apache.maven.lifecycle.lifecycleexecutionexception: failed execute goal org.apache.tomcat.maven:tomcat7-maven-plugin:2.2:run (def         @ org.apache.maven.lifecycle.internal.mojoexecutor.execute(mojoexecutor.java:216)         @ org.apache.maven.lifecycle.internal.mojoexecutor.execute(mojoexecutor.java:153)         @ org.apache.maven.lifecycle.internal.mojoexecutor.execute(mojoexecutor.java:145)         @ org.apache.maven.lifecycle.internal.lifecyclemodulebuilder.buildproject(lifecyclemodulebuilder.java:116)         @ org.apache.maven.lifecycle.internal.lifecyclemodulebuilder.buildproject(lifecyclemodulebuilder.java:80)         @ org.apache.maven.lifecycle.internal.builder.singlethreaded.singlethreadedbuilder.build(singlethreadedbuilder.java:51)         @ org.apache.maven.lifecycle.internal.lifecyclestarter.execute(lifecyclestarter.java:120)         @ org.apache.maven.defaultmaven.doexecute(defaultmaven.java:347)         @ org.apache.maven.defaultmaven.execute(defaultmaven.java:154)         @ org.apache.maven.cli.mavencli.execute(mavencli.java:582)         @ org.apache.maven.cli.mavencli.domain(mavencli.java:214)         @ org.apache.maven.cli.mavencli.main(mavencli.java:158)         @ sun.reflect.nativemethodaccessorimpl.invoke0(native method)         @ sun.reflect.nativemethodaccessorimpl.invoke(nativemethodaccessorimpl.java:62)         @ sun.reflect.delegatingmethodaccessorimpl.invoke(delegatingmethodaccessorimpl.java:43)         @ java.lang.reflect.method.invoke(method.java:483)         @ org.codehaus.plexus.classworlds.launcher.launcher.launchenhanced(launcher.java:289)         @ org.codehaus.plexus.classworlds.launcher.launcher.launch(launcher.java:229)         @ org.codehaus.plexus.classworlds.launcher.launcher.mainwithexitcode(launcher.java:415)         @ org.codehaus.plexus.classworlds.launcher.launcher.main(launcher.java:356) caused by: org.apache.maven.plugin.mojoexecutionexception: not start tomcat         @ org.apache.tomcat.maven.plugin.tomcat7.run.abstractrunmojo.execute(abstractrunmojo.java:600)         @ org.apache.maven.plugin.defaultbuildpluginmanager.executemojo(defaultbuildpluginmanager.java:132)         @ org.apache.maven.lifecycle.internal.mojoexecutor.execute(mojoexecutor.java:208)         ... 19 more caused by: org.apache.catalina.lifecycleexception: failed start component [standardserver[-1]]         @ org.apache.catalina.util.lifecyclebase.start(lifecyclebase.java:154)         @ org.apache.catalina.startup.tomcat.start(tomcat.java:341)         @ org.apache.tomcat.maven.plugin.tomcat7.run.abstractrunmojo.startcontainer(abstractrunmojo.java:1238)         @ org.apache.tomcat.maven.plugin.tomcat7.run.abstractrunmojo.execute(abstractrunmojo.java:592)         ... 21 more caused by: org.apache.catalina.lifecycleexception: failed start component [standardservice[tomcat]]         @ org.apache.catalina.util.lifecyclebase.start(lifecyclebase.java:154)         @ org.apache.catalina.core.standardserver.startinternal(standardserver.java:732)         @ org.apache.catalina.util.lifecyclebase.start(lifecyclebase.java:150)         ... 24 more caused by: org.apache.catalina.lifecycleexception: failed start component [standardengine[tomcat]]         @ org.apache.catalina.util.lifecyclebase.start(lifecyclebase.java:154)         @ org.apache.catalina.core.standardservice.startinternal(standardservice.java:443)         @ org.apache.catalina.util.lifecyclebase.start(lifecyclebase.java:150)         ... 26 more caused by: org.apache.catalina.lifecycleexception: child container failed during start         @ org.apache.catalina.core.containerbase.startinternal(containerbase.java:1131)         @ org.apache.catalina.core.standardengine.startinternal(standardengine.java:302)         @ org.apache.catalina.util.lifecyclebase.start(lifecyclebase.java:150)         ... 28 more [error] [error] [error] more information errors , possible solutions, please read following articles: [error] [help 1] http://cwiki.apache.org/confluence/display/maven/mojoexecutionexception e:\java\java\java_2015\java_program_demo\maven project\javawebappdemo>     

this web.xml file

<?xml version="1.0" encoding="utf-8"?>      <web-app xmlns:xsi="http://www.w3.org/2001/xmlschema-instance"  	xmlns="http://java.sun.com/xml/ns/javaee"  	xsi:schemalocation="http://java.sun.com/xml/ns/javaee    http://java.sun.com/xml/ns/javaee/web-app_3_0.xsd"  	version="3.0">  	<display-name>java web app demo</display-name>  	<welcome-file-list>  		<welcome-file>index.jsp</welcome-file>  	</welcome-file-list>  	<context-param>  		<param-name>firstname</param-name>  		<param-value>maulik</param-value>  	</context-param>  	<servlet>  		<servlet-name>jersey-serlvet</servlet-name>  		<servlet-class>com.sun.jersey.spi.container.servlet.servletcontainer</servlet-class>  		<init-param>  			<param-name>com.sun.jersey.config.property.packages</param-name>  			<param-value>com.example.rest.jersey</param-value>  		</init-param>  		<init-param>  			<param-name>com.sun.jersey.api.json.pojomappingfeature</param-name>  			<param-value>true</param-value>  		</init-param>  		<load-on-startup>1</load-on-startup>  	</servlet>  	<servlet-mapping>  		<servlet-name>jersey-serlvet</servlet-name>  		<url-pattern>/rest/*</url-pattern>  	</servlet-mapping>  </web-app>   

apr 01, 2015 11:55:06 pm org.apache.coyote.abstractprotocol init  info: initializing protocolhandler ["http-bio-8181"]  apr 01, 2015 11:55:06 pm org.apache.catalina.core.standardservice startinternal  info: starting service tomcat  apr 01, 2015 11:55:06 pm org.apache.catalina.core.standardengine startinternal  info: starting servlet engine: apache tomcat/7.0.47  apr 01, 2015 11:55:07 pm org.apache.catalina.core.containerbase startinternal  severe: child container failed during start  java.util.concurrent.executionexception: org.apache.catalina.lifecycleexception: failed start component [standardengine[tomcat].standardhost[localhost].standardcontext[/javawebappdemo]]  	at java.util.concurrent.futuretask.report(futuretask.java:122)  	at java.util.concurrent.futuretask.get(futuretask.java:192)  	at org.apache.catalina.core.containerbase.startinternal(containerbase.java:1123)  	at org.apache.catalina.core.standardhost.startinternal(standardhost.java:800)  	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:266)  	at java.util.concurrent.threadpoolexecutor.runworker(threadpoolexecutor.java:1142)  	at java.util.concurrent.threadpoolexecutor$worker.run(threadpoolexecutor.java:617)  	at java.lang.thread.run(thread.java:744)  caused by: org.apache.catalina.lifecycleexception: failed start component [standardengine[tomcat].standardhost[localhost].standardcontext[/javawebappdemo]]  	at org.apache.catalina.util.lifecyclebase.start(lifecyclebase.java:154)  	... 6 more  caused by: java.lang.classcastexception: com.sun.jersey.server.impl.container.servlet.jerseyservletcontainerinitializer cannot cast javax.servlet.servletcontainerinitializer  	at org.apache.catalina.startup.contextconfig.getservletcontainerinitializer(contextconfig.java:1670)  	at org.apache.catalina.startup.contextconfig.getservletcontainerinitializers(contextconfig.java:1652)  	at org.apache.catalina.startup.contextconfig.processservletcontainerinitializers(contextconfig.java:1562)  	at org.apache.catalina.startup.contextconfig.webconfig(contextconfig.java:1270)  	at org.apache.catalina.startup.contextconfig.configurestart(contextconfig.java:878)  	at org.apache.catalina.startup.contextconfig.lifecycleevent(contextconfig.java:376)  	at org.apache.catalina.util.lifecyclesupport.firelifecycleevent(lifecyclesupport.java:119)  	at org.apache.catalina.util.lifecyclebase.firelifecycleevent(lifecyclebase.java:90)  	at org.apache.catalina.core.standardcontext.startinternal(standardcontext.java:5322)  	at org.apache.catalina.util.lifecyclebase.start(lifecyclebase.java:150)  	... 6 more    apr 01, 2015 11:55:07 pm org.apache.catalina.core.containerbase startinternal  severe: child container failed during start  java.util.concurrent.executionexception: org.apache.catalina.lifecycleexception: failed start component [standardengine[tomcat].standardhost[localhost]]  	at java.util.concurrent.futuretask.report(futuretask.java:122)  	at java.util.concurrent.futuretask.get(futuretask.java:192)  	at org.apache.catalina.core.containerbase.startinternal(containerbase.java:1123)  	at org.apache.catalina.core.standardengine.startinternal(standardengine.java:302)  	at org.apache.catalina.util.lifecyclebase.start(lifecyclebase.java:150)  	at org.apache.catalina.core.standardservice.startinternal(standardservice.java:443)  	at org.apache.catalina.util.lifecyclebase.start(lifecyclebase.java:150)  	at org.apache.catalina.core.standardserver.startinternal(standardserver.java:732)  	at org.apache.catalina.util.lifecyclebase.start(lifecyclebase.java:150)  	at org.apache.catalina.startup.tomcat.start(tomcat.java:341)  	at org.apache.tomcat.maven.plugin.tomcat7.run.abstractrunmojo.startcontainer(abstractrunmojo.java:1238)  	at org.apache.tomcat.maven.plugin.tomcat7.run.abstractrunmojo.execute(abstractrunmojo.java:592)  	at org.apache.maven.plugin.defaultbuildpluginmanager.executemojo(defaultbuildpluginmanager.java:101)  	at org.apache.maven.lifecycle.internal.mojoexecutor.execute(mojoexecutor.java:209)  	at org.apache.maven.lifecycle.internal.mojoexecutor.execute(mojoexecutor.java:153)  	at org.apache.maven.lifecycle.internal.mojoexecutor.execute(mojoexecutor.java:145)  	at org.apache.maven.lifecycle.internal.lifecyclemodulebuilder.buildproject(lifecyclemodulebuilder.java:84)  	at org.apache.maven.lifecycle.internal.lifecyclemodulebuilder.buildproject(lifecyclemodulebuilder.java:59)  	at org.apache.maven.lifecycle.internal.lifecyclestarter.singlethreadedbuild(lifecyclestarter.java:183)  	at org.apache.maven.lifecycle.internal.lifecyclestarter.execute(lifecyclestarter.java:161)  	at org.apache.maven.defaultmaven.doexecute(defaultmaven.java:320)  	at org.apache.maven.defaultmaven.execute(defaultmaven.java:156)  	at org.apache.maven.cli.mavencli.execute(mavencli.java:537)  	at org.apache.maven.cli.mavencli.domain(mavencli.java:196)  	at org.apache.maven.cli.mavencli.main(mavencli.java:141)  	at sun.reflect.nativemethodaccessorimpl.invoke0(native method)  	at sun.reflect.nativemethodaccessorimpl.invoke(nativemethodaccessorimpl.java:62)  	at sun.reflect.delegatingmethodaccessorimpl.invoke(delegatingmethodaccessorimpl.java:43)  	at java.lang.reflect.method.invoke(method.java:483)  	at org.codehaus.plexus.classworlds.launcher.launcher.launchenhanced(launcher.java:290)  	at org.codehaus.plexus.classworlds.launcher.launcher.launch(launcher.java:230)  	at org.codehaus.plexus.classworlds.launcher.launcher.mainwithexitcode(launcher.java:409)  	at org.codehaus.plexus.classworlds.launcher.launcher.main(launcher.java:352)  caused by: org.apache.catalina.lifecycleexception: failed start component [standardengine[tomcat].standardhost[localhost]]  	at org.apache.catalina.util.lifecyclebase.start(lifecyclebase.java:154)  	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:266)  	at java.util.concurrent.threadpoolexecutor.runworker(threadpoolexecutor.java:1142)  	at java.util.concurrent.threadpoolexecutor$worker.run(threadpoolexecutor.java:617)  	at java.lang.thread.run(thread.java:744)  caused by: org.apache.catalina.lifecycleexception: child container failed during start  	at org.apache.catalina.core.containerbase.startinternal(containerbase.java:1131)  	at org.apache.catalina.core.standardhost.startinternal(standardhost.java:800)  	at org.apache.catalina.util.lifecyclebase.start(lifecyclebase.java:150)  	... 6 more

your project works "out-of-the-box" in eclipse , on commandline. i'm running on windows7, eclipse indigo, jdk1.7.0_45, maven 3.0.4

here log receive, when invoke "tomcat7:run":

slf4j: failed load class "org.slf4j.impl.staticloggerbinder". slf4j: defaulting no-operation (nop) logger implementation slf4j: see http://www.slf4j.org/codes.html#staticloggerbinder further details. [info] scanning projects... [info]                                                                          [info] ------------------------------------------------------------------------ [info] building javawebappdemo maven webapp 1.0.0 [info] ------------------------------------------------------------------------ [info]  [info] >>> tomcat7-maven-plugin:2.2:run (default-cli) @ javawebappdemo >>> [info]  [info] --- maven-resources-plugin:2.5:resources (default-resources) @ javawebappdemo --- [debug] execute contextualize [info] using 'utf-8' encoding copy filtered resources. [info] copying 5 resources [info]  [info] --- maven-compiler-plugin:2.5.1:compile (default-compile) @ javawebappdemo --- [info] nothing compile - classes date [info]  [info] <<< tomcat7-maven-plugin:2.2:run (default-cli) @ javawebappdemo <<< [info]  [info] --- tomcat7-maven-plugin:2.2:run (default-cli) @ javawebappdemo --- [info] running war on http://localhost:8181/javawebappdemo [info] using existing tomcat server configuration @ c:\users\gclaussnitzer1\downloads\javawebappdemo-master\javawebappdemo-master\target\tomcat [info] create webapp contextpath: /javawebappdemo apr 02, 2015 3:38:59 pm org.apache.coyote.abstractprotocol init information: initializing protocolhandler ["http-bio-8181"] apr 02, 2015 3:38:59 pm org.apache.catalina.core.standardservice startinternal information: starting service tomcat apr 02, 2015 3:38:59 pm org.apache.catalina.core.standardengine startinternal information: starting servlet engine: apache tomcat/7.0.47 servlet context initilize path :/javawebappdemo >>>>>>>>>>>>>>>>>> mongodb information >>>>>>>>>>>>>>> host name : localhost >>>>>>>>>>     servlet context attribute listner demo  : add  >>>>>>>>>>>>>>      servletcontext attribute added::{host,localhost}  port : 27017 >>>>>>>>>>     servlet context attribute listner demo  : add  >>>>>>>>>>>>>>      servletcontext attribute added::{port,27017}  databasenames : [ide, local, admin] >>>>>>>>>>     servlet context attribute listner demo  : add  >>>>>>>>>>>>>>      servletcontext attribute added::{databasenames,[ide, local, admin]}  mongodb conection created sucessfully...!!!  apr 02, 2015 3:39:02 pm com.sun.jersey.api.core.packagesresourceconfig init information: scanning root resource , provider classes in packages:   com.example.rest.jersey apr 02, 2015 3:39:02 pm com.sun.jersey.api.core.scanningresourceconfig logclasses information: root resource classes found:   class com.example.rest.jersey.queryparameterjerseydemo   class com.example.rest.jersey.formparameterjerseydemo   class com.example.rest.jersey.filedownloadjerseydemo   class com.example.rest.jersey.pathparameterjerseydemo   class com.example.rest.jersey.matrixparameterjerseydemo   class com.example.rest.jersey.fileuploadjerseydemo   class com.example.rest.jersey.simplehelloworld   class com.example.rest.jersey.jsonjerseydemo apr 02, 2015 3:39:02 pm com.sun.jersey.api.core.scanningresourceconfig init information: no provider classes found. apr 02, 2015 3:39:02 pm com.sun.jersey.server.impl.application.webapplicationimpl _initiate information: initiating jersey application, version 'jersey: 1.19 02/11/2015 03:25 am' >>>>>>>>>>     servlet context attribute listner demo  : add  >>>>>>>>>>>>>>      servletcontext attribute added::{org.apache.jasper.compiler.tldlocationscache,org.apache.jasper.compiler.tldlocationscache@1fbbc6da}  apr 02, 2015 3:39:02 pm org.apache.coyote.abstractprotocol start information: starting protocolhandler ["http-bio-8181"] 

here screenshot demo landing page: enter image description here

i checked, if demos working - do.


Comments

Popular posts from this blog

google chrome - Developer tools - How to inspect the elements which are added momentarily (by JQuery)? -

angularjs - Showing an empty as first option in select tag -

php - Cloud9 cloud IDE and CakePHP -