eclipse启动本地程序时出现错误

窗外月光微冷 发布于 2017/05/31 14:02
阅读 353
收藏 0

14:01:28.564 [localhost-startStop-1] DEBUG [com.foton.m2m.cbm.common.repository.ConfigRepository ?.] Execute HQL: [from com.foton.m2m.cbm.common.model.Config t ], params: [null] 
14:01:28.837 [localhost-startStop-1] INFO  [org.hibernate.hql.internal.QueryTranslatorFactoryInitiator ?.] HHH000397: Using ASTQueryTranslatorFactory 
14:01:29.820 [localhost-startStop-1] WARN  [org.springframework.web.context.support.XmlWebApplicationContext ?.] Exception encountered during context initialization - cancelling refresh attempt: org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'coreCaptchaService': Unsatisfied dependency expressed through field 'imageCaptchaService'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'captchaServiceImpl' defined in class path resource [conf/app-service.xml]: Cannot create inner bean 'com.foton.cloud.basic.core.web.util.captcha.CaptchaEngine#1ad4a5f0' of type [com.foton.cloud.basic.core.web.util.captcha.CaptchaEngine] while setting bean property 'captchaEngine'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'com.foton.cloud.basic.core.web.util.captcha.CaptchaEngine#1ad4a5f0' defined in class path resource [conf/app-service.xml]: Instantiation of bean failed; nested exception is org.springframework.beans.BeanInstantiationException: Failed to instantiate [com.foton.cloud.basic.core.web.util.captcha.CaptchaEngine]: Constructor threw exception; nested exception is com.octo.captcha.CaptchaException: All tried paths :'D:\Program Files\eclipse\captcha
D:\Program Files\eclipse\.\captcha
D:\captcha
D:\Program%20Files\apache-tomcat-8.0.36\wtpwebapps\platform-iov-web\WEB-INF\classes\captcha
' is not a directory or cannot be read 
14:01:29.841 [localhost-startStop-1] INFO  [com.alibaba.druid.pool.DruidDataSource ?.] {dataSource-1} closed 
14:01:29.841 [localhost-startStop-1] INFO  [org.springframework.scheduling.concurrent.ThreadPoolTaskExecutor ?.] Shutting down ExecutorService 
五月 31, 2017 2:01:29 下午 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.UnsatisfiedDependencyException: Error creating bean with name 'coreCaptchaService': Unsatisfied dependency expressed through field 'imageCaptchaService'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'captchaServiceImpl' defined in class path resource [conf/app-service.xml]: Cannot create inner bean 'com.foton.cloud.basic.core.web.util.captcha.CaptchaEngine#1ad4a5f0' of type [com.foton.cloud.basic.core.web.util.captcha.CaptchaEngine] while setting bean property 'captchaEngine'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'com.foton.cloud.basic.core.web.util.captcha.CaptchaEngine#1ad4a5f0' defined in class path resource [conf/app-service.xml]: Instantiation of bean failed; nested exception is org.springframework.beans.BeanInstantiationException: Failed to instantiate [com.foton.cloud.basic.core.web.util.captcha.CaptchaEngine]: Constructor threw exception; nested exception is com.octo.captcha.CaptchaException: All tried paths :'D:\Program Files\eclipse\captcha
D:\Program Files\eclipse\.\captcha
D:\captcha
D:\Program%20Files\apache-tomcat-8.0.36\wtpwebapps\platform-iov-web\WEB-INF\classes\captcha
' is not a directory or cannot be read
    at org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor$AutowiredFieldElement.inject(AutowiredAnnotationBeanPostProcessor.java:588)
    at org.springframework.beans.factory.annotation.InjectionMetadata.inject(InjectionMetadata.java:88)
    at org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor.postProcessPropertyValues(AutowiredAnnotationBeanPostProcessor.java:366)
    at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:1264)
    at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:553)
    at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:483)
    at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:306)
    at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:230)
    at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:302)
    at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:197)
    at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:761)
    at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:866)
    at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:542)
    at org.springframework.web.context.ContextLoader.configureAndRefreshWebApplicationContext(ContextLoader.java:443)
    at org.springframework.web.context.ContextLoader.initWebApplicationContext(ContextLoader.java:325)
    at org.springframework.web.context.ContextLoaderListener.contextInitialized(ContextLoaderListener.java:107)
    at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:4842)
    at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5303)
    at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:147)
    at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:725)
    at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:701)
    at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:717)
    at org.apache.catalina.startup.HostConfig.deployDescriptor(HostConfig.java:587)
    at org.apache.catalina.startup.HostConfig$DeployDescriptor.run(HostConfig.java:1798)
    at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
    at java.util.concurrent.FutureTask.run(FutureTask.java:266)
    at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
    at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
    at java.lang.Thread.run(Thread.java:745)
Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'captchaServiceImpl' defined in class path resource [conf/app-service.xml]: Cannot create inner bean 'com.foton.cloud.basic.core.web.util.captcha.CaptchaEngine#1ad4a5f0' of type [com.foton.cloud.basic.core.web.util.captcha.CaptchaEngine] while setting bean property 'captchaEngine'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'com.foton.cloud.basic.core.web.util.captcha.CaptchaEngine#1ad4a5f0' defined in class path resource [conf/app-service.xml]: Instantiation of bean failed; nested exception is org.springframework.beans.BeanInstantiationException: Failed to instantiate [com.foton.cloud.basic.core.web.util.captcha.CaptchaEngine]: Constructor threw exception; nested exception is com.octo.captcha.CaptchaException: All tried paths :'D:\Program Files\eclipse\captcha
D:\Program Files\eclipse\.\captcha
D:\captcha
D:\Program%20Files\apache-tomcat-8.0.36\wtpwebapps\platform-iov-web\WEB-INF\classes\captcha
' is not a directory or cannot be read
    at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveInnerBean(BeanDefinitionValueResolver.java:313)
    at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveValueIfNecessary(BeanDefinitionValueResolver.java:122)
    at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.applyPropertyValues(AbstractAutowireCapableBeanFactory.java:1531)
    at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:1276)
    at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:553)
    at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:483)
    at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:306)
    at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:230)
    at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:302)
    at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:202)
    at org.springframework.beans.factory.config.DependencyDescriptor.resolveCandidate(DependencyDescriptor.java:208)
    at org.springframework.beans.factory.support.DefaultListableBeanFactory.doResolveDependency(DefaultListableBeanFactory.java:1138)
    at org.springframework.beans.factory.support.DefaultListableBeanFactory.resolveDependency(DefaultListableBeanFactory.java:1066)
    at org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor$AutowiredFieldElement.inject(AutowiredAnnotationBeanPostProcessor.java:585)
    ... 28 more
Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'com.foton.cloud.basic.core.web.util.captcha.CaptchaEngine#1ad4a5f0' defined in class path resource [conf/app-service.xml]: Instantiation of bean failed; nested exception is org.springframework.beans.BeanInstantiationException: Failed to instantiate [com.foton.cloud.basic.core.web.util.captcha.CaptchaEngine]: Constructor threw exception; nested exception is com.octo.captcha.CaptchaException: All tried paths :'D:\Program Files\eclipse\captcha
D:\Program Files\eclipse\.\captcha
D:\captcha
D:\Program%20Files\apache-tomcat-8.0.36\wtpwebapps\platform-iov-web\WEB-INF\classes\captcha
' is not a direc14:01:29.845 [localhost-startStop-1] ERROR [org.springframework.web.context.ContextLoader ?.] Context initialization failed org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'coreCaptchaService': Unsatisfied dependency expressed through field 'imageCaptchaService'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'captchaServiceImpl' defined in class path resource [conf/app-service.xml]: Cannot create inner bean 'com.foton.cloud.basic.core.web.util.captcha.CaptchaEngine#1ad4a5f0' of type [com.foton.cloud.basic.core.web.util.captcha.CaptchaEngine] while setting bean property 'captchaEngine'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'com.foton.cloud.basic.core.web.util.captcha.CaptchaEngine#1ad4a5f0' defined in class path resource [conf/app-service.xml]: Instantiation of bean failed; nested exception is org.springframework.beans.BeanInstantiationException: Failed to instantiate [com.foton.cloud.basic.core.web.util.captcha.CaptchaEngine]: Constructor threw exception; nested exception is com.octo.captcha.CaptchaException: All tried paths :'D:\Program Files\eclipse\captcha
D:\Program Files\eclipse\.\captcha
D:\captcha
D:\Program%20Files\apache-tomcat-8.0.36\wtpwebapps\platform-iov-web\WEB-INF\classes\captcha
' is not a directory or cannot be read
    at org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor$AutowiredFieldElement.inject(AutowiredAnnotationBeanPostProcessor.java:588)
    at org.springframework.beans.factory.annotation.InjectionMetadata.inject(InjectionMetadata.java:88)
    at org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor.postProcessPropertyValues(AutowiredAnnotationBeanPostProcessor.java:366)
    at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:1264)
    at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:553)
    at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:483)
    at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:306)
    at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:230)
    at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:302)
    at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:197)
    at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:761)
    at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:866)
    at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:542)
    at org.springframework.web.context.ContextLoader.configureAndRefreshWebApplicationContext(ContextLoader.java:443)
    at org.springframework.web.context.ContextLoader.initWebApplicationContext(ContextLoader.java:325)
    at org.springframework.web.context.ContextLoaderListener.contextInitialized(ContextLoaderListener.java:107)
    at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:4842)
    at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5303)
    at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:147)
    at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:725)
    at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:701)
    at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:717)
    at org.apache.catalina.startup.HostConfig.deployDescriptor(HostConfig.java:587)
    at org.apache.catalina.startup.HostConfig$DeployDescriptor.run(HostConfig.java:1798)
    at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
    at java.util.concurrent.FutureTask.run(FutureTask.java:266)
    at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
    at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
    at java.lang.Thread.run(Thread.java:745)
Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'captchaServiceImpl' defined in class path resource [conf/app-service.xml]: Cannot create inner bean 'com.foton.cloud.basic.core.web.util.captcha.CaptchaEngine#1ad4a5f0' of type [com.foton.cloud.basic.core.web.util.captcha.CaptchaEngine] while setting bean property 'captchaEngine'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'com.foton.cloud.basic.core.web.util.captcha.CaptchaEngine#1ad4a5f0' defined in class path resource [conf/app-service.xml]: Instantiation of bean failed; nested exception is org.springframework.beans.BeanInstantiationException: Failed to instantiate [com.foton.cloud.basic.core.web.util.captcha.CaptchaEngine]: Constructor threw exception; nested exception is com.octo.captcha.CaptchaException: All tried paths :'D:\Program Files\eclipse\captcha
D:\Program Files\eclipse\.\captcha
D:\captcha
D:\Program%20Files\apache-tomcat-8.0.36\wtpwebapps\platform-iov-web\WEB-INF\classes\captcha
' is not a directory or cannot be read
    at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveInnerBean(BeanDefinitionValueResolver.java:313)
    at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveValueIfNecessary(BeanDefinitionValueResolver.java:122)
    at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.applyPropertyValues(AbstractAutowireCapableBeanFactory.java:1531)
    at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:1276)
    at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:553)
    at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:483)
    at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:306)
    at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:230)
    at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:302)
    at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:202)
    at org.springframework.beans.factory.config.DependencyDescriptor.resolveCandidate(DependencyDescriptor.java:208)
    at org.springframework.beans.factory.support.DefaultListableBeanFactory.doResolveDependency(DefaultListableBeanFactory.java:1138)
    at org.springframework.beans.factory.support.DefaultListableBeanFactory.resolveDependency(DefaultListableBeanFactory.java:1066)
    at org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor$AutowiredFieldElement.inject(AutowiredAnnotationBeanPostProcessor.java:585)
    ... 28 more
Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'com.foton.cloud.basic.core.web.util.captcha.CaptchaEngine#1ad4a5f0' defined in class path resource [conf/app-service.xml]: Instantiation of bean failed; nested exception is org.springframework.beans.BeanInstantiationException: Failed to instantiate [com.foton.cloud.basic.core.web.util.captcha.CaptchaEngine]: Constructor threw exception; nested exception is com.octo.captcha.CaptchaException: All tried paths :'D:\Program Files\eclipse\captcha
D:\Program Files\eclipse\.\captcha
D:\captcha
D:\Program%20Files\apache-tomcat-8.0.36\wtpwebapps\platform-iov-web\WEB-INF\classes\captcha
' is not a directory or cannot be read
    at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.instantiateBean(AbstractAutowireCapableBeanFactory.java:1155)
    at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBeanInstance(AbstractAutowireCapableBeanFactory.java:1099)
    at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:513)
    at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:483)
    at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveInnerBean(BeanDefinitionValueResolver.java:299)
    ... 41 more
