|
版本3.4.3 GA部署启动报错,java.lang.ClassNotFoundException: com.alibaba.druid.pool.DruidDataSource,
该类在druid-0.2.9-sources.jar中是可以找得到的,部署在tomcat的lib文件下,也可以找到该jar包,就不知道为什么会报这个错误请大虾帮忙指导一下
INFO: Loading XML bean definitions from URL [file:/D:/workspace/.metadata/.plugins/org.eclipse.wst.server.core/tmp0/wtpwebapps/jeecg-framework/WEB-INF/classes/org/jeecgframework/web/cgform/common/spring-mvc-cgform.xml]
六月 03, 2014 12:31:56 上午 org.springframework.beans.factory.support.DefaultListableBeanFactory registerBeanDefinition
INFO: Overriding bean definition for bean 'templetContext': replacing [Generic bean: class [org.jeecgframework.web.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 file [D:\workspace\.metadata\.plugins\org.eclipse.wst.server.core\tmp0\wtpwebapps\jeecg-framework\WEB-INF\classes\org\jeecgframework\web\cgform\engine\TempletContext.class]] with [Generic bean: class [org.jeecgframework.web.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 [file:/D:/workspace/.metadata/.plugins/org.eclipse.wst.server.core/tmp0/wtpwebapps/jeecg-framework/WEB-INF/classes/org/jeecgframework/web/cgform/common/spring-mvc-cgform.xml]]
六月 03, 2014 12:31:56 上午 org.springframework.beans.factory.xml.XmlBeanDefinitionReader loadBeanDefinitions
INFO: Loading XML bean definitions from class path resource [spring-mvc-timeTask.xml]
六月 03, 2014 12:31:57 上午 org.springframework.core.io.support.PropertiesLoaderSupport loadProperties
INFO: Loading properties file from class path resource [dbconfig.properties]
[org.jeecgframework.minidao.factory.MiniDaoBeanFactory]................MiniDaoBeanFactory................ContextRefreshed...................
[org.jeecgframework.minidao.factory.PackagesToScanUtil]-------------- file类型的扫描 ----------------
[org.jeecgframework.minidao.factory.MiniDaoBeanFactory]MiniDao Interface [/org.jeecgframework.web.cgreport.dao.core.CgReportDao/] onto Spring Bean 'cgReportDao'
org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'miniDaoHandler' defined in class path resource [spring-minidao.xml]: Initialization of bean failed; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'miniDaoHiberCommonDao' defined in class path resource [spring-minidao.xml]: Cannot resolve reference to bean 'sessionFactory' while setting bean property 'sessionFactory'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'sessionFactory' defined in class path resource [spring-mvc-hibernate.xml]: Cannot resolve reference to bean 'dataSource' while setting bean property 'dataSource'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'dataSource' defined in class path resource [spring-mvc-hibernate.xml]: Cannot resolve reference to bean 'dataSource_jeecg' while setting bean property 'targetDataSources' with key [TypedStringValue: value [dataSource_jeecg], target type [class org.jeecgframework.core.extend.datasource.DataSourceType]]; nested exception is org.springframework.beans.factory.CannotLoadBeanClassException: Cannot find class [com.alibaba.druid.pool.DruidDataSource] for bean with name 'dataSource_jeecg' defined in class path resource [spring-mvc-hibernate.xml]; nested exception is java.lang.ClassNotFoundException: com.alibaba.druid.pool.DruidDataSource
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:527)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:456)
at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:294)
at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:225)
at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:291)
at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:193)
at org.springframework.aop.framework.ProxyFactoryBean.initializeAdvisorChain(ProxyFactoryBean.java:454)
at org.springframework.aop.framework.ProxyFactoryBean.getObject(ProxyFactoryBean.java:240)
at org.jeecgframework.minidao.factory.MiniDaoBeanFactory.postProcessBeanFactory(MiniDaoBeanFactory.java:50)
at org.springframework.context.support.AbstractApplicationContext.invokeBeanFactoryPostProcessors(AbstractApplicationContext.java:681)
at org.springframework.context.support.AbstractApplicationContext.invokeBeanFactoryPostProcessors(AbstractApplicationContext.java:671)
at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:446)
at org.springframework.web.context.ContextLoader.configureAndRefreshWebApplicationContext(ContextLoader.java:385)
at org.springframework.web.context.ContextLoader.initWebApplicationContext(ContextLoader.java:284)
at org.springframework.web.context.ContextLoaderListener.contextInitialized(ContextLoaderListener.java:111)
at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:4205)
at org.apache.catalina.core.StandardContext.start(StandardContext.java:4704)
at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1053)
at org.apache.catalina.core.StandardHost.start(StandardHost.java:840)
at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1053)
at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:463)
at org.apache.catalina.core.StandardService.start(StandardService.java:525)
at org.apache.catalina.core.StandardServer.start(StandardServer.java:754)
at org.apache.catalina.startup.Catalina.start(Catalina.java:595)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:601)
at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:289)
at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:414)
|
|