---
title: "tomcat 启动异常"
author: "mrrigth"
date: "2013-07-07T14:42:57Z"
tags: []
categories: ["操作系统"]
slug: "tomcat"
draft: false
lastmod: "2013-07-07T14:42:57Z"
id: 1900815
url: "https://mrrigth.iteye.com/blog/1900815"
---

**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

问题解决