zhangkaitao / es

JavaEE项目开发脚手架(我的公众号:kaitao-1234567,我的新书:《亿级流量网站架构核心技术》)
https://github.com/zhangkaitao/es
Apache License 2.0
2.17k stars 1.59k forks source link

涛哥,请帮忙解决一下问题。已有好几个issues都是问这个问题了。 #63

Closed cocca883 closed 10 years ago

cocca883 commented 10 years ago

项目真的不错,很期待部署起来看一下效果。只有几行简单的运行说明,费了很大劲才完成部署,开始启动。有没有稍详细的项目结构说明和操作说明呢?遇到的问题: 1、运行create-db.bat不成功, 提示: 【 [WARNING] Could not transfer metadata com.carbonfive.db-support/maven-metadata.x ml from/to maven-db-plugin-repo (https://maven-db-plugin.googlecode.com/svn/mave n/repo): Connection to https://maven-db-plugin.googlecode.com refused [WARNING] Could not transfer metadata org.apache.maven.plugins/maven-metadata.xm l from/to maven-db-plugin-repo (https://maven-db-plugin.googlecode.com/svn/maven /repo): Connection to https://maven-db-plugin.googlecode.com refused [WARNING] Could not transfer metadata org.codehaus.mojo/maven-metadata.xml from/ to maven-db-plugin-repo (https://maven-db-plugin.googlecode.com/svn/maven/repo): Connection to https://maven-db-plugin.googlecode.com refused [WARNING] Failure to transfer com.carbonfive.db-support/maven-metadata.xml from https://maven-db-plugin.googlecode.com/svn/maven/repo was cached in the local re pository, resolution will not be reattempted until the update interval of maven- db-plugin-repo has elapsed or updates are forced. Original error: Could not tran sfer metadata com.carbonfive.db-support/maven-metadata.xml from/to maven-db-plug in-repo (https://maven-db-plugin.googlecode.com/svn/maven/repo): Connection to h ttps://maven-db-plugin.googlecode.com refused [WARNING] Failure to transfer org.apache.maven.plugins/maven-metadata.xml from h ttps://maven-db-plugin.googlecode.com/svn/maven/repo was cached in the local rep ository, resolution will not be reattempted until the update interval of maven-d b-plugin-repo has elapsed or updates are forced. Original error: Could not trans fer metadata org.apache.maven.plugins/maven-metadata.xml from/to maven-db-plugin -repo (https://maven-db-plugin.googlecode.com/svn/maven/repo): Connection to htt ps://maven-db-plugin.googlecode.com refused [WARNING] Failure to transfer org.codehaus.mojo/maven-metadata.xml from https:// maven-db-plugin.googlecode.com/svn/maven/repo was cached in the local repository , resolution will not be reattempted until the update interval of maven-db-plugi n-repo has elapsed or updates are forced. Original error: Could not transfer met adata org.codehaus.mojo/maven-metadata.xml from/to maven-db-plugin-repo (https:/ /maven-db-plugin.googlecode.com/svn/maven/repo): Connection to https://maven-db- plugin.googlecode.com refused Downloading: http://repo.maven.apache.org/maven2/org/apache/maven/plugins/maven- metadata.xml Downloading: http://repo.maven.apache.org/maven2/org/codehaus/mojo/maven-metadat a.xml Downloading: http://repo.maven.apache.org/maven2/com/carbonfive/db-support/maven -metadata.xml Downloaded: http://repo.maven.apache.org/maven2/org/apache/maven/plugins/maven-m etadata.xml (13 KB at 17.6 KB/sec) Downloaded: http://repo.maven.apache.org/maven2/org/codehaus/mojo/maven-metadata .xml (20 KB at 22.2 KB/sec) 】 可能是因为GOOGLE国内访问限制,mvn下载不到相关JAR包。只能手动运行SQL创建了数据库和表了。有没有其它办法可以解决这个问题?

2、启动报错, 【信息: {dataSource-1} inited Hibernate: select taskdefini0_.id as id15, taskdefini0_.bean_class as bean_cla25, taskdefini0_.bean_name as bean_nam35, taskdefini0_.cron as cron45, taskdefini0_.description as descript55, taskdefini0_.method_name as method_n65, taskdefini0_.name as name75, taskdefini0_.is_start as is_start85 from maintain_taskdefinition taskdefini0 where 1=1 2014-8-1 11:35:39 com.alibaba.druid.pool.DruidDataSource info 信息: {dataSource-1} closed 2014-8-1 11:35:39 org.apache.catalina.core.StandardContext listenerStart 严重: Exception sending context initialized event to listener instance of class org.springframework.web.context.ContextLoaderListener org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'dynamicTaskService': Injection of autowired dependencies failed; nested exception is org.springframework.beans.factory.BeanCreationException: Could not autowire method: public void com.sishuok.es.common.service.BaseService.setBaseRepository(com.sishuok.es.common.repository.BaseRepository); nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'dynamicTaskRepository': FactoryBean threw exception on object creation; nested exception is org.springframework.data.mapping.PropertyReferenceException: No property identity found for type com.sishuok.es.maintain.task.entity.DynamicTask at org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor.postProcessPropertyValues(AutowiredAnnotationBeanPostProcessor.java:292) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:1185) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:537) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:475) at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:304) at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:228) at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:300) at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:195) at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:700) at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:760) at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:482) at org.springframework.web.context.ContextLoader.configureAndRefreshWebApplicationContext(ContextLoader.java:381) at org.springframework.web.context.ContextLoader.initWebApplicationContext(ContextLoader.java:293) at org.springframework.web.context.ContextLoaderListener.contextInitialized(ContextLoaderListener.java:106) at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:4797) at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5291) at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150) at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:901) at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:877) at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:633) at org.apache.catalina.startup.HostConfig.deployDirectory(HostConfig.java:1114) at org.apache.catalina.startup.HostConfig$DeployDirectory.run(HostConfig.java:1673) at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:439) at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303) at java.util.concurrent.FutureTask.run(FutureTask.java:138) at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:895) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:918) at java.lang.Thread.run(Thread.java:662) Caused by: org.springframework.beans.factory.BeanCreationException: Could not autowire method: public void com.sishuok.es.common.service.BaseService.setBaseRepository(com.sishuok.es.common.repository.BaseRepository); nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'dynamicTaskRepository': FactoryBean threw exception on object creation; nested exception is org.springframework.data.mapping.PropertyReferenceException: No property identity found for type com.sishuok.es.maintain.task.entity.DynamicTask at org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor$AutowiredMethodElement.inject(AutowiredAnnotationBeanPostProcessor.java:596) at org.springframework.beans.factory.annotation.InjectionMetadata.inject(InjectionMetadata.java:87) at org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor.postProcessPropertyValues(AutowiredAnnotationBeanPostProcessor.java:289) ... 27 more Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'dynamicTaskRepository': FactoryBean threw exception on object creation; nested exception is org.springframework.data.mapping.PropertyReferenceException: No property identity found for type com.sishuok.es.maintain.task.entity.DynamicTask at org.springframework.beans.factory.support.FactoryBeanRegistrySupport.doGetObjectFromFactoryBean(FactoryBeanRegistrySupport.java:151) at org.springframework.beans.factory.support.FactoryBeanRegistrySupport.getObjectFromFactoryBean(FactoryBeanRegistrySupport.java:103) at org.springframework.beans.factory.support.AbstractBeanFactory.getObjectForBeanInstance(AbstractBeanFactory.java:1514) at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:252) at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:195) at org.springframework.beans.factory.support.DefaultListableBeanFactory.findAutowireCandidates(DefaultListableBeanFactory.java:1014) at org.springframework.beans.factory.support.DefaultListableBeanFactory.doResolveDependency(DefaultListableBeanFactory.java:957) at org.springframework.beans.factory.support.DefaultListableBeanFactory.resolveDependency(DefaultListableBeanFactory.java:855) at org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor$AutowiredMethodElement.inject(AutowiredAnnotationBeanPostProcessor.java:553) ... 29 more Caused by: org.springframework.data.mapping.PropertyReferenceException: No property identity found for type com.sishuok.es.maintain.task.entity.DynamicTask at org.springframework.data.mapping.PropertyPath.(PropertyPath.java:75) at org.springframework.data.mapping.PropertyPath.create(PropertyPath.java:327) at org.springframework.data.mapping.PropertyPath.create(PropertyPath.java:307) at org.springframework.data.mapping.PropertyPath.from(PropertyPath.java:271) at org.springframework.data.mapping.PropertyPath.from(PropertyPath.java:245) at org.springframework.data.repository.query.parser.Part.(Part.java:72) at org.springframework.data.repository.query.parser.PartTree$OrPart.(PartTree.java:188) at org.springframework.data.repository.query.parser.PartTree$Predicate.buildTree(PartTree.java:277) at org.springframework.data.repository.query.parser.PartTree$Predicate.(PartTree.java:257) at org.springframework.data.repository.query.parser.PartTree.(PartTree.java:71) at org.springframework.data.jpa.repository.query.PartTreeJpaQuery.(PartTreeJpaQuery.java:57) at org.springframework.data.jpa.repository.query.JpaQueryLookupStrategy$CreateQueryLookupStrategy.resolveQuery(JpaQueryLookupStrategy.java:90) at org.springframework.data.jpa.repository.query.JpaQueryLookupStrategy$CreateIfNotFoundQueryLookupStrategy.resolveQuery(JpaQueryLookupStrategy.java:162) at org.springframework.data.jpa.repository.query.JpaQueryLookupStrategy$AbstractQueryLookupStrategy.resolveQuery(JpaQueryLookupStrategy.java:68) at org.springframework.data.repository.core.support.RepositoryFactorySupport$QueryExecutorMethodInterceptor.(RepositoryFactorySupport.java:290) at org.springframework.data.repository.core.support.RepositoryFactorySupport.getRepository(RepositoryFactorySupport.java:158) at org.springframework.data.repository.core.support.Repository FactoryBeanSupport.getObject(RepositoryFactoryBeanSupport.java:162) at org.springframework.data.repository.core.support.RepositoryFactoryBeanSupport.getObject(RepositoryFactoryBeanSupport.java:44) at org.springframework.beans.factory.support.FactoryBeanRegistrySupport.doGetObjectFromFactoryBean(FactoryBeanRegistrySupport.java:144) ... 37 more 2014-8-1 11:35:39 org.apache.catalina.core.StandardContext startInternal 严重: Error listenerStart 2014-8-1 11:35:39 org.apache.catalina.core.StandardContext startInternal 严重: Context [/es-web] startup failed due to previous errors 2014-8-1 11:35:39 org.apache.catalina.core.ApplicationContext log 信息: Closing Spring root WebApplicationContext 2014-8-1 11:35:39 org.apache.catalina.loader.WebappClassLoader clearReferencesJdbc 严重: The web application [/es-web] registered the JDBC driver [com.alibaba.druid.proxy.DruidDriver] but failed to unregister it when the web application was stopped. To prevent a memory leak, the JDBC Driver has been forcibly unregistered. 2014-8-1 11:35:39 org.apache.catalina.loader.WebappClassLoader clearReferencesJdbc 严重: The web application [/es-web] registered the JDBC driver [com.mysql.jdbc.Driver] but failed to unregister it when the web application was stopped. To prevent a memory leak, the JDBC Driver has been forcibly unregistered. 2014-8-1 11:35:39 org.apache.catalina.loader.WebappClassLoader clearReferencesThreads 严重: The web application [/es-web] appears to have started a thread named [Abandoned connection cleanup thread] but has failed to stop it. This is very likely to create a memory leak. 2014-8-1 11:35:39 org.apache.catalina.startup.HostConfig deployDirectory】

