springboot依赖注入需要引入什么包

springboot依赖注入需要引入什么包 


温温酱
浏览 633回答 1
1回答

qq_遁去的一_1

<!-- 核心模块,包括自动配置支持、日志和YAML --><dependency><groupId>org.springframework.boot</groupId><artifactId>spring-boot-starter</artifactId></dependency><!-- 测试模块,包括JUnit、Hamcrest、Mockito --><dependency><groupId>org.springframework.boot</groupId><artifactId>spring-boot-starter-test</artifactId><scope>test</scope></dependency><!-- 引入Web模块 --><dependency><groupId>org.springframework.boot</groupId><artifactId>spring-boot-starter-web</artifactId></dependency>
打开App,查看更多内容
随时随地看视频慕课网APP