linux上部署springboot项目,启动时日志文件中出现以下错误:
nested exception is java.lang.IllegalStateException: Cannot run without an instance id.
解决方案:
vim 编辑/etc/hosts文件,将当前服务器主机名添加到127.0.0.1 后面任意位置 如图所示:
参考链接:
linux上部署springboot项目,启动时日志文件中出现以下错误:
nested exception is java.lang.IllegalStateException: Cannot run without an instance id.
解决方案:
vim 编辑/etc/hosts文件,将当前服务器主机名添加到127.0.0.1 后面任意位置 如图所示:
参考链接: