1)在idea打开maven视图窗口,运行命令按钮,如下图所示
2)输入下面运行命令
mvn dependency:tree -Dincludes=org.apache.tomcat.embed:tomcat-embed-core
控制台打印如下
。。。@b@@b@[INFO] com.louis.springboot:feignDemo:jar:0.0.1-SNAPSHOT@b@[INFO] \- org.springframework.boot:spring-boot-starter-web:jar:2.1.5.RELEASE:compile@b@[INFO] \- org.springframework.boot:spring-boot-starter-tomcat:jar:2.1.5.RELEASE:compile@b@[INFO] \- org.apache.tomcat.embed:tomcat-embed-core:jar:9.0.19:compile@b@[INFO] ------------------------------------------------------------------------@b@[INFO] BUILD SUCCESS@b@[INFO] ------------------------------------------------------------------------@b@[INFO] Total time: 46.416 s@b@[INFO] Finished at: 2024-09-20T11:43:01+08:00@b@[INFO] ------------------------------------------------------------------------@b@[WARNING] The requested profile "aliyun-public" could not be activated because it does not exist.