|
我用的tomcat6,在启动的时候会报出这个错,但是不影响系统运行
[org.springframework.web.context.ContextLoader]Root WebApplicationContext: initialization started
[org.springframework.web.context.support.XmlWebApplicationContext]Refreshing Root WebApplicationContext: startup date [Thu Nov 07 09:20:11 CST 2013]; root of context hierarchy
[org.springframework.beans.factory.xml.XmlBeanDefinitionReader]Loading XML bean definitions from file [D:\Program Files\Apache Software Foundation\apache-tomcat-6.0.37\webapps\flyHorse\WEB-INF\classes\spring-minidao.xml]
[org.springframework.beans.factory.xml.XmlBeanDefinitionReader]Loading XML bean definitions from file [D:\Program Files\Apache Software Foundation\apache-tomcat-6.0.37\webapps\flyHorse\WEB-INF\classes\spring-mvc-aop.xml]
[org.springframework.beans.factory.xml.XmlBeanDefinitionReader]Loading XML bean definitions from file [D:\Program Files\Apache Software Foundation\apache-tomcat-6.0.37\webapps\flyHorse\WEB-INF\classes\spring-mvc-context.xml]
[org.springframework.beans.factory.xml.XmlBeanDefinitionReader]Loading XML bean definitions from file [D:\Program Files\Apache Software Foundation\apache-tomcat-6.0.37\webapps\flyHorse\WEB-INF\classes\spring-mvc-hibernate.xml]
[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
at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1680)
at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1526)
at org.springframework.core.type.classreading.RecursiveAnnotationAttributesVisitor.visitEnd(AnnotationAttributesReadingVisitor.java:167)
at org.springframework.asm.ClassReader.a(Unknown Source)
at org.springframework.asm.ClassReader.accept(Unknown Source)
at org.springframework.asm.ClassReader.accept(Unknown Source)
主要是[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,这句话的问题,我试着去下载了testng的包,但是包里还是没有这个类,有人解答下吗?
|
|