Caused by: org.springframework.beans.BeanInstantiationException: Failed to instantiate [com.foton.cloud.basic.core.web.util.captcha.CaptchaEngine]: Constructor threw exception; nested exception is com.octo.captcha.CaptchaException: All tried paths :'D:\Program Files\eclipse\captcha
D:\Program Files\eclipse\.\captcha
D:\captcha
D:\Program%20Files\apache-tomcat-8.0.36\wtpwebapps\platform-iov-web\WEB-INF\classes\captcha
' is not a directory or cannot be read
    at org.springframework.beans.BeanUtils.instantiateClass(BeanUtils.java:154)
    at org.springframework.beans.factory.support.SimpleInstantiationStrategy.instantiate(SimpleInstantiationStrategy.java:89)
    at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.instantiateBean(AbstractAutowireCapableBeanFactory.java:1147)
    ... 45 more
Caused by: com.octo.captcha.CaptchaException: All tried paths :'D:\Program Files\eclipse\captcha
D:\Program Files\eclipse\.\captcha
D:\captcha
D:\Program%20Files\apache-tomcat-8.0.36\wtpwebapps\platform-iov-web\WEB-INF\classes\captcha
' is not a directory or cannot be read
    at com.octo.captcha.component.image.backgroundgenerator.FileReaderRandomBackgroundGenerator.findDirectory(FileReaderRandomBackgroundGenerator.java:135)
    at com.octo.captcha.component.image.backgroundgenerator.FileReaderRandomBackgroundGenerator.<init>(FileReaderRandomBackgroundGenerator.java:44)
    at com.foton.cloud.basic.core.web.util.captcha.CaptchaEngine.buildInitialFactories(CaptchaEngine.java:72)
    at com.octo.captcha.engine.image.ListImageCaptchaEngine.<init>(ListImageCaptchaEngine.java:47)
    at com.foton.cloud.basic.core.web.util.captcha.CaptchaEngine.<init>(CaptchaEngine.java:24)
    at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
    at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
    at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
    at java.lang.reflect.Constructor.newInstance(Constructor.java:423)
    at org.springframework.beans.BeanUtils.instantiateClass(BeanUtils.java:142)
    ... 47 more

