eclipse继承maven插件,报 Running war on http://localhost:8080/hello [INFO] Using existing Tomcat server

本文介绍了使用Maven插件部署Tomcat应用的过程,包括扫描项目、构建、资源复制及编译步骤,并提供了运行war包的具体操作指南。

摘要生成于 C知道 ,由 DeepSeek-R1 满血版支持, 前往体验 >

[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

信息: Starting Coyote HTTP/1.1 on http-8080

给maven的使用新手的提醒------这里已经正确启动了,一定要把你的路径写正确-----一定要写到localhost:8080/temp/tempServlet======一定要写到web.xml中的url-pattern


评论 1
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值