From e5d341086b634f9ac0345b576e6497f978a53941 Mon Sep 17 00:00:00 2001 From: 13693261870 <252740454@qq.com> Date: 星期三, 30 十一月 2022 10:38:29 +0800 Subject: [PATCH] 1 --- pom.xml | 23 +++++++++++++++++++++++ 1 files changed, 23 insertions(+), 0 deletions(-) diff --git a/pom.xml b/pom.xml index 28e7cc6..c10cd66 100644 --- a/pom.xml +++ b/pom.xml @@ -9,6 +9,8 @@ <version>2.3.6.RELEASE</version> <relativePath/> </parent> + <!--鎵撳寘鎴恮ar--> + <packaging>war</packaging> <groupId>com.lf</groupId> <artifactId>server</artifactId> @@ -27,6 +29,19 @@ <dependency> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-starter-web</artifactId> + <!--鎺掗櫎鍐呯疆tomcat瀹瑰櫒锛岃澶栭儴瀹瑰櫒杩愯spring-boot椤圭洰--> + <exclusions> + <exclusion> + <groupId>org.springframework.boot</groupId> + <artifactId>spring-boot-starter-tomcat</artifactId> + </exclusion> + </exclusions> + </dependency> + <!--tomcat--> + <dependency> + <groupId>org.springframework.boot</groupId> + <artifactId>spring-boot-starter-tomcat</artifactId> + <scope>provided</scope> </dependency> <!--<dependency> <groupId>org.springframework.boot</groupId> @@ -214,9 +229,17 @@ <artifactId>ucanaccess</artifactId> <version>5.0.1</version> </dependency> + <!--war:servlet--> + <dependency> + <groupId>javax.servlet</groupId> + <artifactId>javax.servlet-api</artifactId> + <version>3.1.0</version> + <scope>provided</scope> + </dependency> </dependencies> <build> + <finalName>lfserver</finalName> <plugins> <plugin> <groupId>org.springframework.boot</groupId> -- Gitblit v1.9.3