2012-09-18 16:00:25.674 920 [localhost-startStop-1] WARN o.s.b.f.s.DefaultListableBeanFactory
FactoryBean threw exception from getObjectType, despite the contract saying that it should return null if the type of its object cannot be determined yet
java.lang.NoClassDefFoundError: net/sf/ehcache/CacheManager
at org.springframework.cache.ehcache.EhCacheManagerFactoryBean.getObjectType(EhCacheManagerFactoryBean.java:124) ~[spring-context-3.1.1.RELEASE.jar:3.1.1.RELEASE]
at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:901) [catalina.jar:7.0.29]
at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:877) [catalina.jar:7.0.29]
at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:618) [catalina.jar:7.0.29]
at org.apache.catalina.startup.HostConfig.deployDescriptor(HostConfig.java:650) [catalina.jar:7.0.29]
at org.apache.catalina.startup.HostConfig$DeployDescriptor.run(HostConfig.java:1582) [catalina.jar:7.0.29]
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471) [na:1.7.0_01]
at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:334) [na:1.7.0_01]
at java.util.concurrent.FutureTask.run(FutureTask.java:166) [na:1.7.0_01]
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110) [na:1.7.0_01]
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603) [na:1.7.0_01]
at java.lang.Thread.run(Thread.java:722) [na:1.7.0_01]
Caused by: java.lang.ClassNotFoundException: net.sf.ehcache.CacheManager
at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1711) ~[catalina.jar:7.0.29]
at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1556) ~[catalina.jar:7.0.29]
... 29 common frames omitted
2012-09-18 16:00:25.787 1033 [localhost-startStop-1] WARN o.s.b.f.s.DefaultListableBeanFactory
FactoryBean threw exception from getObjectType, despite the contract saying that it should return null if the type of its object cannot be determined yet
java.lang.NoClassDefFoundError: net/sf/ehcache/CacheManager
at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5285) [catalina.jar:7.0.29]
at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150) [catalina.jar:7.0.29]
at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:901) [catalina.jar:7.0.29]
at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:877) [catalina.jar:7.0.29]
at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:618) [catalina.jar:7.0.29]
at org.apache.catalina.startup.HostConfig.deployDescriptor(HostConfig.java:650) [catalina.jar:7.0.29]
at org.apache.catalina.startup.HostConfig$DeployDescriptor.run(HostConfig.java:1582)
------解决方案--------------------
少架包
少缓存架包
eache
------解决方案--------------------
应该是少了 ezmorph-1.0.6.jar 这个包