简单的spring boot tomcat版本升级

时间:2025-01-26 07:44:30
<?xml version="1.0" encoding="UTF-8"?> <project xmlns="/POM/4.0.0" xmlns:xsi="http:///2001/XMLSchema-instance" xsi:schemaLocation="/POM/4.0.0 /xsd/maven-4.0."> <parent> <artifactId>credit-business</artifactId> <groupId></groupId> <version>1.0-SNAPSHOT</version> </parent> <modelVersion>4.0.0</modelVersion> <artifactId>business-common</artifactId> <description>公共模块,业务依赖基础模块,提供基础的技术和业务支撑</description> <dependencies> <!-- feign 调用通用interceptor,保证调用header token 值不丢失 --> <dependency> <groupId></groupId> <artifactId>spring-cloud-starter-openfeign</artifactId> </dependency> <dependency> <groupId></groupId> <artifactId>spring-boot-starter-web</artifactId> <exclusions> <exclusion> <groupId></groupId> <artifactId>spring-boot-starter-tomcat</artifactId> </exclusion> <exclusion> <groupId></groupId> <artifactId>tomcat-embed-core</artifactId> </exclusion> <exclusion> <groupId></groupId> <artifactId>tomcat-embed-el</artifactId> </exclusion> <exclusion> <groupId></groupId> <artifactId>tomcat-embed-websocket</artifactId> </exclusion> <exclusion> <groupId></groupId> <artifactId>tomcat-annotations-api</artifactId> </exclusion> </exclusions> </dependency> <!-- tomcat 修复漏洞 --> <dependency> <groupId></groupId> <artifactId>tomcat-embed-core</artifactId> <version>${}</version> <exclusions> <exclusion> <groupId></groupId> <artifactId>tomcat-annotations-api</artifactId> </exclusion> </exclusions> </dependency> <dependency> <groupId></groupId> <artifactId>tomcat-annotations-api</artifactId> <version>${}</version> </dependency> <dependency> <groupId></groupId> <artifactId>tomcat-embed-el</artifactId> <version>${}</version> </dependency> <dependency> <groupId></groupId> <artifactId>tomcat-embed-websocket</artifactId> <version>${}</version> <exclusions> <exclusion> <groupId></groupId> <artifactId>tomcat-embed-core</artifactId> </exclusion> </exclusions> </dependency> <dependency> <groupId></groupId> <artifactId>credit-swagger-starter</artifactId> <version>1.0-SNAPSHOT</version> </dependency> <dependency> <groupId></groupId> <artifactId>mapstruct</artifactId> </dependency> <dependency> <groupId></groupId> <artifactId>spring-boot-starter-validation</artifactId> </dependency> <dependency> <groupId></groupId> <artifactId>spring-boot-starter-aop</artifactId> </dependency> <dependency> <groupId></groupId> <artifactId>credit-oracle-starter</artifactId> <version>1.0-SNAPSHOT</version> </dependency> <dependency> <groupId></groupId> <artifactId>credit-redis-starter</artifactId> <version>1.0-SNAPSHOT</version> </dependency> <!-- ftp上传下载--> <dependency> <groupId>commons-net</groupId> <artifactId>commons-net</artifactId> <version>3.7</version> </dependency> <dependency> <groupId></groupId> <artifactId>credit-discovery-starter</artifactId> <version>1.0-SNAPSHOT</version> </dependency> <dependency> <groupId></groupId> <artifactId>spring-cloud-starter-alibaba-sentinel</artifactId> </dependency> </dependencies> </project>