Failed to get local InetAddress for VMID. This is unlikely to matter.

2015/02/09 23:07
阅读数 73

 C3P0在Linux下Failed to get local InetAddress for VMID. This is unlikely to matter. At all

报错代码:
Failed to get local InetAddress for VMID. This is unlikely to matter. At all. We'll add some extra randomness

java.net.UnknownHostException: Fedora.dule:Fedora.dule

查看Fedora.dule来自哪里

[root@dule ~]# cat /etc/sysconfig/network
NETWORKING=yes
HOSTNAME=Fedora.DuLe
NTPSERVERARGS=iburst

解决方法

[root@dule ~]# gedit /etc/hosts

在行127.0.0.1  localhost localhost.localdomain 后加上Fedora.dule保存。

 
 
展开阅读全文
打赏
0
0 收藏
分享
加载中
更多评论
打赏
0 评论
0 收藏
0
分享
返回顶部
顶部