版本:terracotta-3.5.1 windows 7 机器运行,正常启动,并且可以使用
bin目录下的dev-console.bat工具正常连接,
JDK:V1.6
但是使用
使用java代码
String tcFile = "E:\\workspaces\\Myeclipse\\ehcache-tc.xml";
CacheManager cacheManager = new CacheManager(tcFile);
失败,
信息如下:
net.sf.ehcache.CacheException: Unable to load class net.sf.ehcache.terracotta.StandaloneTerracottaClusteredInstanceFactory. Initial cause was com.tc.config.schema.setup.ConfigurationSetupException:
*******************************************************************************
We were unable to read configuration data from the base configuration from file at 'C:\Users\ADMINI~1\AppData\Local\Temp\tc-config6690226943719146143.xml': Characters larger than 4 bytes are not supported: byte 0xb8 implies a length of more than 4 bytes