首页 > 其他 > 详细

idea jetty:run 启动

时间:2019-11-15 14:22:39      阅读:332      评论:0      收藏:0      [点我收藏+]

1.首先pom    文件

<!-- jetty插件 -->
<plugin>
   <groupId>org.mortbay.jetty</groupId>
   <artifactId>jetty-maven-plugin</artifactId>
   <version>${jetty.version}</version>
   <configuration>
      <webAppConfig>
         <contextPath>/</contextPath>
      </webAppConfig>
   </configuration>
</plugin>
<jetty.version>7.6.14.v20131031</jetty.version>
技术分享图片技术分享图片技术分享图片技术分享图片技术分享图片技术分享图片技术分享图片技术分享图片技术分享图片技术分享图片技术分享图片技术分享图片技术分享图片技术分享图片技术分享图片技术分享图片技术分享图片

2.添加jetty:run

技术分享图片

3.启动jetty

技术分享图片技术分享图片

4.添加到工具(在3图run右键)

技术分享图片

5.也可以在maven配置效果是一样的不过参数可能会错误就不误导大家了


对了我的idea是2017.3的

idea jetty:run 启动

原文:https://www.cnblogs.com/jpfss/p/11865867.html

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!