项目中使用某一组件,启动失败Caused by: java.net.UnknownHostException: xxxCentOS6.3: xxxCentOS6.3解析不到xxxCentOS6.3。解决办法为:在/etc/hosts文件中添加一行127.0.0.1 xxxCentOS6.3