缺少Identity属性 看了一下前面的人回答说将Icon findByIdentity(String identity);改为Icon findById(String identity); 再次启动还是,继续报错: 【 信息: {dataSource-1} inited Hibernate: select taskdefini0_.id as id15, taskdefini0_.bean_class as bean_cla25, taskdefini0_.bean_name as bean_nam35, taskdefini0_.cron as cron45, taskdefini0_.description as descript55, taskdefini0_.method_name as method_n65, taskdefini0_.name as name75, taskdefini0_.is_start as is_start85 from maintain_taskdefinition taskdefini0 where 1=1 2014-8-1 11:51:02 com.alibaba.druid.pool.DruidDataSource info 信息: {dataSource-1} closed 2014-8-1 11:51:02 org.apache.catalina.core.StandardContext listenerStart 严重: Exception sending context initialized event to listener instance of class org.springframework.web.context.ContextLoaderListener org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'dynamicTaskService': Injection of autowired dependencies failed; nested exception is org.springframework.beans.factory.BeanCreationException: Could not autowire method: public void com.sishuok.es.common.service.BaseService.setBaseRepository(com.sishuok.es.common.repository.BaseRepository); nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'dynamicTaskRepository': Post-processing of the FactoryBean's object failed; nested exception is org.springframework.aop.framework.AopConfigException: Could not generate CGLIB subclass of class [class com.sun.proxy.$Proxy91]: Common causes of this problem include using a final class or a non-visible class; nested exception is java.lang.IllegalArgumentException: Cannot subclass final class class com.sun.proxy.$Proxy91 at org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor.postProcessPropertyValues(AutowiredAnnotationBeanPostProcessor.java:292) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:1185) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:537) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:475) at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:304) at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:228) at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:300) at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:195) at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:700) at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:760) at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:482) at org.springframework.web.context.ContextLoader.configureAndRefreshWebApplicationContext(ContextLoader.java:381) at org.springframework.web.context.ContextLoader.initWebApplicationContext(ContextLoader.java:293) at org.springframework.web.context.ContextLoaderListener.contextInitialized(ContextLoaderListener.java:106) at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:4797) at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5291) at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150) at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:901) at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:877) at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:633) at org.apache.catalina.startup.HostConfig.deployDirectory(HostConfig.java:1114) at org.apache.catalina.startup.HostConfig$DeployDirectory.run(HostConfig.java:1673) at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:439) at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303) at java.util.concurrent.FutureTask.run(FutureTask.java:138) at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:895) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:918) at java.lang.Thread.run(Thread.java:662) Caused by: org.springframework.beans.factory.BeanCreationException: Could not autowire method: public void com.sishuok.es.common.service.BaseService.setBaseRepository(com.sishuok.es.common.repository.BaseRepository); nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'dynamicTaskRepository': Post-processing of the FactoryBean's object failed; nested exception is org.springframework.aop.framework.AopConfigException: Could not generate CGLIB subclass of class [class com.sun.proxy.$Proxy91]: Common causes of this problem include using a final class or a non-visible class; nested exception is java.lang.IllegalArgumentException: Cannot subclass final class class com.sun.proxy.$Proxy91 at org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor$AutowiredMethodElement.inject(AutowiredAnnotationBeanPostProcessor.java:596) at org.springframework.beans.factory.annotation.InjectionMetadata.inject(InjectionMetadata.java:87) at org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor.postProcessPropertyValues(AutowiredAnnotationBeanPostProcessor.java:289) ... 27 more Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'dynamicTaskRepository': Post-processing of the FactoryBean's object failed; nested exception is org.springframework.aop.framework.AopConfigException: Could not generate CGLIB subclass of class [class com.sun.proxy.$Proxy91]: Common causes of this problem include using a final class or a non-visible class; nested exception is java.lang.IllegalArgumentException: Cannot subclass final class class com.sun.proxy.$Proxy91 at org.springframework.beans.factory.support.FactoryBeanRegistrySupport.doGetObjectFromFactoryBean(FactoryBeanRegistrySupport.java:167) at org.springframework.beans.factory.support.FactoryBeanRegistrySupport.getObjectFromFactoryBean(FactoryBeanRegistrySupport.java:103) at org.springframework.beans.factory.support.AbstractBeanFactory.getObjectForBeanInstance(AbstractBeanFactory.java:1514) at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:252) at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:195) at org.springframework.beans.factory.support.DefaultListableBeanFactory.findAutowireCandidates(DefaultListableBeanFactory.java:1014) at org.springframework.beans.factory.support.DefaultListableBeanFactory.doResolveDependency(DefaultListableBeanFactory.java:957) at org.springframework.beans.factory.support.DefaultListableBeanFactory.resolveDependency(DefaultListableBeanFactory.java:855) at org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor$AutowiredMethodElement.inject(AutowiredAnnotationBeanPostProcessor.java:553) ... 29 more Caused by: org.springframework.aop.framework.AopConfigException: Could not generate CGLIB subclass of class [class com.sun.proxy.$Proxy91]: Common causes of this problem include using a final class or a non-visible class; nested exception is java.lang.IllegalArgumentException: Cannot subclass final class class com.sun.proxy.$Proxy91 at org.springframework.aop.framework.CglibAopProxy.getProxy(CglibAopProxy.java:211) at org.springframework.aop.framework.ProxyFactory.getProxy(ProxyFactory.java:111) at org.springframework.aop.framework.autoproxy.AbstractAutoProxyCreator.createProxy(AbstractAutoProxyCreator.java:490) at org.springframework.aop.framework.autoproxy.AbstractAutoProxyCreator.wrapIfNecessary(AbstractAutoProxyCreator.java:375) at org.springframework.aop.framework.autoproxy.AbstractAutoProxyCreator.postProcessAfterInitialization(AbstractAutoProxyCreator.java:335) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.applyBeanPostProcessorsAfterInitialization(AbstractAutowireCapableBeanFactory.java:421) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.postProcessObjectFromFactoryBean(AbstractAutowireCapableBeanFactory.java:1698) at org.springframework.beans.factory.support.FactoryBeanRegistrySupport.doGetObjectFromFactoryBean(FactoryBeanRegistrySupport.java:164) ... 37 more Caused by: java.lang.IllegalArgumentException: Cannot subclass final class class com.sun.proxy.$Proxy91 at org.springframework.cglib.proxy.Enhancer.generateClass(Enhancer.java:446) at org.springframework.cglib.transform.TransformingClassGenerator.generateClass(TransformingClassGenerator.java:33) at org.springframework.cglib.core.DefaultGeneratorStrategy.generate(DefaultGeneratorStrategy.java:25) at org.springframework.cglib.core.AbstractClassGenerator.create(AbstractClassGenerator.java:216) at org.springframework.cglib.proxy.Enhancer.createHelper(Enhancer.java:377) at org.springframework.cglib.proxy.Enhancer.createClass(Enhancer.java:317) at org.springframework.aop.framework.ObjenesisCglibAopProxy.createProxyClassAndInstance(ObjenesisCglibAopProxy.java:57) at org.springframework.aop.framework.CglibAopProxy.getProxy(CglibAopProxy.java:201) ... 44 more 2014-8-1 11:51:02 org.apache.catalina.core.StandardContext startInternal 严重: Error listenerStart 2014-8-1 11:51:02 org.apache.catalina.core.StandardContext startInternal 严重: Context [/es-web] startup failed due to previous errors 2014-8-1 11:51:02 org.apache.catalina.core.ApplicationContext log 信息: Closing Spring root WebApplicationContext 2014-8-1 11:51:02 org.apache.catalina.loader.WebappClassLoader clearReferencesJdbc 严重: The web application [/es-web] registered the JDBC driver [com.alibaba.druid.proxy.DruidDriver] but failed to unregister it when the web application was stopped. To prevent a memory leak, the JDBC Driver has been forcibly unregistered. 2014-8-1 11:51:02 org.apache.catalina.loader.WebappClassLoader clearReferencesJdbc 严重: The web application [/es-web] registered the JDBC driver [com.mysql.jdbc.Driver] but failed to unregister it when the web application was stopped. To prevent a memory leak, the JDBC Driver has been forcibly unregistered. 2014-8-1 11:51:02 org.apache.catalina.loader.WebappClassLoader clearReferencesThreads 严重: The web application [/es-web] appears to have started a thread named [Abandoned connection cleanup thread] but has failed to stop it. This is very likely to create a memory leak. 2014-8-1 11:51:02 org.apache.catalina.startup.HostConfig deployDirectory 】

不知道怎么弄了,请涛哥帮忙解答一下吧,真的很期待用这个框架。

zhangkaitao commented 10 years ago

最后一个错误已修复 你试试