# springboot-demo **Repository Path**: opensource4clive/springboot-demo ## Basic Information - **Project Name**: springboot-demo - **Description**: 简单的spring-boot例子 可作为初始化项目模板 - **Primary Language**: Java - **License**: Not specified - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2017-04-24 - **Last Updated**: 2022-06-26 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # springboot-demo ## 简单的spring-boot例子 可作为初始化项目模板 ### 项目名修改项: * pom.xml * src/main/resources/logback.xml * src/main/resources/application.yml ###### 运行: java -Xms2048M -Xmx2048M -Xss256k -XX:+HeapDumpOnOutOfMemoryError -XX:HeapDumpPath=/tmp/java.dump -XX:+PrintGCDetails -XX:+PrintGCDateStamps -Xloggc:/tmp/gc.log -XX:ErrorFile=/tmp/jvm_error.log -jar -Dspring.profiles.active=dev springboot-demo.jar >/dev/null & ### 启动后请求路径: http://localhost:8080/springboot-demo/demo/hello, 请以post方式访问 入参: ```json { "name": "world" } ``` 返回: ```json { "result": true, "msg": null, "data": "hello world" } ```