tory or cannot be read
    at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.instantiateBean(AbstractAutowireCapableBeanFactory.java:1155)
    at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBeanInstance(AbstractAutowireCapableBeanFactory.java:1099)
    at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:513)
    at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:483)
    at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveInnerBean(BeanDefinitionValueResolver.java:299)
    ... 41 more
Caused by: org.springframework.beans.BeanInstantiationException: Failed to instantiate [com.foton.cloud.basic.core.web.util.captcha.CaptchaEngine]: Constructor threw exception; nested exception is com.octo.captcha.CaptchaException: All tried paths :'D:\Program Files\eclipse\captcha
D:\Program Files\eclipse\.\captcha
D:\captcha
D:\Program%20Files\apache-tomcat-8.0.36\wtpwebapps\platform-iov-web\WEB-INF\classes\captcha
' is not a directory or cannot be read
    at org.springframework.beans.BeanUtils.instantiateClass(BeanUtils.java:154)
    at org.springframework.beans.factory.support.SimpleInstantiationStrategy.instantiate(SimpleInstantiationStrategy.java:89)
    at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.instantiateBean(AbstractAutowireCapableBeanFactory.java:1147)
    ... 45 more
Caused by: com.octo.captcha.CaptchaException: All tried paths :'D:\Program Files\eclipse\captcha
D:\Program Files\eclipse\.\captcha
D:\captcha
D:\Program%20Files\apache-tomcat-8.0.36\wtpwebapps\platform-iov-web\WEB-INF\classes\captcha
' is not a directory or cannot be read
    at com.octo.captcha.component.image.backgroundgenerator.FileReaderRandomBackgroundGenerator.findDirectory(FileReaderRandomBackgroundGenerator.java:135)
    at com.octo.captcha.component.image.backgroundgenerator.FileReaderRandomBackgroundGenerator.<init>(FileReaderRandomBackgroundGenerator.java:44)
    at com.foton.cloud.basic.core.web.util.captcha.CaptchaEngine.buildInitialFactories(CaptchaEngine.java:72)
    at com.octo.captcha.engine.image.ListImageCaptchaEngine.<init>(ListImageCaptchaEngine.java:47)
    at com.foton.cloud.basic.core.web.util.captcha.CaptchaEngine.<init>(CaptchaEngine.java:24)
    at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
    at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
    at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
    at java.lang.reflect.Constructor.newInstance(Constructor.java:423)
    at org.springframework.beans.BeanUtils.instantiateClass(BeanUtils.java:142)
    ... 47 more

