Loading...
org.quartz.SchedulerException: Couldn't get host name! [See nested exception: java.net.UnknownHostException:

程序员笔记 2016/01/12 Quartz , Linux , Nginx

hostname没有指向IP地址,编辑/etc/hosts,将hostname指向127.0.0.1即可

vi /etc/hosts

127.0.0.1   localhost localhost.localdomain localhost4 localhost4.localdomain4
::1         localhost localhost.localdomain localhost6 localhost6.localdomain6
127.0.0.1   ticket.centerB



Comments