2012-05-05 20:24:34,472 DEBUG [org.springframework.context.annotation.ClassPathBeanDefinitionScanner] Identified candidate component class: file [D:\apache-tomcat-7.0.26\webapps\ccav\WEB-INF\classes\com\ccav\service\impl\NewsMainServiceImpl.class]
2012-05-05 20:24:34,489 DEBUG [org.springframework.context.annotation.ClassPathBeanDefinitionScanner] Identified candidate component class: file [D:\apache-tomcat-7.0.26\webapps\ccav\WEB-INF\classes\com\ccav\hibernate4\EntityManagerImpl.class]
2012-05-05 20:24:35,005  WARN [org.springframework.core.type.classreading.AnnotationAttributesReadingVisitor] Failed to classload type while reading annotation metadata. This is a non-fatal error, but certain annotation metadata may be unavailable.
java.lang.ClassNotFoundException: org.testng.annotations.BeforeTest

2012-05-05 20:24:35,009  WARN [org.springframework.core.type.classreading.AnnotationAttributesReadingVisitor] Failed to classload type while reading annotation metadata. This is a non-fatal error, but certain annotation metadata may be unavailable.
java.lang.ClassNotFoundException: org.testng.annotations.AfterTest2012-05-05 20:24:35,014  WARN [org.springframework.core.type.classreading.AnnotationAttributesReadingVisitor] Failed to classload type while reading annotation metadata. This is a non-fatal error, but certain annotation metadata may be unavailable.
java.lang.ClassNotFoundException: org.junit.Before2012-05-05 20:24:35,016  WARN [org.springframework.core.type.classreading.AnnotationAttributesReadingVisitor] Failed to classload type while reading annotation metadata. This is a non-fatal error, but certain annotation metadata may be unavailable.
java.lang.ClassNotFoundException: org.junit.After

2012-05-05 20:24:36,671 ERROR [org.springframework.web.context.ContextLoader] Context initialization failed
org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'newsMainDao' defined in file [D:\apache-tomcat-7.0.26\webapps\ccav\WEB-INF\classes\com\ccav\dao\impl\NewsMainDaoImpl.class]: Instantiation of bean failed; nested exception is org.springframework.beans.BeanInstantiationException: Could not instantiate bean class [com.ccav.dao.impl.NewsMainDaoImpl]: Constructor threw exception; nested exception is java.lang.NoClassDefFoundError: org/slf4j/LoggerFactoryCaused by: org.springframework.beans.BeanInstantiationException: Could not instantiate bean class [com.ccav.dao.impl.NewsMainDaoImpl]: Constructor threw exception; nested exception is java.lang.NoClassDefFoundError: org/slf4j/LoggerFactory
at org.springframework.beans.BeanUtils.instantiateClass(BeanUtils.java:162)
at org.springframework.beans.factory.support.SimpleInstantiationStrategy.instantiate(SimpleInstantiationStrategy.java:76)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.instantiateBean(AbstractAutowireCapableBeanFactory.java:990)
... 26 more
Caused by: java.lang.NoClassDefFoundError: org/slf4j/LoggerFactoryCaused by: java.lang.ClassNotFoundException: org.slf4j.LoggerFactory五月 05, 2012 8:24:36 下午 org.apache.catalina.core.StandardContext listenerStart
严重: Exception sending context initialized event to listener instance of class org.springframework.web.context.ContextLoaderListener
org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'newsMainDao' defined in file [D:\apache-tomcat-7.0.26\webapps\ccav\WEB-INF\classes\com\ccav\dao\impl\NewsMainDaoImpl.class]: Instantiation of bean failed; nested exception is org.springframework.beans.BeanInstantiationException: Could not instantiate bean class [com.ccav.dao.impl.NewsMainDaoImpl]: Constructor threw exception; nested exception is java.lang.NoClassDefFoundError: org/slf4j/LoggerFactory
Caused by: org.springframework.beans.BeanInstantiationException: Could not instantiate bean class [com.ccav.dao.impl.NewsMainDaoImpl]: Constructor threw exception; nested exception is java.lang.NoClassDefFoundError: org/slf4j/LoggerFactory
Caused by: java.lang.NoClassDefFoundError: org/slf4j/LoggerFactory
Caused by: java.lang.ClassNotFoundException: org.slf4j.LoggerFactory
... 35 more
五月 05, 2012 8:24:36 下午 com.sun.faces.config.ConfigureListener contextInitialized
信息: 初始化上下文 '/ccav' 的 Mojarra 2.0.3 (FCS b03)
严重: The web application [/ccav] created a ThreadLocal with key of type [com.sun.faces.util.Util$1] (value [com.sun.faces.util.Util$1@a2ba3c3]) and a value of type [java.util.HashMap] (value [{com.sun.faces.patternCache={ = }}]) but failed to remove it when the web application was stopped. Threads are going to be renewed over time to try and avoid a probable memory leak.
莫名其妙说少一堆jar我都有啊