五月 31, 2017 2:01:29 下午 org.apache.catalina.core.ApplicationContext log
信息: Set web app root system property: 'web.root' = [D:\Program Files\apache-tomcat-8.0.36\wtpwebapps\platform-iov-web\]
五月 31, 2017 2:01:29 下午 org.apache.catalina.core.StandardContext startInternal
严重: One or more listeners failed to start. Full details will be found in the appropriate container log file
五月 31, 2017 2:01:29 下午 org.apache.catalina.core.StandardContext startInternal
严重: Context [] startup failed due to previous errors
五月 31, 2017 2:01:29 下午 org.apache.catalina.core.ApplicationContext log
信息: Closing Spring root WebApplicationContext
五月 31, 2017 2:01:29 下午 org.apache.catalina.loader.WebappClassLoaderBase clearReferencesJdbc
警告: The web application [ROOT] 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.
五月 31, 2017 2:01:29 下午 org.apache.catalina.loader.WebappClassLoaderBase clearReferencesJdbc
警告: The web application [ROOT] registered the JDBC driver [oracle.jdbc.driver.OracleDriver] but failed to unregister it when the web application was stopped. To prevent a memory leak, the JDBC Driver has been forcibly unregistered.
五月 31, 2017 2:01:29 下午 org.apache.catalina.loader.WebappClassLoaderBase clearReferencesThreads
警告: The web application [ROOT] appears to have started a thread named [Log4j2-TF-4-Scheduled-1] but has failed to stop it. This is very likely to create a memory leak. Stack trace of thread:
 sun.misc.Unsafe.park(Native Method)
 java.util.concurrent.locks.LockSupport.parkNanos(LockSupport.java:215)
 java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.awaitNanos(AbstractQueuedSynchronizer.java:2078)
 java.util.concurrent.ScheduledThreadPoolExecutor$DelayedWorkQueue.take(ScheduledThreadPoolExecutor.java:1093)
 java.util.concurrent.ScheduledThreadPoolExecutor$DelayedWorkQueue.take(ScheduledThreadPoolExecutor.java:809)
 java.util.concurrent.ThreadPoolExecutor.getTask(ThreadPoolExecutor.java:1067)
 java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1127)
 java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
 java.lang.Thread.run(Thread.java:745)
