我已经下载了terracotta 4.3的试用版,我正在尝试配置我之前使用terracotta 3.7使用新版本的应用程序。已完成文档QuickSetupGuide中建议的更改,但收到以下错误。任何有关解决问题的建议或指示都将受到高度赞赏。我的应用程序使用spring 3.2.1。
ERROR 2015-07-20 18:03:03,276(org.springframework.web.context.ContextLoader) - 上下文初始化失败 org.springframework.beans.factory.BeanCreationException:创建名为' pendingAccountCacheManager'的bean时出错。在URL [file:/ C:/dev/apache-tomcat-7.0.16_1/webapps/account/WEB-INF/classes/context/account-cacheloader.xml]中定义:调用init方法失败;嵌套异常是net.sf.ehcache.CacheException:无法加载类net.sf.ehcache.terracotta.ExpressEnterpriseTerracottaClusteredInstanceFactory。最初的原因是org.terracotta.toolkit.ToolkitInstantiationException:toolkitUrl应该是以下形式:' toolkit:terracotta:// server:tsa-port',无效的服务器:指定端口 - '工具包:terracotta: //本地主机:9510' 在org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1486) 在org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:524) 在org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:461) at org.springframework.beans.factory.support.AbstractBeanFactory $ 1.getObject(AbstractBeanFactory.java:295) 在org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:223) 在org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:292) 在org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:194) at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:608) 在org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:932) 在org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:479) at org.springframework.web.context.ContextLoader.configureAndRefreshWebApplicationContext(ContextLoader.java:389) 在org.springframework.web.context.ContextLoader.initWebApplicationContext(ContextLoader.java:294) 在org.springframework.web.context.ContextLoaderListener.contextInitialized(ContextLoaderListener.java:112) 在org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:4723) at org.apache.catalina.core.StandardContext $ 1.call(StandardContext.java:5226) 在org.apache.catalina.core.StandardContext $ 1.call(StandardContext.java:5221) at java.util.concurrent.FutureTask $ Sync.innerRun(FutureTask.java:334) at java.util.concurrent.FutureTask.run(FutureTask.java:166) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110) at java.util.concurrent.ThreadPoolExecutor $ Worker.run(ThreadPoolExecutor.java:603) 在java.lang.Thread.run(Thread.java:722) 引起:net.sf.ehcache.CacheException:无法加载类net.sf.ehcache.terracotta.ExpressEnterpriseTerracottaClusteredInstanceFactory。最初的原因是org.terracotta.toolkit.ToolkitInstantiationException:toolkitUrl应该是以下形式:' toolkit:terracotta:// server:tsa-port',无效的服务器:指定端口 - '工具包:terracotta: //本地主机:9510'
如果需要更多细节,请告诉我。