|
本帖最后由 m249140611 于 2013-8-19 19:28 编辑
大家好!
我使用jdk1.6.0_05 + Tomcat 6.0 ,然后把项目文件导进去后,把数据库存修改成sqlserver2005,并且把dbconfig.properties文件内容这注释去掉,改成使用SQLSERVER2005连接方式
hibernate.dialect=org.hibernate.dialect.SQLServerDialect
jdbc.driverClassName.sqlserver=com.microsoft.sqlserver.jdbc.SQLServerDriver
validationQuery.sqlserver=SELECT 1
jdbc.url.jeecg=jdbc:jtds:sqlserver://localhost:1433/jeecg
jdbc.username.jeecg=sa
jdbc.password.jeecg=it1234
然后启动TOMCAT后,显示以下错误,请问大家知不知是什么原因,谢谢!
[org.springframework.web.context.ContextLoader]Root WebApplicationContext: initialization started
[org.springframework.web.context.support.XmlWebApplicationContext]Refreshing Root WebApplicationContext: startup date [Mon Aug 19 19:20:05 CST 2013]; root of context hierarchy
[org.springframework.beans.factory.xml.XmlBeanDefinitionReader]Loading XML bean definitions from file [D:\JEECG\workspace\.metadata\.plugins\org.eclipse.wst.server.core\tmp0\wtpwebapps\jeecg-v3-simple\WEB-INF\classes\spring-mvc-aop.xml]
[org.springframework.beans.factory.xml.XmlBeanDefinitionReader]Loading XML bean definitions from file [D:\JEECG\workspace\.metadata\.plugins\org.eclipse.wst.server.core\tmp0\wtpwebapps\jeecg-v3-simple\WEB-INF\classes\spring-mvc-context.xml]
[org.springframework.beans.factory.xml.XmlBeanDefinitionReader]Loading XML bean definitions from file [D:\JEECG\workspace\.metadata\.plugins\org.eclipse.wst.server.core\tmp0\wtpwebapps\jeecg-v3-simple\WEB-INF\classes\spring-mvc-hibernate.xml]
[org.springframework.beans.factory.xml.XmlBeanDefinitionReader]Loading XML bean definitions from file [D:\JEECG\workspace\.metadata\.plugins\org.eclipse.wst.server.core\tmp0\wtpwebapps\jeecg-v3-simple\WEB-INF\classes\spring-mvc.xml]
[org.springframework.beans.factory.xml.XmlBeanDefinitionReader]Loading XML bean definitions from URL [jar:file:/D:/JEECG/workspace/.metadata/.plugins/org.eclipse.wst.server.core/tmp0/wtpwebapps/jeecg-v3-simple/WEB-INF/lib/org.jeecgframework.online_coding-3.3.1.beta.jar!/jeecg/cgform/common/spring-mvc-cgform.xml]
[org.springframework.beans.factory.support.DefaultListableBeanFactory]Overriding bean definition for bean 'templetContext': replacing [Generic bean: class [jeecg.cgform.engine.TempletContext]; scope=singleton; abstract=false; lazyInit=false; autowireMode=1; dependencyCheck=0; autowireCandidate=true; primary=false; factoryBeanName=null; factoryMethodName=null; initMethodName=null; destroyMethodName=null; defined in URL [jar:file:/D:/JEECG/workspace/.metadata/.plugins/org.eclipse.wst.server.core/tmp0/wtpwebapps/jeecg-v3-simple/WEB-INF/lib/org.jeecgframework.online_coding-3.3.1.beta.jar!/jeecg/cgform/engine/TempletContext.class]] with [Generic bean: class [jeecg.cgform.engine.TempletContext]; scope=; abstract=false; lazyInit=false; autowireMode=0; dependencyCheck=0; autowireCandidate=true; primary=false; factoryBeanName=null; factoryMethodName=null; initMethodName=null; destroyMethodName=null; defined in URL [jar:file:/D:/JEECG/workspace/.metadata/.plugins/org.eclipse.wst.server.core/tmp0/wtpwebapps/jeecg-v3-simple/WEB-INF/lib/org.jeecgframework.online_coding-3.3.1.beta.jar!/jeecg/cgform/common/spring-mvc-cgform.xml]]
[org.springframework.beans.factory.config.PropertyPlaceholderConfigurer]Loading properties file from class path resource [dbconfig.properties]
[org.springframework.beans.factory.support.DefaultListableBeanFactory]Destroying singletons in [url=mailtorg.springframework.beans.factory.support.DefaultListableBeanFactory@5dfaf1]org.springframework.beans.factory.support.DefaultListableBeanFactory@5dfaf1[/url]: defining beans [org.springframework.aop.config.internalAutoProxyCreator,org.springframework.context.annotation.internalConfigurationAnnotationProcessor,org.springframework.context.annotation.internalAutowiredAnnotationProcessor,org.springframework.context.annotation.internalRequiredAnnotationProcessor,org.springframework.context.annotation.internalCommonAnnotationProcessor,org.springframework.context.annotation.internalPersistenceAnnotationProcessor,logInterceptor,hiberAspect,commonDao,jdbcDao,commonService,jeecgBlobDataService,jeecgDemoService,jeecgJdbcService,jeecgNoteService,jeecgOrderMainService,jpPersonService,optimisticLockingService,tFinanceService,webOfficeService,declareService,repairService,systemService,userService,cgUploadService,dataBaseService,cgReportService,cgformFtlService,cgReportExcelService,cgTableService,configService,templetContext,templetLoader,dictDataTag,cgFormFieldService,org.springframework.beans.factory.config.PropertyPlaceholderConfigurer#0,dataSource_jeecg,dataSource,sessionFactory,jdbcTemplate,transactionManager,org.springframework.transaction.annotation.AnnotationTransactionAttributeSource#0,org.springframework.transaction.interceptor.TransactionInterceptor#0,org.springframework.transaction.config.internalTransactionAdvisor,job,executor,scheduler,org.springframework.context.annotation.internalAsyncAnnotationProcessor,org.springframework.context.annotation.internalScheduledAnnotationProcessor,demoController,jeecgBlobDataController,jeecgDemoController,jeecgEasyUIController,jeecgJdbcController,jeecgNoteController,jeecgOrderMainController,jeecgOrderMainNoTagController,jpPersonController,optimisticLockingController,TFinanceController,userNoPageController,webOfficeController,commonController,configController,dataSourceController,departController,functionController,iconController,logController,loginController,repairController,roleController,systemController,userController,excelTempletController,cgformFtlController,cgReportController,cgAutoListController,cgFormHeadController,cgUploadController,cgExportExcelController,cgFormBuildController,mappingJacksonHttpMessageConverter,org.springframework.web.servlet.mvc.annotation.AnnotationMethodHandlerAdapter#0,defaultViewResolver,multipartResolver,dialect,exceptionHandler,org.springframework.web.servlet.handler.SimpleMappingExceptionResolver#0,org.springframework.web.servlet.handler.MappedInterceptor#0,org.springframework.web.servlet.handler.MappedInterceptor#1,freemarker,org.springframework.context.annotation.ConfigurationClassPostProcessor$ImportAwareBeanPostProcessor#0]; root of factory hierarchy
[org.springframework.web.context.ContextLoader]Context initialization failed |
|