五月 31, 2017 2:01:29 下午 org.apache.catalina.loader.WebappClassLoaderBase clearReferencesThreads
警告: The web application [ROOT] appears to have started a thread named [Log4j2-TF-3-AsyncLoggerConfig-2] but has failed to stop it. This is very likely to create a memory leak. Stack trace of thread:
 sun.misc.Unsafe.park(Native Method)
 java.util.concurrent.locks.LockSupport.parkNanos(LockSupport.java:215)
 java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.awaitNanos(AbstractQueuedSynchronizer.java:2078)
 com.lmax.disruptor.TimeoutBlockingWaitStrategy.waitFor(TimeoutBlockingWaitStrategy.java:38)
 com.lmax.disruptor.ProcessingSequenceBarrier.waitFor(ProcessingSequenceBarrier.java:56)
 com.lmax.disruptor.BatchEventProcessor.run(BatchEventProcessor.java:124)
 java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
 java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
 java.lang.Thread.run(Thread.java:745)
五月 31, 2017 2:01:29 下午 org.apache.catalina.loader.WebappClassLoaderBase clearReferencesThreads
警告: The web application [ROOT] appears to have started a thread named [OracleTimeoutPollingThread] but has failed to stop it. This is very likely to create a memory leak. Stack trace of thread:
 java.lang.Thread.sleep(Native Method)
 oracle.jdbc.driver.OracleTimeoutPollingThread.run(OracleTimeoutPollingThread.java:158)
