# springboot-demo **Repository Path**: nmc5/springboot-demo ## Basic Information - **Project Name**: springboot-demo - **Description**: 测试springboot整合其他 - **Primary Language**: Unknown - **License**: Not specified - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2018-09-03 - **Last Updated**: 2020-12-19 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README > 代码中使用mysql. ```properties # 打包 mvn clean install -Dmaven.test.skip=true # 运行 # 默认的profile为dev, # 测试环境:java -jar xxx.jar --spring.profiles.active=test # 生产环境:java -jar xxx.jar --spring.profiles.active=prod ``` > IDEA 使用 devtools 需要设置一下 1 Setting->Build,Execution,Deployment->Compiler 勾选 Make project automatically 2 Shift+Ctrl+Alt+/,选择Registry 勾选 compiler.automake.allow.when.app.running 3 重启idea