TA的每日心情 | 擦汗 2015-8-18 16:22 |
---|
签到天数: 1 天 连续签到: 1 天 [LV.1]测试小兵
|
用cobertura-instrument.bat之后,将cobertura.jar和生成的cobertura.ser放到tomcat的bin目录下,启动tomcat,报错:
10:40:09,102? ERROR ContextLoader:206 - Context initialization failed
org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating
bean with name 'kqDataSource' defined in ServletContext resource [/WEB-INF/bean
sconf/system/utils/beans-datasource.xml]: Unsatisfied dependency expressed throu
gh bean property 'logWriter': Error loading class [net.jite.kaoqing.usermanager.
service.UserManagerServiceCacheableProxy] for bean with name 'umService' defined
in ServletContext resource [/WEB-INF/beansconf/system/usermanager/beans-userman
ager-service.xml]: problem with class file or dependent class; nested exception
is java.lang.NoClassDefFoundError: net/sourceforge/cobertura/coveragedata/HasBee
nInstrumented
at org.springframework.beans.factory.support.AbstractAutowireCapableBean
Factory.autowireByType(AbstractAutowireCapableBeanFactory.java:1119)
at org.springframework.beans.factory.support.AbstractAutowireCapableBean
Factory.populateBean(AbstractAutowireCapableBeanFactory.java:1014)
at org.springframework.beans.factory.support.AbstractAutowireCapableBean
Factory.doCreateBean(AbstractAutowireCapableBeanFactory.java:539)
at org.springframework.beans.factory.support.AbstractAutowireCapableBean
Factory$1.run(AbstractAutowireCapableBeanFactory.java:485)
at java.security.AccessController.doPrivileged(Native Method)
不知如何解决,郁闷中:( |
|