今天搭建Apollo的时候,到了启动的这一步卡了很久,因为遇到了启动时间过长的提示。
百度了一下,很多说是因为启动apollo的时候,apollo会注册自己的eureka,所以时间会有点长,多启动一次Apollo就不会提示超过时常了,按照百度的说法我启动了几次发现还是不行。

最后看了https://hacpai.com/article/1574586067509这篇文章,按照文章所说的改了下图的内容:

之后再去启动,成功。

---------------------补充------------------------------
按照上面的步骤操作是会显示成功,但是apollo根本访问不了,apollo-portal.log 以及 apollo-service.log会报出,如下错误:

网友评论