美文网首页
Canal 启动错误 UnknownHostException

Canal 启动错误 UnknownHostException

作者: 卡戎li | 来源:发表于2020-03-13 20:23 被阅读0次

Caused by: java.net.UnknownHostException: iZhp3349o7pntezql2q5puZ: Name or service not known

Caused by: java.net.UnknownHostException: iZhp3349o7pntezql2q5puZ: Name or service not known
    at java.net.Inet4AddressImpl.lookupAllHostAddr(Native Method) ~[na:1.8.0_242]
    at java.net.InetAddress$2.lookupAllHostAddr(InetAddress.java:929) ~[na:1.8.0_242]
    at java.net.InetAddress.getAddressesFromNameService(InetAddress.java:1324) ~[na:1.8.0_242]
    at java.net.InetAddress.getAllByName0(InetAddress.java:1277) ~[na:1.8.0_242]
    at java.net.InetAddress.getAllByName(InetAddress.java:1193) ~[na:1.8.0_242]
    at java.net.InetAddress.getAllByName(InetAddress.java:1127) ~[na:1.8.0_242]
    at java.net.InetAddress.getByName(InetAddress.java:1077) ~[na:1.8.0_242]
    at com.alibaba.fastjson.serializer.MiscCodec.deserialze(MiscCodec.java:335) ~[fastjson-1.2.58.jar:na]
    ... 37 common frames omitted

原因:hosts解析错误,边界 /etc/hosts即可

相关文章

网友评论

      本文标题:Canal 启动错误 UnknownHostException

      本文链接:https://www.haomeiwen.com/subject/wjjyshtx.html