一\配置jetty依赖 :

修改pox.xml文件

<name>I.T Web Shop</name>

<packaging>war</packaging> // 如果是jar就打成jar包,如果是war就打成war


在<dependencies>标签内加入:

<dependency>

<groupId>org.mortbay.jetty</groupId>

<artifactId>jsp-2.1-jetty</artifactId>

<version>${jetty.version}</version>

<scope>test</scope>

</dependency>


二、配置eclipse启动

tomcat配置jetty启动项目


tomcat配置jetty启动项目


tomcat配置jetty启动项目


相关文章:

  • 2022-02-13
  • 2021-07-19
  • 2021-05-20
  • 2021-11-29
  • 2021-11-05
猜你喜欢
  • 2022-12-23
  • 2021-04-07
  • 2022-02-08
  • 2022-12-23
  • 2021-05-18
  • 2021-05-06
  • 2021-12-28
相关资源
相似解决方案