# springBootProject **Repository Path**: cj740470290/springBootProject ## Basic Information - **Project Name**: springBootProject - **Description**: springBoot基本框架 - **Primary Language**: Unknown - **License**: Not specified - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 1 - **Forks**: 0 - **Created**: 2020-01-17 - **Last Updated**: 2021-03-11 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # SpringBoot框架 ### maven阿里云镜像 D:\IntelliJIDEA2018.1.8\plugins\maven\lib\maven3\conf\settings.xml ```xml alimaven aliyun maven http://maven.aliyun.com/nexus/content/groups/public/ central ``` ### 开发运行 ```jshelllanguage mvn spring-boot:run ``` ### 打包发布 1.命令行打包 ```jshelllanguage mvn clean package ``` 2.idea右侧菜单的Maven Projects => Lifecycle => package ```jshelllanguage java -jar hello.jar ``` ### 日志 日志门面: SLF4j 日志实现: Logback ### 已有的接口 ```javascript // html文件 http://localhost:8080/ // {"name":"zhangSan","age":18} http://localhost:8080/hello // {"id":11,"content":"Hello, tom!","userList":["tom","marry"]} http://localhost:8080/greeting?name=tom ```