摘要: 一般项目直接使用.jar文件 以server.port配置举例;以jar包内和jar包外说明内部和外部 配置文件顺序由高到底,如下: 外部-启动时指定参数 外部-环境变量 外部config/yml文件 外部yml文件 内部config/yml文件 内部yml文件 启动时,如果指定了激活的profil 阅读全文
posted @ 2024-05-02 12:28 le.li 阅读(12) 评论(0) 推荐(0) 编辑
摘要: 检查是否存在插件:spring boot assistant,spring boot File->Setting; plugins,查看右侧“Installed” 不存在则安装spring boot assistant 默认插件中如果没有找到spring boot assistant,安装sprin 阅读全文
posted @ 2024-05-02 12:00 le.li 阅读(42) 评论(0) 推荐(0) 编辑
摘要: 刚刚新建的springboot项目,启动日志显示成功了,但是服务却自动停了。 一种常见的问题是缺少必要的依赖项:Spring Boot Web 添加maven依赖 <dependency> <groupId>org.springframework.boot</groupId> <artifactId 阅读全文
posted @ 2024-05-02 11:35 le.li 阅读(66) 评论(0) 推荐(0) 编辑
摘要: 安装前: 安装: Fle->Setting plugin->marketplace 搜索“”maven helper“”,点击install 安装后,下方多了“Dependency Analyzer”,支持查看全部依赖、依赖冲突,依赖树,过滤 阅读全文
posted @ 2024-05-02 11:21 le.li 阅读(197) 评论(0) 推荐(0) 编辑