spring-boot学习笔记之一——pom

怎么知道pom.xml文件中dependency的写法。

在http://mvnrepository.com查找org.springframework.boot、boot、tomcat等检索词


例如:检索 boot tomcat 选择第一个,选择版本1.5.3.RELEASE


 <dependency>

               <groupId>org.springframework.boot</groupId>

               <artifactId>spring-boot-starter-tomcat</artifactId>

               <scope>provided</scope>

 </dependency>



posted @ 2017-04-25 16:06  六七十三  阅读(43)  评论(0编辑  收藏  举报