spring initializr 创建项目时,依赖对应的 artifactId

  • 选择各个依赖时,对应的 artifactId
选择的依赖 artifactId名字
不选择依赖,默认包含的artifactId spring-boot-starter、spring-boot-starter-test
web:选择web后,没有spring-boot-starter了,替换成了 spring-boot-starter-web
mysql mysql-connector-java
mybatis mybatis-spring-boot-starter
devtools spring-boot-devtools
Project Metadata界面,Packaging方式选择war时,会添加 spring-boot-starter-tomcat
原文地址:https://www.cnblogs.com/cag2050/p/7785353.html