启动一个 Spring Boot 工程的时候出现了这样的异常:
解决方案:
vim /etc/hosts
添加当前 ip 和主机名的对应关系:
参考资料:
https://blog.csdn.net/ffggnfgf/article/details/50818949