从本地IDE连接到Slack时获取未知主机异常

时间:2019-02-01 09:41:18

标签: java slack-api beancreationexception

从本地IDE(Eclipse)与Slack连接时,我遇到了异常:

org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'slackBot': Invocation of init method failed;
 nested exception is
org.springframework.web.client.ResourceAccessException: I/O error on
 GET request for "https://slack.com/api/rtm.connect": slack.com; nested
 exception is java.net.UnknownHostException: slack.com

我也在组织Eclipse环境中使用代理服务器。

要解决此错误,我还需要更改或添加什么?

0 个答案:

没有答案