五月 31, 2017 2:01:29 下午 org.apache.catalina.startup.HostConfig deployDescriptor
信息: Deployment of configuration descriptor D:\Program Files\apache-tomcat-8.0.36\conf\Catalina\localhost\ROOT.xml has finished in 17,320 ms
五月 31, 2017 2:01:29 下午 org.apache.catalina.startup.HostConfig deployDirectory
信息: Deploying web application directory D:\Program Files\apache-tomcat-8.0.36\webapps\docs
五月 31, 2017 2:01:30 下午 org.apache.catalina.startup.HostConfig deployDirectory
信息: Deployment of web application directory D:\Program Files\apache-tomcat-8.0.36\webapps\docs has finished in 27 ms
五月 31, 2017 2:01:30 下午 org.apache.catalina.startup.HostConfig deployDirectory
信息: Deploying web application directory D:\Program Files\apache-tomcat-8.0.36\webapps\examples
五月 31, 2017 2:01:30 下午 org.apache.catalina.core.ApplicationContext log
信息: ContextListener: contextInitialized()
五月 31, 2017 2:01:30 下午 org.apache.catalina.core.ApplicationContext log
信息: SessionListener: contextInitialized()
五月 31, 2017 2:01:30 下午 org.apache.catalina.startup.HostConfig deployDirectory
信息: Deployment of web application directory D:\Program Files\apache-tomcat-8.0.36\webapps\examples has finished in 127 ms
五月 31, 2017 2:01:30 下午 org.apache.catalina.startup.HostConfig deployDirectory
信息: Deploying web application directory D:\Program Files\apache-tomcat-8.0.36\webapps\host-manager
五月 31, 2017 2:01:30 下午 org.apache.catalina.startup.HostConfig deployDirectory
信息: Deployment of web application directory D:\Program Files\apache-tomcat-8.0.36\webapps\host-manager has finished in 20 ms
五月 31, 2017 2:01:30 下午 org.apache.catalina.startup.HostConfig deployDirectory
信息: Deploying web application directory D:\Program Files\apache-tomcat-8.0.36\webapps\manager
五月 31, 2017 2:01:30 下午 org.apache.catalina.startup.HostConfig deployDirectory
信息: Deployment of web application directory D:\Program Files\apache-tomcat-8.0.36\webapps\manager has finished in 28 ms
五月 31, 2017 2:01:30 下午 org.apache.coyote.AbstractProtocol start
信息: Starting ProtocolHandler ["http-nio-8080"]
五月 31, 2017 2:01:30 下午 org.apache.coyote.AbstractProtocol start
信息: Starting ProtocolHandler ["ajp-nio-8009"]
五月 31, 2017 2:01:30 下午 org.apache.catalina.startup.Catalina start
信息: Server startup in 17583 ms

加载中
0
阿信sxq
阿信sxq

清缓存,或者重新安装tomcat

阿信sxq
阿信sxq
回复 @窗外月光微冷 : 采纳一下呗
窗外月光微冷
窗外月光微冷
谢了。我换了一个tomcat的版本,然后就好了
返回顶部
顶部