admin管理员组

文章数量:1599543

以下是错误信息

2020-08-04 10:41:45.441 [main] ERROR [org.springframework.boot.SpringApplication:840] - Application startup failed
java.lang.IllegalStateException: Error processing condition on org.springframework.boot.actuate.autoconfigure.EndpointWebMvcAutoConfiguration E n d p o i n t W e b M v c C o n f i g u r a t i o n a t o r g . s p r i n g f r a m e w o r k . b o o t . a u t o c o n f i g u r e . c o n d i t i o n . S p r i n g B o o t C o n d i t i o n . m a t c h e s ( S p r i n g B o o t C o n d i t i o n . j a v a : 64 )   [ s p r i n g − b o o t − a u t o c o n f i g u r e − 1.4.7. R E L E A S E . j a r : 1.4.7. R E L E A S E ] a t o r g . s p r i n g f r a m e w o r k . c o n t e x t . a n n o t a t i o n . C o n d i t i o n E v a l u a t o r . s h o u l d S k i p ( C o n d i t i o n E v a l u a t o r . j a v a : 102 )   [ s p r i n g − c o n t e x t − 4.3.9. R E L E A S E . j a r : 4.3.9. R E L E A S E ] a t o r g . s p r i n g f r a m e w o r k . c o n t e x t . a n n o t a t i o n . C o n f i g u r a t i o n C l a s s B e a n D e f i n i t i o n R e a d e r EndpointWebMvcConfiguration at org.springframework.boot.autoconfigure.condition.SpringBootCondition.matches(SpringBootCondition.java:64) ~[spring-boot-autoconfigure-1.4.7.RELEASE.jar:1.4.7.RELEASE] at org.springframework.context.annotation.ConditionEvaluator.shouldSkip(ConditionEvaluator.java:102) ~[spring-context-4.3.9.RELEASE.jar:4.3.9.RELEASE] at org.springframework.context.annotation.ConfigurationClassBeanDefinitionReader EndpointWebMvcConfigurationatorg.springframework.boot.autoconfigure.condition.SpringBootCondition.matches(SpringBootCondition.java:64) [springbootautoconfigure1.4.7.RELEASE.jar:1.4.7.RELEASE]atorg.springframework.context.annotation.ConditionEvaluator.shouldSkip(ConditionEvaluator.java:102) [springcontext4.3.9.RELEASE.jar:4.3.9.RELEASE]atorg.springframework.context.annotation.ConfigurationClassBeanDefinitionReaderTrackedConditionEvaluator.shouldSkip(ConfigurationClassBeanDefinitionReader.java:438) ~[spring-context-4.3.9.RELEASE.jar:4.3.9.RELEASE]
at org.springframework.context.annotation.ConfigurationClassBeanDefinitionReader T r a c k e d C o n d i t i o n E v a l u a t o r . s h o u l d S k i p ( C o n f i g u r a t i o n C l a s s B e a n D e f i n i t i o n R e a d e r . j a v a : 427 )   [ s p r i n g − c o n t e x t − 4.3.9. R E L E A S E . j a r : 4.3.9. R E L E A S E ] a t o r g . s p r i n g f r a m e w o r k . c o n t e x t . a n n o t a t i o n . C o n f i g u r a t i o n C l a s s B e a n D e f i n i t i o n R e a d e r . l o a d B e a n D e f i n i t i o n s F o r C o n f i g u r a t i o n C l a s s ( C o n f i g u r a t i o n C l a s s B e a n D e f i n i t i o n R e a d e r . j a v a : 127 )   [ s p r i n g − c o n t e x t − 4.3.9. R E L E A S E . j a r : 4.3.9. R E L E A S E ] a t o r g . s p r i n g f r a m e w o r k . c o n t e x t . a n n o t a t i o n . C o n f i g u r a t i o n C l a s s B e a n D e f i n i t i o n R e a d e r . l o a d B e a n D e f i n i t i o n s ( C o n f i g u r a t i o n C l a s s B e a n D e f i n i t i o n R e a d e r . j a v a : 116 )   [ s p r i n g − c o n t e x t − 4.3.9. R E L E A S E . j a r : 4.3.9. R E L E A S E ] a t o r g . s p r i n g f r a m e w o r k . c o n t e x t . a n n o t a t i o n . C o n f i g u r a t i o n C l a s s P o s t P r o c e s s o r . p r o c e s s C o n f i g B e a n D e f i n i t i o n s ( C o n f i g u r a t i o n C l a s s P o s t P r o c e s s o r . j a v a : 320 )   [ s p r i n g − c o n t e x t − 4.3.9. R E L E A S E . j a r : 4.3.9. R E L E A S E ] a t o r g . s p r i n g f r a m e w o r k . c o n t e x t . a n n o t a t i o n . C o n f i g u r a t i o n C l a s s P o s t P r o c e s s o r . p o s t P r o c e s s B e a n D e f i n i t i o n R e g i s t r y ( C o n f i g u r a t i o n C l a s s P o s t P r o c e s s o r . j a v a : 228 )   [ s p r i n g − c o n t e x t − 4.3.9. R E L E A S E . j a r : 4.3.9. R E L E A S E ] a t o r g . s p r i n g f r a m e w o r k . c o n t e x t . s u p p o r t . P o s t P r o c e s s o r R e g i s t r a t i o n D e l e g a t e . i n v o k e B e a n D e f i n i t i o n R e g i s t r y P o s t P r o c e s s o r s ( P o s t P r o c e s s o r R e g i s t r a t i o n D e l e g a t e . j a v a : 270 )   [ s p r i n g − c o n t e x t − 4.3.9. R E L E A S E . j a r : 4.3.9. R E L E A S E ] a t o r g . s p r i n g f r a m e w o r k . c o n t e x t . s u p p o r t . P o s t P r o c e s s o r R e g i s t r a t i o n D e l e g a t e . i n v o k e B e a n F a c t o r y P o s t P r o c e s s o r s ( P o s t P r o c e s s o r R e g i s t r a t i o n D e l e g a t e . j a v a : 93 )   [ s p r i n g − c o n t e x t − 4.3.9. R E L E A S E . j a r : 4.3.9. R E L E A S E ] a t o r g . s p r i n g f r a m e w o r k . c o n t e x t . s u p p o r t . A b s t r a c t A p p l i c a t i o n C o n t e x t . i n v o k e B e a n F a c t o r y P o s t P r o c e s s o r s ( A b s t r a c t A p p l i c a t i o n C o n t e x t . j a v a : 687 )   [ s p r i n g − c o n t e x t − 4.3.9. R E L E A S E . j a r : 4.3.9. R E L E A S E ] a t o r g . s p r i n g f r a m e w o r k . c o n t e x t . s u p p o r t . A b s t r a c t A p p l i c a t i o n C o n t e x t . r e f r e s h ( A b s t r a c t A p p l i c a t i o n C o n t e x t . j a v a : 525 )   [ s p r i n g − c o n t e x t − 4.3.9. R E L E A S E . j a r : 4.3.9. R E L E A S E ] a t o r g . s p r i n g f r a m e w o r k . b o o t . c o n t e x t . e m b e d d e d . E m b e d d e d W e b A p p l i c a t i o n C o n t e x t . r e f r e s h ( E m b e d d e d W e b A p p l i c a t i o n C o n t e x t . j a v a : 122 )   [ s p r i n g − b o o t − 1.4.7. R E L E A S E . j a r : 1.4.7. R E L E A S E ] a t o r g . s p r i n g f r a m e w o r k . b o o t . S p r i n g A p p l i c a t i o n . r e f r e s h ( S p r i n g A p p l i c a t i o n . j a v a : 762 )   [ s p r i n g − b o o t − 1.4.7. R E L E A S E . j a r : 1.4.7. R E L E A S E ] a t o r g . s p r i n g f r a m e w o r k . b o o t . S p r i n g A p p l i c a t i o n . r e f r e s h C o n t e x t ( S p r i n g A p p l i c a t i o n . j a v a : 372 )   [ s p r i n g − b o o t − 1.4.7. R E L E A S E . j a r : 1.4.7. R E L E A S E ] a t o r g . s p r i n g f r a m e w o r k . b o o t . S p r i n g A p p l i c a t i o n . r u n ( S p r i n g A p p l i c a t i o n . j a v a : 316 )   [ s p r i n g − b o o t − 1.4.7. R E L E A S E . j a r : 1.4.7. R E L E A S E ] a t o r g . s p r i n g f r a m e w o r k . b o o t . S p r i n g A p p l i c a t i o n . r u n ( S p r i n g A p p l i c a t i o n . j a v a : 1187 )   [ s p r i n g − b o o t − 1.4.7. R E L E A S E . j a r : 1.4.7. R E L E A S E ] a t o r g . s p r i n g f r a m e w o r k . b o o t . S p r i n g A p p l i c a t i o n . r u n ( S p r i n g A p p l i c a t i o n . j a v a : 1176 )   [ s p r i n g − b o o t − 1.4.7. R E L E A S E . j a r : 1.4.7. R E L E A S E ] a t c o m . o r k h o n s o f t . t e n g r i n s h a r . u s e r . U s e r S e r v i c e A p p l i c a t i o n . m a i n ( U s e r S e r v i c e A p p l i c a t i o n . j a v a : 20 )   [ c l a s s e s / : ? ] C a u s e d b y : j a v a . l a n g . I l l e g a l A r g u m e n t E x c e p t i o n : C o u l d n o t r e s o l v e p l a c e h o l d e r ′ S E R V E R P O R T ′ i n v a l u e " TrackedConditionEvaluator.shouldSkip(ConfigurationClassBeanDefinitionReader.java:427) ~[spring-context-4.3.9.RELEASE.jar:4.3.9.RELEASE] at org.springframework.context.annotation.ConfigurationClassBeanDefinitionReader.loadBeanDefinitionsForConfigurationClass(ConfigurationClassBeanDefinitionReader.java:127) ~[spring-context-4.3.9.RELEASE.jar:4.3.9.RELEASE] at org.springframework.context.annotation.ConfigurationClassBeanDefinitionReader.loadBeanDefinitions(ConfigurationClassBeanDefinitionReader.java:116) ~[spring-context-4.3.9.RELEASE.jar:4.3.9.RELEASE] at org.springframework.context.annotation.ConfigurationClassPostProcessor.processConfigBeanDefinitions(ConfigurationClassPostProcessor.java:320) ~[spring-context-4.3.9.RELEASE.jar:4.3.9.RELEASE] at org.springframework.context.annotation.ConfigurationClassPostProcessor.postProcessBeanDefinitionRegistry(ConfigurationClassPostProcessor.java:228) ~[spring-context-4.3.9.RELEASE.jar:4.3.9.RELEASE] at org.springframework.context.support.PostProcessorRegistrationDelegate.invokeBeanDefinitionRegistryPostProcessors(PostProcessorRegistrationDelegate.java:270) ~[spring-context-4.3.9.RELEASE.jar:4.3.9.RELEASE] at org.springframework.context.support.PostProcessorRegistrationDelegate.invokeBeanFactoryPostProcessors(PostProcessorRegistrationDelegate.java:93) ~[spring-context-4.3.9.RELEASE.jar:4.3.9.RELEASE] at org.springframework.context.support.AbstractApplicationContext.invokeBeanFactoryPostProcessors(AbstractApplicationContext.java:687) ~[spring-context-4.3.9.RELEASE.jar:4.3.9.RELEASE] at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:525) ~[spring-context-4.3.9.RELEASE.jar:4.3.9.RELEASE] at org.springframework.boot.context.embedded.EmbeddedWebApplicationContext.refresh(EmbeddedWebApplicationContext.java:122) ~[spring-boot-1.4.7.RELEASE.jar:1.4.7.RELEASE] at org.springframework.boot.SpringApplication.refresh(SpringApplication.java:762) ~[spring-boot-1.4.7.RELEASE.jar:1.4.7.RELEASE] at org.springframework.boot.SpringApplication.refreshContext(SpringApplication.java:372) ~[spring-boot-1.4.7.RELEASE.jar:1.4.7.RELEASE] at org.springframework.boot.SpringApplication.run(SpringApplication.java:316) ~[spring-boot-1.4.7.RELEASE.jar:1.4.7.RELEASE] at org.springframework.boot.SpringApplication.run(SpringApplication.java:1187) ~[spring-boot-1.4.7.RELEASE.jar:1.4.7.RELEASE] at org.springframework.boot.SpringApplication.run(SpringApplication.java:1176) ~[spring-boot-1.4.7.RELEASE.jar:1.4.7.RELEASE] at com.orkhonsoft.tengrinshar.user.UserServiceApplication.main(UserServiceApplication.java:20) ~[classes/:?] Caused by: java.lang.IllegalArgumentException: Could not resolve placeholder 'SERVER_PORT' in value " TrackedConditionEvaluator.shouldSkip(ConfigurationClassBeanDefinitionReader.java:427) [springcontext4.3.9.RELEASE.jar:4.3.9.RELEASE]atorg.springframework.context.annotation.ConfigurationClassBeanDefinitionReader.loadBeanDefinitionsForConfigurationClass(ConfigurationClassBeanDefinitionReader.java:127) [springcontext4.3.9.RELEASE.jar:4.3.9.RELEASE]atorg.springframework.context.annotation.ConfigurationClassBeanDefinitionReader.loadBeanDefinitions(ConfigurationClassBeanDefinitionReader.java:116) [springcontext4.3.9.RELEASE.jar:4.3.9.RELEASE]atorg.springframework.context.annotation.ConfigurationClassPostProcessor.processConfigBeanDefinitions(ConfigurationClassPostProcessor.java:320) [springcontext4.3.9.RELEASE.jar:4.3.9.RELEASE]atorg.springframework.context.annotation.ConfigurationClassPostProcessor.postProcessBeanDefinitionRegistry(ConfigurationClassPostProcessor.java:228) [springcontext4.3.9.RELEASE.jar:4.3.9.RELEASE]atorg.springframework.context.support.PostProcessorRegistrationDelegate.invokeBeanDefinitionRegistryPostProcessors(PostProcessorRegistrationDelegate.java:270) [springcontext4.3.9.RELEASE.jar:4.3.9.RELEASE]atorg.springframework.context.support.PostProcessorRegistrationDelegate.invokeBeanFactoryPostProcessors(PostProcessorRegistrationDelegate.java:93) [springcontext4.3.9.RELEASE.jar:4.3.9.RELEASE]atorg.springframework.context.support.AbstractApplicationContext.invokeBeanFactoryPostProcessors(AbstractApplicationContext.java:687) [springcontext4.3.9.RELEASE.jar:4.3.9.RELEASE]atorg.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:525) [springcontext4.3.9.RELEASE.jar:4.3.9.RELEASE]atorg.springframework.boot.context.embedded.EmbeddedWebApplicationContext.refresh(EmbeddedWebApplicationContext.java:122) [springboot1.4.7.RELEASE.jar:1.4.7.RELEASE]atorg.springframework.boot.SpringApplication.refresh(SpringApplication.java:762) [springboot1.4.7.RELEASE.jar:1.4.7.RELEASE]atorg.springframework.boot.SpringApplication.refreshContext(SpringApplication.java:372) [springboot1.4.7.RELEASE.jar:1.4.7.RELEASE]atorg.springframework.boot.SpringApplication.run(SpringApplication.java:316) [springboot1.4.7.RELEASE.jar:1.4.7.RELEASE]atorg.springframework.boot.SpringApplication.run(SpringApplication.java:1187) [springboot1.4.7.RELEASE.jar:1.4.7.RELEASE]atorg.springframework.boot.SpringApplication.run(SpringApplication.java:1176) [springboot1.4.7.RELEASE.jar:1.4.7.RELEASE]atcom.orkhonsoft.tengrinshar.user.UserServiceApplication.main(UserServiceApplication.java:20) [classes/:?]Causedby:java.lang.IllegalArgumentException:CouldnotresolveplaceholderSERVERPORTinvalue"{SERVER_PORT}"
at org.springframework.util.PropertyPlaceholderHelper.parseStringValue(PropertyPlaceholderHelper.java:174) ~[spring-core-4.3.9.RELEASE.jar:4.3.9.RELEASE]
at org.springframework.util.PropertyPlaceholderHelper.replacePlaceholders(PropertyPlaceholderHelper.java:126) ~[spring-core-4.3.9.RELEASE.jar:4.3.9.RELEASE]
at org.springframework.core.env.AbstractPropertyResolver.doResolvePlaceholders(AbstractPropertyResolver.java:236) ~[spring-core-4.3.9.RELEASE.jar:4.3.9.RELEASE]
at org.springframework.core.env.AbstractPropertyResolver.resolveRequiredPlaceholders(AbstractPropertyResolver.java:210) ~[spring-core-4.3.9.RELEASE.jar:4.3.9.RELEASE]
at org.springframework.core.env.AbstractPropertyResolver.resolveNestedPlaceholders(AbstractPropertyResolver.java:227) ~[spring-core-4.3.9.RELEASE.jar:4.3.9.RELEASE]
at org.springframework.core.env.PropertySourcesPropertyResolver.getProperty(PropertySourcesPropertyResolver.java:83) ~[spring-core-4.3.9.RELEASE.jar:4.3.9.RELEASE]
at org.springframework.core.env.PropertySourcesPropertyResolver.getProperty(PropertySourcesPropertyResolver.java:66) ~[spring-core-4.3.9.RELEASE.jar:4.3.9.RELEASE]
at org.springframework.core.env.AbstractEnvironment.getProperty(AbstractEnvironment.java:540) ~[spring-core-4.3.9.RELEASE.jar:4.3.9.RELEASE]
at org.springframework.boot.bind.RelaxedPropertyResolver.getProperty(RelaxedPropertyResolver.java:84) ~[spring-boot-1.4.7.RELEASE.jar:1.4.7.RELEASE]
at org.springframework.boot.bind.RelaxedPropertyResolver.getProperty(RelaxedPropertyResolver.java:74) ~[spring-boot-1.4.7.RELEASE.jar:1.4.7.RELEASE]
at org.springframework.boot.actuate.autoconfigure.EndpointWebMvcAutoConfiguration M a n a g e m e n t S e r v e r P o r t . g e t P o r t P r o p e r t y ( E n d p o i n t W e b M v c A u t o C o n f i g u r a t i o n . j a v a : 409 )   [ s p r i n g − b o o t − a c t u a t o r − 1.4.7. R E L E A S E . j a r : 1.4.7. R E L E A S E ] a t o r g . s p r i n g f r a m e w o r k . b o o t . a c t u a t e . a u t o c o n f i g u r e . E n d p o i n t W e b M v c A u t o C o n f i g u r a t i o n ManagementServerPort.getPortProperty(EndpointWebMvcAutoConfiguration.java:409) ~[spring-boot-actuator-1.4.7.RELEASE.jar:1.4.7.RELEASE] at org.springframework.boot.actuate.autoconfigure.EndpointWebMvcAutoConfiguration ManagementServerPort.getPortProperty(EndpointWebMvcAutoConfiguration.java:409) [springbootactuator1.4.7.RELEASE.jar:1.4.7.RELEASE]atorg.springframework.boot.actuate.autoconfigure.EndpointWebMvcAutoConfigurationManagementServerPort.get(EndpointWebMvcAutoConfiguration.java:361) ~[spring-boot-actuator-1.4.7.RELEASE.jar:1.4.7.RELEASE]
at org.springframework.boot.actuate.autoconfigure.EndpointWebMvcAutoConfiguration$OnManagementMvcCondition.getMatchOutcome(EndpointWebMvcAutoConfiguration.java:345) ~[spring-boot-actuator-1.4.7.RELEASE.jar:1.4.7.RELEASE]
at org.springframework.boot.autoconfigure.condition.SpringBootCondition.matches(SpringBootCondition.java:47) ~[spring-boot-autoconfigure-1.4.7.RELEASE.jar:1.4.7.RELEASE]
… 18 more
2020-08-04 10:41:45.442 [main] INFO [org.springframework.boot.context.embedded.AnnotationConfigEmbeddedWebApplicationContext:984] - Closing org.springframework.boot.context.embedded.AnnotationConfigEmbeddedWebApplicationContext@4cc36c19: startup date [Tue Aug 04 10:41:43 CST 2020]; parent: org.springframework.context.annotation.AnnotationConfigApplicationContext@736ac09a
2020-08-04 10:41:45.443 [main] WARN [org.springframework.boot.context.embedded.AnnotationConfigEmbeddedWebApplicationContext:1002] - Exception thrown from LifecycleProcessor on context close
java.lang.IllegalStateException: LifecycleProcessor not initialized - call ‘refresh’ before invoking lifecycle methods via the context: org.springframework.boot.context.embedded.AnnotationConfigEmbeddedWebApplicationContext@4cc36c19: startup date [Tue Aug 04 10:41:43 CST 2020]; parent: org.springframework.context.annotation.AnnotationConfigApplicationContext@736ac09a
at org.springframework.context.support.AbstractApplicationContext.getLifecycleProcessor(AbstractApplicationContext.java:427) ~[spring-context-4.3.9.RELEASE.jar:4.3.9.RELEASE]
at org.springframework.context.support.AbstractApplicationContext.doClose(AbstractApplicationContext.java:999) ~[spring-context-4.3.9.RELEASE.jar:4.3.9.RELEASE]
at org.springframework.context.support.AbstractApplicationContext.close(AbstractApplicationContext.java:958) ~[spring-context-4.3.9.RELEASE.jar:4.3.9.RELEASE]
at org.springframework.boot.SpringApplication.handleRunFailure(SpringApplication.java:819) ~[spring-boot-1.4.7.RELEASE.jar:1.4.7.RELEASE]
at org.springframework.boot.SpringApplication.run(SpringApplication.java:327) ~[spring-boot-1.4.7.RELEASE.jar:1.4.7.RELEASE]
at org.springframework.boot.SpringApplication.run(SpringApplication.java:1187) ~[spring-boot-1.4.7.RELEASE.jar:1.4.7.RELEASE]
at org.springframework.boot.SpringApplication.run(SpringApplication.java:1176) ~[spring-boot-1.4.7.RELEASE.jar:1.4.7.RELEASE]
at com.orkhonsoft.tengrinshar.user.UserServiceApplication.main(UserServiceApplication.java:20) ~[classes/:?]
2020-08-04 10:41:45.443 [main] ERROR [org.springframework.beans.factory.support.DefaultListableBeanFactory:581] - Destroy method on bean with name ‘org.springframework.boot.autoconfigure.internalCachingMetadataReaderFactory’ threw an exception
java.lang.IllegalStateException: ApplicationEventMulticaster not initialized - call ‘refresh’ before multicasting events via the context: org.springframework.boot.context.embedded.AnnotationConfigEmbeddedWebApplicationContext@4cc36c19: startup date [Tue Aug 04 10:41:43 CST 2020]; parent: org.springframework.context.annotation.AnnotationConfigApplicationContext@736ac09a
at org.springframework.context.support.AbstractApplicationContext.getApplicationEventMulticaster(AbstractApplicationContext.java:414) ~[spring-context-4.3.9.RELEASE.jar:4.3.9.RELEASE]
at org.springframework.context.support.ApplicationListenerDetector.postProcessBeforeDestruction(ApplicationListenerDetector.java:97) ~[spring-context-4.3.9.RELEASE.jar:4.3.9.RELEASE]
at org.springframework.beans.factory.support.DisposableBeanAdapter.destroy(DisposableBeanAdapter.java:253) ~[spring-beans-4.3.9.RELEASE.jar:4.3.9.RELEASE]
at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.destroyBean(DefaultSingletonBeanRegistry.java:578) ~[spring-beans-4.3.9.RELEASE.jar:4.3.9.RELEASE]
at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.destroySingleton(DefaultSingletonBeanRegistry.java:554) ~[spring-beans-4.3.9.RELEASE.jar:4.3.9.RELEASE]
at org.springframework.beans.factory.support.DefaultListableBeanFactory.destroySingleton(DefaultListableBeanFactory.java:961) ~[spring-beans-4.3.9.RELEASE.jar:4.3.9.RELEASE]
at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.destroySingletons(DefaultSingletonBeanRegistry.java:523) ~[spring-beans-4.3.9.RELEASE.jar:4.3.9.RELEASE]
at org.springframework.beans.factory.support.DefaultListableBeanFactory.destroySingletons(DefaultListableBeanFactory.java:968) ~[spring-beans-4.3.9.RELEASE.jar:4.3.9.RELEASE]
at org.springframework.context.support.AbstractApplicationContext.destroyBeans(AbstractApplicationContext.java:1030) ~[spring-context-4.3.9.RELEASE.jar:4.3.9.RELEASE]
at org.springframework.context.support.AbstractApplicationContext.doClose(AbstractApplicationContext.java:1006) ~[spring-context-4.3.9.RELEASE.jar:4.3.9.RELEASE]
at org.springframework.context.support.AbstractApplicationContext.close(AbstractApplicationContext.java:958) ~[spring-context-4.3.9.RELEASE.jar:4.3.9.RELEASE]
at org.springframework.boot.SpringApplication.handleRunFailure(SpringApplication.java:819) ~[spring-boot-1.4.7.RELEASE.jar:1.4.7.RELEASE]
at org.springframework.boot.SpringApplication.run(SpringApplication.java:327) ~[spring-boot-1.4.7.RELEASE.jar:1.4.7.RELEASE]
at org.springframework.boot.SpringApplication.run(SpringApplication.java:1187) ~[spring-boot-1.4.7.RELEASE.jar:1.4.7.RELEASE]
at org.springframework.boot.SpringApplication.run(SpringApplication.java:1176) ~[spring-boot-1.4.7.RELEASE.jar:1.4.7.RELEASE]
at com.orkhonsoft.tengrinshar.user.UserServiceApplication.main(UserServiceApplication.java:20) ~[classes/:?]

网上找了好久都没解决,让同事看了一下,原来是配置文件里的active指向的文件不存在,把他改成存在的文件名就可以了,记录一下

本文标签: 报错langIllegalStateExceptionSpringBootJava