您现在的位置是: 首页 > 后端开发 mac idea spring boot 启动慢
mac idea spring boot 启动慢
2020-05-20 【后端开发】 3960人已围观 8794次浏览
简介mac idea spring boot 启动慢
正常启动一个springboot项目应该在几秒中内就可以启动完成,但是有时会出现网络问题,导致启动速度受影响。比如我在家里启动只要3秒,到公司启动就要100-200秒,通过查询idea官网,得到的解决方案如下
https://youtrack.jetbrains.com/issue/IDEA-161967
首先通过命令
hostname
得到如下的字符串
caoruideMacBook-Pro.local
然后根据官网的解决方案,修改机器host文件,新增
127.0.0.1 localhost caoruideMacBook-Pro.local
注意:中间不是空格,是Tab,一个Tab就好了
保存退出后,重新启动springboot,即可发现启动速度变快了
很赞哦! (0)
相关文章
- Laravel Dingo/api 出现 The version given was unknown or has no registered routes.报错
- 记一次Java MessageFormat.format踩坑
- SqlServer 查询包含指定字段的存储过程
- start.spring.io访问太慢,构建SpringBoot项目失败
- SpringBoot 2.x Security security.basic.enabled=false 失效问题解决
- PHP 中list()出现Undefined offset: 0错误
- Laravel项目出现could not be opened: failed to open stream: Permission denied
- SpringBoot 2.x 文件上传出现 The field file exceeds its maximum permitted size of 1048576 bytes
- 记一次 Mybatis-Plus 自动填充无效问题解决
- Error in execution; nested exception is io.lettuce.core.RedisCommandExecutionException: ERR DISABLE You can't write or read against a disable instance
点击排行
- Error in execution; nested exception is io.lettuce.core.RedisCommandExecutionException: ERR DISABLE You can't write or read against a disable instance
- Debian apt 使用国内镜像
- RocketMQ 出现 sendDefaultImpl call timeout 问题
- 类 BASE64Decoder 程序包 sun.misc 找不到符号
- SpringBoot @NotBlank 不生效问题
- 记一次 Mybatis-Plus 自动填充无效问题解决
- SpringBoot 2.x 文件上传出现 The field file exceeds its maximum permitted size of 1048576 bytes
- nuxt 项目完整部署方案
站长推荐
猜你喜欢
- Docker 批量操作命令
- Vue 报错 Avoid using non-primitive value as key, use string/number value instead
- Mac降温软件推荐smcFanControl
- 在使用Flutter进行网络请求时,使用Dio访问https地址出现unable to get local issuer certificate错误
- Android SDK版本号与API级别的对照表
- Linux 服务器之间传输大文件(压缩文件、查看MD5、后台传输)
- Linux 常用命令 持续更新中...
- SpringBoot 集成 Elasticsearch 7.8.1 出现错误 Factory method 'elasticsearchRestHighLevelClient' threw exception; nested exception is java.lang.NoSuchFieldError: IGNORE_DEPRECATIONS
- Linux 修改默认的 ssh 22 端口
- idea去掉Smart commands execution提示