使用tomcat启动的时候报错,以下是报错信息:31-May-201809:48:14.910严重[RMITCPConnection(7)-127.0.0.1]org.apache.catalina.core.ContainerBase.addChildInternalContainerBase.addChild:start:org.apache.catalina.LifecycleException:Failedtostartcomponent[StandardEngine[Catalina].StandardHost[localhost].StandardContext[]]atorg.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:167)atorg.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:754)atorg.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:730)atorg.apache.catalina.core.StandardHost.addChild(StandardHost.java:734)atorg.apache.catalina.startup.HostConfig.manageApp(HostConfig.java:1736)atsun.reflect.NativeMethodAccessorImpl.invoke0(NativeMethod)atsun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)atsun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)atjava.lang.reflect.Method.invoke(Method.java:498)atorg.apache.tomcat.util.modeler.BaseModelMBean.invoke(BaseModelMBean.java:300)atcom.sun.jmx.interceptor.DefaultMBeanServerInterceptor.invoke(DefaultMBeanServerInterceptor.java:819)atcom.sun.jmx.mbeanserver.JmxMBeanServer.invoke(JmxMBeanServer.java:801)atorg.apache.catalina.mbeans.MBeanFactory.createStandardContext(MBeanFactory.java:482)atorg.apache.catalina.mbeans.MBeanFactory.createStandardContext(MBeanFactory.java:431)atsun.reflect.NativeMethodAccessorImpl.invoke0(NativeMethod)atsun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)atsun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)atjava.lang.reflect.Method.invoke(Method.java:498)atorg.apache.tomcat.util.modeler.BaseModelMBean.invoke(BaseModelMBean.java:300)atcom.sun.jmx.interceptor.DefaultMBeanServerInterceptor.invoke(DefaultMBeanServerInterceptor.java:819)atcom.sun.jmx.mbeanserver.JmxMBeanServer.invoke(JmxMBeanServer.java:801)atjavax.management.remote.rmi.RMIConnectionImpl.doOperation(RMIConnectionImpl.java:1468)atjavax.management.remote.rmi.RMIConnectionImpl.access$300(RMIConnectionImpl.java:76)atjavax.management.remote.rmi.RMIConnectionImpl$PrivilegedOperation.run(RMIConnectionImpl.java:1309)atjavax.management.remote.rmi.RMIConnectionImpl.doPrivilegedOperation(RMIConnectionImpl.java:1401)atjavax.management.remote.rmi.RMIConnectionImpl.invoke(RMIConnectionImpl.java:829)atsun.reflect.NativeMethodAccessorImpl.invoke0(NativeMethod)atsun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)atsun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)atjava.lang.reflect.Method.invoke(Method.java:498)atsun.rmi.server.UnicastServerRef.dispatch(UnicastServerRef.java:357)atsun.rmi.transport.Transport$1.run(Transport.java:200)atsun.rmi.transport.Transport$1.run(Transport.java:197)atjava.security.AccessController.doPrivileged(NativeMethod)atsun.rmi.transport.Transport.serviceCall(Transport.java:196)atsun.rmi.transport.tcp.TCPTransport.handleMessages(TCPTransport.java:573)atsun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run0(TCPTransport.java:835)atsun.rmi.transport.tcp.TCPTransport$ConnectionHandler.lambda$run$0(TCPTransport.java:688)atjava.security.AccessController.doPrivileged(NativeMethod)atsun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run(TCPTransport.java:687)atjava.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)atjava.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)atjava.lang.Thread.run(Thread.java:748)Causedby:java.lang.IllegalStateException:Couldnotevaluateconditiononorg.springframework.boot.autoconfigure.PropertyPlaceholderAutoConfiguration#propertySourcesPlaceholderConfigurerduetoio/codis/jodis/JedisResourcePoolnotfound.Makesureyourownconfigurationdoesnotrelyonthatclass.Thiscanalsohappenifyouare@ComponentScanningaspringframeworkpackage(e.g.ifyouputa@ComponentScaninthedefaultpackagebymistake)atorg.springframework.boot.autoconfigure.condition.SpringBootCondition.matches(SpringBootCondition.java:55)atorg.springframework.context.annotation.ConditionEvaluator.shouldSkip(ConditionEvaluator.java:102)atorg.springframework.context.annotation.ConfigurationClassBeanDefinitionReader.loadBeanDefinitionsForBeanMethod(ConfigurationClassBeanDefinitionReader.java:178)atorg.springframework.context.annotation.ConfigurationClassBeanDefinitionReader.loadBeanDefinitionsForConfigurationClass(ConfigurationClassBeanDefinitionReader.java:140)atorg.springframework.context.annotation.ConfigurationClassBeanDefinitionReader.loadBeanDefinitions(ConfigurationClassBeanDefinitionReader.java:116)atorg.springframework.context.annotation.ConfigurationClassPostProcessor.processConfigBeanDefinitions(ConfigurationClassPostProcessor.java:333)atorg.springframework.context.annotation.ConfigurationClassPostProcessor.postProcessBeanDefinitionRegistry(ConfigurationClassPostProcessor.java:243)atorg.springframework.context.support.PostProcessorRegistrationDelegate.invokeBeanDefinitionRegistryPostProcessors(PostProcessorRegistrationDelegate.java:273)atorg.springframework.context.support.PostProcessorRegistrationDelegate.invokeBeanFactoryPostProcessors(PostProcessorRegistrationDelegate.java:98)atorg.springframework.context.support.AbstractApplicationContext.invokeBeanFactoryPostProcessors(AbstractApplicationContext.java:678)atorg.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:520)atorg.springframework.boot.context.embedded.EmbeddedWebApplicationContext.refresh(EmbeddedWebApplicationContext.java:118)atorg.springframework.boot.SpringApplication.refresh(SpringApplication.java:766)atorg.springframework.boot.SpringApplication.createAndRefreshContext(SpringApplication.java:361)atorg.springframework.boot.SpringApplication.run(SpringApplication.java:307)atorg.springframework.boot.context.web.SpringBootServletInitializer.run(SpringBootServletInitializer.java:149)atorg.springframework.boot.context.web.SpringBootServletInitializer.createRootApplicationContext(SpringBootServletInitializer.java:129)atorg.springframework.boot.context.web.SpringBootServletInitializer.onStartup(SpringBootServletInitializer.java:85)atorg.springframework.web.SpringServletContainerInitializer.onStartup(SpringServletContainerInitializer.java:169)atorg.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5245)atorg.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)...42moreCausedby:java.lang.NoClassDefFoundError:io/codis/jodis/JedisResourcePoolatjava.lang.Class.getDeclaredMethods0(NativeMethod)atjava.lang.Class.privateGetDeclaredMethods(Class.java:2701)atjava.lang.Class.getDeclaredMethods(Class.java:1975)atorg.springframework.util.ReflectionUtils.getDeclaredMethods(ReflectionUtils.java:612)atorg.springframework.util.ReflectionUtils.doWithMethods(ReflectionUtils.java:524)atorg.springframework.util.ReflectionUtils.doWithMethods(ReflectionUtils.java:510)atorg.springframework.util.ReflectionUtils.getUniqueDeclaredMethods(ReflectionUtils.java:570)atorg.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.getTypeForFactoryMethod(AbstractAutowireCapableBeanFactory.java:683)atorg.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.determineTargetType(AbstractAutowireCapableBeanFactory.java:627)atorg.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.predictBeanType(AbstractAutowireCapableBeanFactory.java:597)atorg.springframework.beans.factory.support.AbstractBeanFactory.isFactoryBean(AbstractBeanFactory.java:1445)atorg.springframework.beans.factory.support.AbstractBeanFactory.isFactoryBean(AbstractBeanFactory.java:975)atorg.springframework.boot.autoconfigure.condition.BeanTypeRegistry$OptimizedBeanTypeRegistry.addBeanTypeForNonAliasDefinition(BeanTypeRegistry.java:289)atorg.springframework.boot.autoconfigure.condition.BeanTypeRegistry$OptimizedBeanTypeRegistry.addBeanType(BeanTypeRegistry.java:278)atorg.springframework.boot.autoconfigure.condition.BeanTypeRegistry$OptimizedBeanTypeRegistry.getNamesForType(BeanTypeRegistry.java:259)atorg.springframework.boot.autoconfigure.condition.OnBeanCondition.collectBeanNamesForType(OnBeanCondition.java:182)atorg.springframework.boot.autoconfigure.condition.OnBeanCondition.getBeanNamesForType(OnBeanCondition.java:171)atorg.springframework.boot.autoconfigure.condition.OnBeanCondition.getMatchingBeans(OnBeanCondition.java:139)atorg.springframework.boot.autoconfigure.condition.OnBeanCondition.getMatchOutcome(OnBeanCondition.java:113)atorg.springframework.boot.autoconfigure.condition.SpringBootCondition.matches(SpringBootCondition.java:47)...62moreCausedby:java.lang.ClassNotFoundException:io.codis.jodis.JedisResourcePoolatorg.apache.catalina.loader.WebappClassLoaderBase.loadClass(WebappClassLoaderBase.java:1308)atorg.apache.catalina.loader.WebappClassLoaderBase.loadClass(WebappClassLoaderBase.java:1136)...82more先在这里谢谢!
添加回答
举报
0/150
提交
取消