1 .net.sf.ehcache.config.configurationfactory - no configuration found. configuring ehcache from ehcache-failsafe.xml found in classpath:
ehcache.xml 无法找到导致
将ehcache.xml拷贝到src目录下解决
2 .[net.sf.ehcache.Cache]-[ERROR] Unable to set localhost. This prevents creation of a GUID. Cause was: hichina.com
java.net.UnknownHostException: hichina.com 未知的名称或服务(不同服务器运营商都不同)
因为DNS无法解析此域名所导致的,做如下修改解决:
#vi /etc/hosts
添加
127.0.0.1 hichina.com
问题解决