问题描述
- maven配置后启动服务器出错
-
配置MAVEN后,用myeclipse启动服务器报错,是什么原因?各位大神求救,错误信息如下:
信息: Initializing Spring root WebApplicationContext
11:07:38,290 [ localhost-startStop-1 ] [ INFO ]:285 - Root WebApplicationContext: initialization started
11:07:38,411 [ localhost-startStop-1 ] [ INFO ]:510 - Refreshing Root WebApplicationContext: startup date [Fri Oct 09 11:07:38 CST 2015]; root of context hierarchy
11:07:38,489 [ localhost-startStop-1 ] [ INFO ]:315 - Loading XML bean definitions from class path resource [beans.xml]
11:07:38,879 [ localhost-startStop-1 ] [ INFO ]:315 - Loading XML bean definitions from class path resource [cxf-beans.xml]
11:07:38,926 [ localhost-startStop-1 ] [ INFO ]:315 - Loading XML bean definitions from class path resource [META-INF/cxf/cxf.xml]
11:07:38,942 [ localhost-startStop-1 ] [ INFO ]:315 - Loading XML bean definitions from class path resource [META-INF/cxf/cxf-servlet.xml]
11:07:39,489 [ localhost-startStop-1 ] [ INFO ]:172 - Loading properties file from class path resource [dbProp.properties]
11:07:39,578 [ localhost-startStop-1 ] [ INFO ]:598 - Pre-instantiating singletons in org.springframework.beans.factory.support.DefaultListableBeanFactory@357f5714: defining beans [bossMethod,businessMethod,clientMethod,driverMethod,repositoryMethod,bossServiceDeal,businessServiceDeal,clientServiceDeal,customerDeal,deliveryOrder,driverDeal,goodsService,menuContext,orderDeal,purOrderDeal,org.springframework.context.annotation.internalConfigurationAnnotationProcessor,org.springframework.context.annotation.internalAutowiredAnnotationProcessor,org.springframework.context.annotation.internalRequiredAnnotationProcessor,org.springframework.context.annotation.internalCommonAnnotationProcessor,propertyConfigurer,ds,sqlSessionFactory,txManager,jdbcTemplate,org.mybatis.spring.mapper.MapperScannerConfigurer#0,org.springframework.aop.config.internalAutoProxyCreator,org.springframework.transaction.annotation.AnnotationTransactionAttributeSource#0,org.springframework.transaction.interceptor.TransactionInterceptor#0,org.springframework.transaction.config.internalTransactionAdvisor,cxf,org.apache.cxf.bus.spring.BusWiringBeanFactoryPostProcessor,org.apache.cxf.bus.spring.Jsr250BeanPostProcessor,org.apache.cxf.bus.spring.BusExtensionPostProcessor,bossMethodPoint,clientMethodPoint,driverMethodPoint,repositoryMethodPoint,businessMethodPoint,org.springframework.context.annotation.ConfigurationClassPostProcessor.importAwareProcessor,bossMapper,businessMapper,clientMapper,deliveryOrderMapper,driverMapper,ICustomerDAO,IGoodsDAO,IOrderDAO,newsMapper,purchaseOrderMapper]; root of factory hierarchy
11:07:39,844 [ localhost-startStop-1 ] [ ERROR ]:918 - maxIdle is deprecated
解决方案
时间: 2024-12-31 01:54:08