[INFO] Scanning for projects...
[INFO]
[INFO] ------------------------------------------------------------------------
[INFO] Building hello 0.0.1-SNAPSHOT
[INFO] ------------------------------------------------------------------------
[INFO]
[INFO] >>> tomcat-maven-plugin:1.1:run (default-cli) > compile @ hello >>>
[INFO]
[INFO] --- maven-resources-plugin:2.6:resources (default-resources) @ hello ---
[WARNING] Using platform encoding (UTF-8 actually) to copy filtered resources, i.e. build is platform dependent!
[INFO] Copying 0 resource
[INFO]
[INFO] --- maven-compiler-plugin:3.5.1:compile (default-compile) @ hello ---
[INFO] Nothing to compile - all classes are up to date
[INFO]
[INFO] <<< tomcat-maven-plugin:1.1:run (default-cli) < compile @ hello <<<
[INFO]
[INFO] --- tomcat-maven-plugin:1.1:run (default-cli) @ hello ---
[INFO] Running war on http://localhost:8080/hello
[INFO] Using existing Tomcat server configuration at F:\eclipse(ssh)\hello\target\tomcat
五月 14, 2018 6:20:41 下午 org.apache.catalina.startup.Embedded start
信息: Starting tomcat server
五月 14, 2018 6:20:42 下午 org.apache.catalina.core.StandardEngine start
信息: Starting Servlet Engine: Apache Tomcat/6.0.29
五月 14, 2018 6:20:42 下午 org.apache.coyote.http11.Http11Protocol init
信息: Initializing Coyote HTTP/1.1 on http-8080
五月 14, 2018 6:20:42 下午 org.apache.coyote.http11.Http11Protocol start
[INFO]
[INFO] ------------------------------------------------------------------------
[INFO] Building hello 0.0.1-SNAPSHOT
[INFO] ------------------------------------------------------------------------
[INFO]
[INFO] >>> tomcat-maven-plugin:1.1:run (default-cli) > compile @ hello >>>
[INFO]
[INFO] --- maven-resources-plugin:2.6:resources (default-resources) @ hello ---
[WARNING] Using platform encoding (UTF-8 actually) to copy filtered resources, i.e. build is platform dependent!
[INFO] Copying 0 resource
[INFO]
[INFO] --- maven-compiler-plugin:3.5.1:compile (default-compile) @ hello ---
[INFO] Nothing to compile - all classes are up to date
[INFO]
[INFO] <<< tomcat-maven-plugin:1.1:run (default-cli) < compile @ hello <<<
[INFO]
[INFO] --- tomcat-maven-plugin:1.1:run (default-cli) @ hello ---
[INFO] Running war on http://localhost:8080/hello
[INFO] Using existing Tomcat server configuration at F:\eclipse(ssh)\hello\target\tomcat
五月 14, 2018 6:20:41 下午 org.apache.catalina.startup.Embedded start
信息: Starting tomcat server
五月 14, 2018 6:20:42 下午 org.apache.catalina.core.StandardEngine start
信息: Starting Servlet Engine: Apache Tomcat/6.0.29
五月 14, 2018 6:20:42 下午 org.apache.coyote.http11.Http11Protocol init
信息: Initializing Coyote HTTP/1.1 on http-8080
五月 14, 2018 6:20:42 下午 org.apache.coyote.http11.Http11Protocol start
信息: Starting Coyote HTTP/1.1 on http-8080
给maven的使用新手的提醒------这里已经正确启动了,一定要把你的路径写正确-----一定要写到localhost:8080/temp/tempServlet======一定要写到web.xml中的url-pattern