摘要:
多环境开发 多环境启动 SpringBoot3.0以上需使用另一种格式 # 设置启用的环境 spring: profiles: active: pro # 开发 spring: config: activate: on-profile: dev server: port: 80 # 生产 sprin 阅读全文
posted @ 2023-03-29 21:57
风陵南
阅读(62)
评论(0)
推荐(0)
摘要:
基础配置 配置格式 SpringBoot提供了多种属性配置方法 application.properties server.port=80 application.yml server: port: 81 application.yaml server: port: 82 SpringBoot配置文 阅读全文
posted @ 2023-03-29 21:29
风陵南
阅读(35)
评论(0)
推荐(0)
摘要:
Jetty服务器(可能会用到) Jetty 比 Tomcat更轻量级,可拓展性更强(相较于Tomcat),谷歌应用引擎(GAE)已经全面切换为Jetty 首先要启动Jetty服务器 --> 到nexus.exe文件夹中cmd输入nexus.exe /run nexus 使用maven依赖管理变更起步 阅读全文
posted @ 2023-03-29 20:19
风陵南
阅读(290)
评论(0)
推荐(0)
摘要:
SpringBoot项目快速启动 对SpringBoot项目打包(执行Maven构建指令package) 执行后会生成对应的项目 jar包,在文件夹找到该文件 在对应文件夹下即可执行 java -jar 包名.jar 指令,可直接启动项目(需要包含对应的jdk) 阅读全文
posted @ 2023-03-29 00:04
风陵南
阅读(95)
评论(0)
推荐(0)

浙公网安备 33010602011771号