日期:2014-05-17  浏览次数:20886 次

急唧急唧 急唧急,spring getBean问题
xml中明明有定义ebuySellerBargainItemService bean
XML code
    <bean id="eBuySellerBargainItemService" parent="txProxyTemplate">
        <property name="target">
            <bean class="gdgpes.ebuy.service.impl.EbuySellerBargainItemServiceImpl">
                <property name="dao">
                    <ref bean="eBuySellerBargainItemDao" />
                </property>
            </bean>
        </property>
    </bean>




控制台错误
XML code
org.springframework.beans.factory.NoSuchBeanDefinitionException: No bean named 'ebuySellerBargainItemService' is defined: org.springframework.beans.factory.support.DefaultListableBeanFactory defining beans [xfire.customEditorConfigurer,xfire.serviceRegistry,xfire.transportManager,xfire,xfire.typeMappingRegistry,xfire.aegisBindingProvider,xfire.serviceFactory,xfire.servletController,xfire.messageServiceFactory,xfire.messageBindingProvider,baseWebService,mergeDataService,fileLoadService,mergeDataServiceBean,fileLoadServiceBean,isbBidServiceBean,isbBidService,columnProviderFactory,certTypeDataSet,datasetFactory,columnConvertorFactory,dataTransfer,dao,dtoDao,dtoService,numberGenerator,bizAction,service,coreDateService,commonOrgCriterion,bargainOrgCriterion,commonOrgDao,commonOrgService,commonOrgAction,commonAttachDao,commonAttachService,gdcaService,gdcaAction,commonAttachAction,baseAction,downloadAction,updateAction,userModel,mediaDataSource,mideaNativeJdbcExtractor,mediaOracleLobHandler,mediaSessionFactory,mediaTransactionManager,mediaTxProxyTemplate,contractTitleDao,contractBatchDao4Pay,transService,dataSource,nativeJdbcExtractor,oracleLobHandler,transactionManager,sysService,auditInterceptor,sessionFactory,jdbcTransactionManager,abstractTodoProducer,todoService,todoAction,emailConfig,BaseStockIndexTreeDAO,baseStockIndexTreeService,stockIndexTreeDAO,stockIndexTreeService,stockIndexInfoTreeVisibleHandler,searchTreeAction,exceptionInterceptor,txProxyTemplate,propertyConfigurer,cacheManager,authCache,urlCache,authCacheManager,scheduledGenStaticPagesTimerJob,org.springframework.scheduling.timer.TimerFactoryBean,channelModel,organizationArticleModel,articleModel,auditModel,workGuideArticleModel,policyRuleArticleModel,generalArticleModel,stockArticleModel,correctArticleModel,preBiddedArticleModel,biddedArticleModel,stockStatArticleModel,complainArticleModel,downloadArticleModel,linkArticleModel,stockDynamicArticleModel,infoStatArticleModel,providerArticleModel,specialCaseArticleModel,inauctionArticleModel,stockTypeModel,policyTypeModel,characterModel,vocationModel,dutyStaModel,coinModel,knowledgeModel,degreeModel,webInfoModel,titleStaModel,majorClassModel,majorStockIndexModel,(内容太多),eBuySellerBargainItemDao,eBuySellerBargainItemService,eBuyFittingBargainItemHistory,eBuyFittingBargainItemHistoryCriterion,eBuyFittingBargainItemHistoryDao,eBuyFittingBargainItemHistoryService,eBuySellerBargainHistory,eBuySellerBargainHistoryCriterion,eBuySellerBargainHistoryDao,eBuySellerBargainHistoryService,eBuySellerBargainItemHistory,eBuySellerBargainItemHistoryCriterion,eBuySellerBargainItemHistoryDao,eBuySellerBargainItemHistoryService,、requireItemHistoryCriterion,valuationAction,commitmentAction,purchaseGroupAction,purchaseInformationAction,purchaseResultAction,purchaseFileUpAction,purchaseConfirmAction,purchaseLaunchAction,purchaseClarifyAction,serviceBase,outlineAction,bidEndAction,appointSupplierAction,bidNoticeManageAction,confirmBidAction,immediate