# spring-boot **Repository Path**: kedayawa/spring-boot ## Basic Information - **Project Name**: spring-boot - **Description**: 简单了解spring-boot入门 - **Primary Language**: Unknown - **License**: Not specified - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2017-06-07 - **Last Updated**: 2020-12-19 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README ###入门 1. 使用sts新建一个springboot项目 ![1.](https://git.oschina.net/uploads/images/2017/0607/170933_0f780a45_1331784.png "1.") ![2.](https://git.oschina.net/uploads/images/2017/0607/170956_7aa2c297_1331784.png "2.") 2. 需要加入的jar包 在使用时 ``` org.springframework.boot spring-boot-starter-web org.springframework.boot spring-boot-starter-tomcat provided javax.servlet jstl org.apache.tomcat.embed tomcat-embed-jasper provided ``` 3. 在application.yml或者是application.properties文件中指定视图模板的位置: ``` spring: mvc: view: prefix: '/WEB-INF/views/' suffix: '.jsp' ``` 4. Springboot官方示例 Springboot 在github上提供了官方的示例,地址: https://github.com/spring-projects/spring-boot/tree/master/spring-boot-samples 将这些示例克隆下来,然后可以进一步学习spring-boot的使用