qq_34015749 2017-06-02 07:51 采纳率: 0%
浏览 2272

拿到公司项目,放到idea报错如下,可是在eclipse里面却可以正常运行,为什么

六月 02, 2017 3:31:20 下午 org.apache.catalina.startup.HostConfig deployDirectory
信息: Deploying web application directory C:\apache-tomcat-7.0.42-Myeclipse\webapps\manager
15:31:20 | INFO| net.jeeshop.core.front.SystemManager => {from_eamil_smtpServer=smtp.sina.cn, product_image_1_w=200, paygate.type=dummy, task_default_seconds_time=6000, from_email_account=jshop123@sina.cn, file.upload.path=F:/sts/sts-bundle/pivotal-tc-server-developer-3.1.4.RELEASE/localhost8080/wtpwebapps/upload/, product_image_2_w=350, from_email_password=jshop123456, task_ManageCacheTask_time=3600, system_debug=debug, task_SystemAutoNotifyTask_time=3600, task_CancelOrderTask_time=3600}
15:31:21 | INFO| o.s.b.factory.support.DefaultListableBeanFactory => Destroying singletons in org.springframework.beans.factory.support.DefaultListableBeanFactory@4fa9c9f3: defining beans [org.springframework.beans.factory.config.PropertyPlaceholderConfigurer#0,dataSource,dataSourceTarget,sessionFactory,transactionManager,txAdvice,org.springframework.aop.config.internalAutoProxyCreator,interceptorPointCuts,org.springframework.aop.support.DefaultBeanFactoryPointcutAdvisor#0,facadeMonitoringAdvisor,springDataSourceBeanPostProcessor,wrappedDataSource,baseDao,freemarkerHelper,org.springframework.context.support.PropertySourcesPlaceholderConfigurer#0,systemManager,simpleCacheProvider,ehcacheCacheProvider,redisCacheProvider,jedisConnectionFactory,redisTemplate,jedisPoolConfig,accountDaoManage,accountServiceManage,accountRankDaoManage,accountRankServiceManage,activityDaoManage,activityServiceManage,advertDaoManage,advertServiceManage,areaDaoManage,areaServiceManage,attributeDaoManage,attributeServiceManage,attribute_linkDaoManage,attribute_linkServiceManage,catalogDaoManage,catalogServiceManage,commentDaoManage,commentServiceManage,commentTypeDaoManage,commentTypeServiceManage,dsmdDesignerDaoManage,dsmdDesignerServiceManage,dsmdAppointmentDaoManage,dsmdAppointmentServiceManage,emailDaoManage,emailServiceManage,emailNotifyProductDaoManage,emailNotifyProductManage,expressDaoManage,expressServiceManage,giftDaoManage,giftServiceManage,goodShopDaoManage,goodShopServiceManage,goodShopDesignerDaoManage,goodShopDesignerServiceManage,goodShopProviderDaoManage,goodShopProviderServiceManage,hotqueryDaoManage,hotqueryServiceManage,indexImgDaoManage,indexImgServiceManage,keyvalueDaoManage,keyvalueServiceManage,navigationDaoManage,navigationServiceManage,newsDaoManage,newsServiceManage,notifyTemplateDaoManage,notifyTemplateServiceManage,orderDaoManage,orderServiceManage,orderdetailDaoManage,orderdetailServiceManage,orderlogDaoManage,orderlogServiceManage,orderpayDaoManage,orderpayServiceManage,ordershipDaoManage,ordershipServiceManage,ossDaoManage,ossServiceManage,payDaoManage,payServiceManage,productDaoManage,productServiceManage,questionnaireDaoManage,questionnaireServiceManage,questionnaireItemDaoManage,questionnaireItemServiceManage,questionnaireResultDaoManage,questionnaireResultServiceManage,shopDaoManage,shopServiceManage,shopRuleDaoManage,shopRuleServiceManage,smsDaoManage,smsServiceManage,specDaoManage,specServiceManage,superModelDaoManage,superModelServiceManage,menuService,privilegeService,roleService,userService,systemlogDaoManage,systemlogServiceManage,systemSettingDaoManage,systemSettingServiceManage,taskDaoManage,taskServiceManage,xtsxDaoManage,xtsxServiceManage,org.springframework.context.annotation.internalConfigurationAnnotationProcessor,org.springframework.context.annotation.internalAutowiredAnnotationProcessor,org.springframework.context.annotation.internalRequiredAnnotationProcessor,org.springframework.context.annotation.internalCommonAnnotationProcessor,manageCache,accountDaoFront,accountServiceFront,addressDaoFront,addressServiceFront,advertDaoFront,advertServiceFront,areaDaoFront,areaServiceFront,attributeDaoFront,attributeServiceFront,attribute_linkDaoFront,attribute_linkServiceFront,bbsCategoryDaoFront,bbsCommentDaoFront,bbsDetailDaoFront,bbsImgDaoFront,bbsCategoryServiceFront,bbsCommentServiceFront,bbsDetailServiceFront,bbsImgServiceFront,catalogDaoFront,catalogServiceFront,commentDaoFront,commentServiceFront,commentTypeDaoFront,commentTypeServiceFront,commonService,configDao,configService,dsmdDesignerDaoFront,dsmdDesignerServiceFront,emailDaoFront,emailServiceFront,emailNotifyProductDaoFront,emailNotifyProductServiceFront,expressDaoFront,expressServiceFront,favoriteDaoFront,favoriteServiceFront,feedBackDao,feedBackService,goodShopDaoFront,goodShopServiceFront,goodShopDesignerDaoFront,goodShopDesignerServiceFront,goodShopProviderDaoFront,goodShopProviderServiceFront,indexImgDaoFront,indexImgServiceFront,keyvalueDaoImpl,keyvalueServiceImpl,navigationDaoImpl,navigationServiceImpl,newsDaoImpl,newsServiceImpl,notifyTemplateDaoImpl,notifyTemplateServiceImpl,orderDaoFront,orderServiceImpl,orderdetailDaoFront,orderdetailServiceImpl,orderlogDaoImpl,orderlogServiceImpl,orderpayDaoImpl,orderpayServiceImpl,ordershipDaoImpl,ordershipServiceImpl,payDaoImpl,payServiceImpl,productDaoImpl,productServiceImpl,questionnaireDaoImpl,questionnaireServiceImpl,questionnaireItemDaoImpl,questionnaireItemServiceImpl,questionnaireResultDaoImpl,questionnaireResultServiceImpl,sessionDao,sessionService,shopDaoFront,shopServiceFront,shopRuleDaoFront,shopRuleServiceFront,systemlogDaoImpl,systemlogServiceImpl,systemSettingDaoImpl,systemSettingServiceImpl,frontCache,idGen,processEngineConfiguration,processEngineFactory,processEngine,repositoryService,runtimeService,formService,identityService,taskService,historyService,managementService,contentTypeResolver,org.springframework.context.annotation.ConfigurationClassPostProcessor.importAwareProcessor]; root of factory hierarchy
15:31:21 |ERROR| org.springframework.web.context.ContextLoader => Context initialization failed
org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'freemarkerHelper': Injection of autowired dependencies failed; nested exception is org.springframework.beans.factory.BeanCreationException: Could not autowire field: private net.jeeshop.services.front.product.ProductService net.jeeshop.core.freemarker.front.FreemarkerHelper.productService; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'productServiceImpl': Injection of autowired dependencies failed; nested exception is org.springframework.beans.factory.BeanCreationException: Could not autowire method: public void net.jeeshop.services.front.product.impl.ProductServiceImpl.setDao(net.jeeshop.core.DaoManager); nested exception is org.springframework.beans.factory.NoUniqueBeanDefinitionException: No qualifying bean of type [net.jeeshop.core.DaoManager] is defined: expected single matching bean but found 88: accountDaoManage,accountRankDaoManage,activityDaoManage,advertDaoManage,areaDaoManage,attributeDaoManage,attribute_linkDaoManage,catalogDaoManage,commentDaoManage,commentTypeDaoManage,dsmdDesignerDaoManage,dsmdAppointmentDaoManage,emailDaoManage,emailNotifyProductDaoManage,expressDaoManage,giftDaoManage,goodShopDaoManage,goodShopDesignerDaoManage,goodShopProviderDaoManage,hotqueryDaoManage,indexImgDaoManage,keyvalueDaoManage,navigationDaoManage,newsDaoManage,notifyTemplateDaoManage,orderDaoManage,orderdetailDaoManage,orderlogDaoManage,orderpayDaoManage,ordershipDaoManage,ossDaoManage,payDaoManage,productDaoManage,questionnaireDaoManage,questionnaireItemDaoManage,questionnaireResultDaoManage,shopDaoManage,shopRuleDaoManage,smsDaoManage,specDaoManage,superModelDaoManage,systemlogDaoManage,systemSettingDaoManage,taskDaoManage,xtsxDaoManage,accountDaoFront,addressDaoFront,advertDaoFront,areaDaoFront,attributeDaoFront,attribute_linkDaoFront,bbsCategoryDaoFront,bbsCommentDaoFront,bbsDetailDaoFront,bbsImgDaoFront,catalogDaoFront,commentDaoFront,commentTypeDaoFront,configDao,dsmdDesignerDaoFront,emailDaoFront,emailNotifyProductDaoFront,expressDaoFront,favoriteDaoFront,feedBackDao,goodShopDaoFront,goodShopDesignerDaoFront,goodShopProviderDaoFront,indexImgDaoFront,keyvalueDaoImpl,navigationDaoImpl,newsDaoImpl,notifyTemplateDaoImpl,orderDaoFront,orderdetailDaoFront,orderlogDaoImpl,orderpayDaoImpl,ordershipDaoImpl,payDaoImpl,productDaoImpl,questionnaireDaoImpl,questionnaireItemDaoImpl,questionnaireResultDaoImpl,sessionDao,shopDaoFront,shopRuleDaoFront,systemlogDaoImpl,systemSettingDaoImpl
at org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor.postProcessPropertyValues(AutowiredAnnotationBeanPostProcessor.java:289)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:1146)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:519)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:458)
at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:296)
at

  • 写回答

3条回答 默认 最新

  • 51区 2017-06-02 07:57
    关注

    你确定你的idel是配置好的?

    评论

报告相同问题?

悬赏问题

  • ¥15 超声波模块测距控制点灯,灯的闪烁很不稳定,经过调试发现测的距离偏大
  • ¥15 import arcpy出现importing _arcgisscripting 找不到相关程序
  • ¥15 onvif+openssl,vs2022编译openssl64
  • ¥15 iOS 自定义输入法-第三方输入法
  • ¥15 很想要一个很好的答案或提示
  • ¥15 扫描项目中发现AndroidOS.Agent、Android/SmsThief.LI!tr
  • ¥15 怀疑手机被监控,请问怎么解决和防止
  • ¥15 Qt下使用tcp获取数据的详细操作
  • ¥15 idea右下角设置编码是灰色的
  • ¥15 全志H618ROM新增分区