idea社区版本 创建javaweb项目后使用jetty启动

 

<dependencies>

        <dependency>
            <groupId>javax.servlet</groupId>
            <artifactId>javax.servlet-api</artifactId>
            <version>3.0.1</version>
        </dependency>
        <dependency>
            <groupId>org.eclipse.jetty</groupId>
            <artifactId>jetty-jsp</artifactId>
            <version>9.0.0.v20130308</version>
        </dependency>
    </dependencies>

    <build>
        <plugins>
            <plugin>
                <groupId>org.eclipse.jetty</groupId>
                <artifactId>jetty-maven-plugin</artifactId>
                <version>9.0.0.v20130308</version>
                <configuration>
                    <contextPath>/mytest</contextPath>
                    <httpConnector>
                        <port>8082</port>
                    </httpConnector>
                </configuration>
            </plugin>
        </plugins>
    </build>

idea 社区版本创建javaweb项目 使用jetty

相关文章:

  • 2022-01-06
  • 2021-10-27
  • 2021-10-25
  • 2021-05-31
  • 2022-01-21
  • 2021-06-15
  • 2021-07-29
猜你喜欢
  • 2022-01-01
  • 2022-12-23
  • 2021-12-29
  • 2021-12-24
  • 2021-08-30
相关资源
相似解决方案