08 2023 档案
SpringBoot 多环境 yml 和 properties 配置
摘要:## SpringBoot 多环境 yml 和 properties 配置 #### properties 配置 * 主配置文件 application.properties ~~~yml # 开发/测试/生产环境分别对应dev/test/prod spring.profiles.active=de
Springboot 服务 打包 及 运行
摘要:### Springboot 服务 打包 及 运行 #### 打包 * Maven pom.xml 中添加如下内容 ~~~xml org.springframework.boot spring-boot-maven-plugin true true ~~~ * 执行 mvn 中的 package 命
将 外来或者下载下来的 jar 包 安装到本地的 maven 仓库中
摘要:# 将 外来或者下载下来的 jar 包 安装到本地的 maven 仓库中 * 使用管理员权限 打开一个 cmd 窗口 * 输入 mvn -v 查看 maven 版本 * 由于之前 并没有这样的操作所以第一次 执行的时候 提示 命令不存在 * 所以需要将 maven 软件中的 bin 文件的目录 添加