yxxs123 发表于 2017-1-28 13:37:01

tomcat配置jetty启动项目

  一\配置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启动

  

  
  

  
  
页: [1]
查看完整版本: tomcat配置jetty启动项目