您现在的位置是: 首页 > 后端开发 mac idea spring boot 启动慢
mac idea spring boot 启动慢
2020-05-20 【后端开发】 3385人已围观 7703次浏览
简介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)
相关文章
- 记一次 Mybatis-Plus 自动填充无效问题解决
- SqlServer 优化技巧
- RocketMQ 出现 sendDefaultImpl call timeout 问题
- 删除Git仓库所有历史提交记录,成为一个干净的仓库
- SqlServer字符串处理
- 获取阿里云CDN真实IP
- 类 BASE64Decoder 程序包 sun.misc 找不到符号
- Laravel Dingo/api 出现 The version given was unknown or has no registered routes.报错
- Error in execution; nested exception is io.lettuce.core.RedisCommandExecutionException: ERR DISABLE You can't write or read against a disable instance
- springboot引入mybatis-plus后出现ClassNotFoundException: org.mybatis.logging.LoggerFactory
点击排行
- 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 项目完整部署方案
站长推荐
猜你喜欢
- LNMP定时备份任务教程(支持排除指定文件夹)
- Linux 查看磁盘、磁盘分区、挂载磁盘、卸载磁盘操作
- mysql 索引过长1071-max key length is 767 byte
- CentOS 安装Python3
- 删除Git仓库所有历史提交记录,成为一个干净的仓库
- 常见端口号
- 在更新python时出现dyld: Library not loaded: /usr/local/opt/libpsl/lib/libpsl.5.dylib,Reason: image not found错误解决方案
- python scrapy 出现 DEBUG: Filtered offsite request to 错误
- start.spring.io访问太慢,构建SpringBoot项目失败
- Python自动生成和安装requirements.txt文件中的依赖