启动tomcat时候 报错
严重: action: null
org.springframework.beans.factory.BeanCreationException: Error creating bean with name '/language' defined in ServletContext resource [/WEB-INF/applicationContext.xml]: Cannot resolve reference to bean 'KookyAdsImp' while setting bean property 'ikookyads'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'KookyAdsImp' defined in ServletContext resource [/WEB-INF/applicationContext.xml]: Error setting property values; nested exception is PropertyAccessExceptionsException (1 errors)
org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'KookyAdsImp' defined in ServletContext resource [/WEB-INF/applicationContext.xml]: Error setting property values; nested exception is PropertyAccessExceptionsException (1 errors)
PropertyAccessExceptionsException (1 errors)
org.springframework.beans.TypeMismatchException: Failed to convert property value of type [$Proxy8] to required type [cn.kookypanda.service.KookyAdsDao] for property 'kookyadsdao'
at org.springframework.beans.BeanWrapperImpl.doTypeConversionIfNecessary(BeanWrapperImpl.java:951)
at org.springframework.beans.BeanWrapperImpl.setPropertyValue(BeanWrapperImpl.java:692)
at org.springframework.beans.BeanWrapperImpl.setPropertyValue(BeanWrapperImpl.java:572)
at org.springframework.beans.BeanWrapperImpl.setPropertyValue(BeanWrapperImpl.java:737)
at org.springframework.beans.BeanWrapperImpl.setPropertyValues(BeanWrapperImpl.java:764)
at org.sp

解决方案 »

  1.   

    说详细点,把后台dos下的启动信息贴出来!!
      

  2.   

    从日志上看是 applicationContext.xml 内的 'KookyAdsImp' 设置有问题
      

  3.   

    applicationContext.xml文件的'KookyAdsImp' 有问题,可能是ikookyads配置有问题!
      

  4.   

     Failed to convert property value of type [$Proxy8] to required type [cn.kookypanda.service.KookyAdsDao] for property 'kookyadsdao' 
     Error creating bean with name 'KookyAdsImp'