123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837 |
- 2023-06-17 13:08:08.291 INFO 15820 --- [main] c.x.s.SpringbootFunctionApplication : Starting SpringbootFunctionApplication on DESKTOP-46UE442 with PID 15820 (E:\java\YaoXiangMu\springboot-parent\springboot-function\target\classes started by admin in E:\java\YaoXiangMu\springboot-parent)
- 2023-06-17 13:08:08.294 INFO 15820 --- [main] c.x.s.SpringbootFunctionApplication : No active profile set, falling back to default profiles: default
- 2023-06-17 13:08:08.606 ERROR 15820 --- [main] o.s.boot.SpringApplication : Application run failed
- java.lang.IllegalStateException: Error processing condition on com.baomidou.dynamic.datasource.spring.boot.autoconfigure.DynamicDataSourceAutoConfiguration.dynamicDataSourceCreator
- at org.springframework.boot.autoconfigure.condition.SpringBootCondition.matches(SpringBootCondition.java:59)
- at org.springframework.context.annotation.ConditionEvaluator.shouldSkip(ConditionEvaluator.java:108)
- at org.springframework.context.annotation.ConfigurationClassBeanDefinitionReader.loadBeanDefinitionsForBeanMethod(ConfigurationClassBeanDefinitionReader.java:181)
- at org.springframework.context.annotation.ConfigurationClassBeanDefinitionReader.loadBeanDefinitionsForConfigurationClass(ConfigurationClassBeanDefinitionReader.java:141)
- at org.springframework.context.annotation.ConfigurationClassBeanDefinitionReader.loadBeanDefinitions(ConfigurationClassBeanDefinitionReader.java:117)
- at org.springframework.context.annotation.ConfigurationClassPostProcessor.processConfigBeanDefinitions(ConfigurationClassPostProcessor.java:327)
- at org.springframework.context.annotation.ConfigurationClassPostProcessor.postProcessBeanDefinitionRegistry(ConfigurationClassPostProcessor.java:232)
- at org.springframework.context.support.PostProcessorRegistrationDelegate.invokeBeanDefinitionRegistryPostProcessors(PostProcessorRegistrationDelegate.java:275)
- at org.springframework.context.support.PostProcessorRegistrationDelegate.invokeBeanFactoryPostProcessors(PostProcessorRegistrationDelegate.java:95)
- at org.springframework.context.support.AbstractApplicationContext.invokeBeanFactoryPostProcessors(AbstractApplicationContext.java:705)
- at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:531)
- at org.springframework.boot.SpringApplication.refresh(SpringApplication.java:742)
- at org.springframework.boot.SpringApplication.refreshContext(SpringApplication.java:389)
- at org.springframework.boot.SpringApplication.run(SpringApplication.java:311)
- at org.springframework.boot.SpringApplication.run(SpringApplication.java:1213)
- at org.springframework.boot.SpringApplication.run(SpringApplication.java:1202)
- at com.xmnk.springbootfunction.SpringbootFunctionApplication.main(SpringbootFunctionApplication.java:10)
- Caused by: java.lang.IllegalStateException: Failed to introspect Class [com.baomidou.dynamic.datasource.spring.boot.autoconfigure.DynamicDataSourceAutoConfiguration] from ClassLoader [sun.misc.Launcher$AppClassLoader@18b4aac2]
- at org.springframework.util.ReflectionUtils.getDeclaredMethods(ReflectionUtils.java:507)
- at org.springframework.util.ReflectionUtils.doWithMethods(ReflectionUtils.java:404)
- at org.springframework.util.ReflectionUtils.doWithMethods(ReflectionUtils.java:389)
- at org.springframework.util.ReflectionUtils.getUniqueDeclaredMethods(ReflectionUtils.java:447)
- at java.util.concurrent.ConcurrentHashMap.computeIfAbsent(ConcurrentHashMap.java:1660)
- at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.getTypeForFactoryMethod(AbstractAutowireCapableBeanFactory.java:738)
- at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.determineTargetType(AbstractAutowireCapableBeanFactory.java:679)
- at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.predictBeanType(AbstractAutowireCapableBeanFactory.java:647)
- at org.springframework.beans.factory.support.AbstractBeanFactory.isFactoryBean(AbstractBeanFactory.java:1518)
- at org.springframework.beans.factory.support.AbstractBeanFactory.isFactoryBean(AbstractBeanFactory.java:1023)
- at org.springframework.boot.autoconfigure.condition.BeanTypeRegistry.addBeanTypeForNonAliasDefinition(BeanTypeRegistry.java:190)
- at org.springframework.boot.autoconfigure.condition.BeanTypeRegistry.addBeanTypeForNonAliasDefinition(BeanTypeRegistry.java:157)
- at org.springframework.boot.autoconfigure.condition.BeanTypeRegistry.addBeanType(BeanTypeRegistry.java:150)
- at org.springframework.boot.autoconfigure.condition.BeanTypeRegistry.updateTypesIfNecessary(BeanTypeRegistry.java:138)
- at java.util.Iterator.forEachRemaining(Iterator.java:116)
- at org.springframework.boot.autoconfigure.condition.BeanTypeRegistry.updateTypesIfNecessary(BeanTypeRegistry.java:133)
- at org.springframework.boot.autoconfigure.condition.BeanTypeRegistry.getNamesForType(BeanTypeRegistry.java:97)
- at org.springframework.boot.autoconfigure.condition.OnBeanCondition.collectBeanNamesForType(OnBeanCondition.java:268)
- at org.springframework.boot.autoconfigure.condition.OnBeanCondition.getBeanNamesForType(OnBeanCondition.java:261)
- at org.springframework.boot.autoconfigure.condition.OnBeanCondition.getBeanNamesForType(OnBeanCondition.java:250)
- at org.springframework.boot.autoconfigure.condition.OnBeanCondition.getMatchingBeans(OnBeanCondition.java:170)
- at org.springframework.boot.autoconfigure.condition.OnBeanCondition.getMatchOutcome(OnBeanCondition.java:145)
- at org.springframework.boot.autoconfigure.condition.SpringBootCondition.matches(SpringBootCondition.java:46)
- ... 16 common frames omitted
- Caused by: java.lang.NoClassDefFoundError: org/springframework/web/context/WebApplicationContext
- at java.lang.Class.getDeclaredMethods0(Native Method)
- at java.lang.Class.privateGetDeclaredMethods(Class.java:2701)
- at java.lang.Class.getDeclaredMethods(Class.java:1975)
- at org.springframework.util.ReflectionUtils.getDeclaredMethods(ReflectionUtils.java:489)
- ... 38 common frames omitted
- Caused by: java.lang.ClassNotFoundException: org.springframework.web.context.WebApplicationContext
- at java.net.URLClassLoader.findClass(URLClassLoader.java:381)
- at java.lang.ClassLoader.loadClass(ClassLoader.java:424)
- at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:335)
- at java.lang.ClassLoader.loadClass(ClassLoader.java:357)
- ... 42 common frames omitted
- 2023-06-17 13:08:08.609 WARN 15820 --- [main] o.s.boot.SpringApplication : Unable to close ApplicationContext
- java.lang.IllegalStateException: Failed to introspect Class [com.baomidou.dynamic.datasource.spring.boot.autoconfigure.DynamicDataSourceAutoConfiguration] from ClassLoader [sun.misc.Launcher$AppClassLoader@18b4aac2]
- at org.springframework.util.ReflectionUtils.getDeclaredMethods(ReflectionUtils.java:507)
- at org.springframework.util.ReflectionUtils.doWithMethods(ReflectionUtils.java:404)
- at org.springframework.util.ReflectionUtils.doWithMethods(ReflectionUtils.java:389)
- at org.springframework.util.ReflectionUtils.getUniqueDeclaredMethods(ReflectionUtils.java:447)
- at java.util.concurrent.ConcurrentHashMap.computeIfAbsent(ConcurrentHashMap.java:1660)
- at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.getTypeForFactoryMethod(AbstractAutowireCapableBeanFactory.java:738)
- at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.determineTargetType(AbstractAutowireCapableBeanFactory.java:679)
- at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.predictBeanType(AbstractAutowireCapableBeanFactory.java:647)
- at org.springframework.beans.factory.support.AbstractBeanFactory.isFactoryBean(AbstractBeanFactory.java:1518)
- at org.springframework.beans.factory.support.DefaultListableBeanFactory.doGetBeanNamesForType(DefaultListableBeanFactory.java:511)
- at org.springframework.beans.factory.support.DefaultListableBeanFactory.getBeanNamesForType(DefaultListableBeanFactory.java:481)
- at org.springframework.beans.factory.support.DefaultListableBeanFactory.getBeansOfType(DefaultListableBeanFactory.java:602)
- at org.springframework.beans.factory.support.DefaultListableBeanFactory.getBeansOfType(DefaultListableBeanFactory.java:594)
- at org.springframework.context.support.AbstractApplicationContext.getBeansOfType(AbstractApplicationContext.java:1226)
- at org.springframework.boot.SpringApplication.getExitCodeFromMappedException(SpringApplication.java:864)
- at org.springframework.boot.SpringApplication.getExitCodeFromException(SpringApplication.java:852)
- at org.springframework.boot.SpringApplication.handleExitCode(SpringApplication.java:839)
- at org.springframework.boot.SpringApplication.handleRunFailure(SpringApplication.java:790)
- at org.springframework.boot.SpringApplication.run(SpringApplication.java:321)
- at org.springframework.boot.SpringApplication.run(SpringApplication.java:1213)
- at org.springframework.boot.SpringApplication.run(SpringApplication.java:1202)
- at com.xmnk.springbootfunction.SpringbootFunctionApplication.main(SpringbootFunctionApplication.java:10)
- Caused by: java.lang.NoClassDefFoundError: org/springframework/web/context/WebApplicationContext
- at java.lang.Class.getDeclaredMethods0(Native Method)
- at java.lang.Class.privateGetDeclaredMethods(Class.java:2701)
- at java.lang.Class.getDeclaredMethods(Class.java:1975)
- at org.springframework.util.ReflectionUtils.getDeclaredMethods(ReflectionUtils.java:489)
- ... 21 common frames omitted
- Caused by: java.lang.ClassNotFoundException: org.springframework.web.context.WebApplicationContext
- at java.net.URLClassLoader.findClass(URLClassLoader.java:381)
- at java.lang.ClassLoader.loadClass(ClassLoader.java:424)
- at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:335)
- at java.lang.ClassLoader.loadClass(ClassLoader.java:357)
- ... 25 common frames omitted
- 2023-06-17 13:09:57.514 INFO 9588 --- [main] c.x.s.SpringbootFunctionApplication : Starting SpringbootFunctionApplication on DESKTOP-46UE442 with PID 9588 (E:\java\YaoXiangMu\springboot-parent\springboot-function\target\classes started by admin in E:\java\YaoXiangMu\springboot-parent)
- 2023-06-17 13:09:57.517 INFO 9588 --- [main] c.x.s.SpringbootFunctionApplication : No active profile set, falling back to default profiles: default
- 2023-06-17 13:09:57.835 ERROR 9588 --- [main] o.s.boot.SpringApplication : Application run failed
- java.lang.IllegalStateException: Error processing condition on com.baomidou.dynamic.datasource.spring.boot.autoconfigure.DynamicDataSourceAutoConfiguration.dynamicDataSourceCreator
- at org.springframework.boot.autoconfigure.condition.SpringBootCondition.matches(SpringBootCondition.java:59)
- at org.springframework.context.annotation.ConditionEvaluator.shouldSkip(ConditionEvaluator.java:108)
- at org.springframework.context.annotation.ConfigurationClassBeanDefinitionReader.loadBeanDefinitionsForBeanMethod(ConfigurationClassBeanDefinitionReader.java:181)
- at org.springframework.context.annotation.ConfigurationClassBeanDefinitionReader.loadBeanDefinitionsForConfigurationClass(ConfigurationClassBeanDefinitionReader.java:141)
- at org.springframework.context.annotation.ConfigurationClassBeanDefinitionReader.loadBeanDefinitions(ConfigurationClassBeanDefinitionReader.java:117)
- at org.springframework.context.annotation.ConfigurationClassPostProcessor.processConfigBeanDefinitions(ConfigurationClassPostProcessor.java:327)
- at org.springframework.context.annotation.ConfigurationClassPostProcessor.postProcessBeanDefinitionRegistry(ConfigurationClassPostProcessor.java:232)
- at org.springframework.context.support.PostProcessorRegistrationDelegate.invokeBeanDefinitionRegistryPostProcessors(PostProcessorRegistrationDelegate.java:275)
- at org.springframework.context.support.PostProcessorRegistrationDelegate.invokeBeanFactoryPostProcessors(PostProcessorRegistrationDelegate.java:95)
- at org.springframework.context.support.AbstractApplicationContext.invokeBeanFactoryPostProcessors(AbstractApplicationContext.java:705)
- at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:531)
- at org.springframework.boot.SpringApplication.refresh(SpringApplication.java:742)
- at org.springframework.boot.SpringApplication.refreshContext(SpringApplication.java:389)
- at org.springframework.boot.SpringApplication.run(SpringApplication.java:311)
- at org.springframework.boot.SpringApplication.run(SpringApplication.java:1213)
- at org.springframework.boot.SpringApplication.run(SpringApplication.java:1202)
- at com.xmnk.springbootfunction.SpringbootFunctionApplication.main(SpringbootFunctionApplication.java:10)
- Caused by: java.lang.IllegalStateException: Failed to introspect Class [com.baomidou.dynamic.datasource.spring.boot.autoconfigure.DynamicDataSourceAutoConfiguration] from ClassLoader [sun.misc.Launcher$AppClassLoader@18b4aac2]
- at org.springframework.util.ReflectionUtils.getDeclaredMethods(ReflectionUtils.java:507)
- at org.springframework.util.ReflectionUtils.doWithMethods(ReflectionUtils.java:404)
- at org.springframework.util.ReflectionUtils.doWithMethods(ReflectionUtils.java:389)
- at org.springframework.util.ReflectionUtils.getUniqueDeclaredMethods(ReflectionUtils.java:447)
- at java.util.concurrent.ConcurrentHashMap.computeIfAbsent(ConcurrentHashMap.java:1660)
- at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.getTypeForFactoryMethod(AbstractAutowireCapableBeanFactory.java:738)
- at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.determineTargetType(AbstractAutowireCapableBeanFactory.java:679)
- at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.predictBeanType(AbstractAutowireCapableBeanFactory.java:647)
- at org.springframework.beans.factory.support.AbstractBeanFactory.isFactoryBean(AbstractBeanFactory.java:1518)
- at org.springframework.beans.factory.support.AbstractBeanFactory.isFactoryBean(AbstractBeanFactory.java:1023)
- at org.springframework.boot.autoconfigure.condition.BeanTypeRegistry.addBeanTypeForNonAliasDefinition(BeanTypeRegistry.java:190)
- at org.springframework.boot.autoconfigure.condition.BeanTypeRegistry.addBeanTypeForNonAliasDefinition(BeanTypeRegistry.java:157)
- at org.springframework.boot.autoconfigure.condition.BeanTypeRegistry.addBeanType(BeanTypeRegistry.java:150)
- at org.springframework.boot.autoconfigure.condition.BeanTypeRegistry.updateTypesIfNecessary(BeanTypeRegistry.java:138)
- at java.util.Iterator.forEachRemaining(Iterator.java:116)
- at org.springframework.boot.autoconfigure.condition.BeanTypeRegistry.updateTypesIfNecessary(BeanTypeRegistry.java:133)
- at org.springframework.boot.autoconfigure.condition.BeanTypeRegistry.getNamesForType(BeanTypeRegistry.java:97)
- at org.springframework.boot.autoconfigure.condition.OnBeanCondition.collectBeanNamesForType(OnBeanCondition.java:268)
- at org.springframework.boot.autoconfigure.condition.OnBeanCondition.getBeanNamesForType(OnBeanCondition.java:261)
- at org.springframework.boot.autoconfigure.condition.OnBeanCondition.getBeanNamesForType(OnBeanCondition.java:250)
- at org.springframework.boot.autoconfigure.condition.OnBeanCondition.getMatchingBeans(OnBeanCondition.java:170)
- at org.springframework.boot.autoconfigure.condition.OnBeanCondition.getMatchOutcome(OnBeanCondition.java:145)
- at org.springframework.boot.autoconfigure.condition.SpringBootCondition.matches(SpringBootCondition.java:46)
- ... 16 common frames omitted
- Caused by: java.lang.NoClassDefFoundError: org/springframework/web/context/WebApplicationContext
- at java.lang.Class.getDeclaredMethods0(Native Method)
- at java.lang.Class.privateGetDeclaredMethods(Class.java:2701)
- at java.lang.Class.getDeclaredMethods(Class.java:1975)
- at org.springframework.util.ReflectionUtils.getDeclaredMethods(ReflectionUtils.java:489)
- ... 38 common frames omitted
- Caused by: java.lang.ClassNotFoundException: org.springframework.web.context.WebApplicationContext
- at java.net.URLClassLoader.findClass(URLClassLoader.java:381)
- at java.lang.ClassLoader.loadClass(ClassLoader.java:424)
- at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:335)
- at java.lang.ClassLoader.loadClass(ClassLoader.java:357)
- ... 42 common frames omitted
- 2023-06-17 13:09:57.838 WARN 9588 --- [main] o.s.boot.SpringApplication : Unable to close ApplicationContext
- java.lang.IllegalStateException: Failed to introspect Class [com.baomidou.dynamic.datasource.spring.boot.autoconfigure.DynamicDataSourceAutoConfiguration] from ClassLoader [sun.misc.Launcher$AppClassLoader@18b4aac2]
- at org.springframework.util.ReflectionUtils.getDeclaredMethods(ReflectionUtils.java:507)
- at org.springframework.util.ReflectionUtils.doWithMethods(ReflectionUtils.java:404)
- at org.springframework.util.ReflectionUtils.doWithMethods(ReflectionUtils.java:389)
- at org.springframework.util.ReflectionUtils.getUniqueDeclaredMethods(ReflectionUtils.java:447)
- at java.util.concurrent.ConcurrentHashMap.computeIfAbsent(ConcurrentHashMap.java:1660)
- at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.getTypeForFactoryMethod(AbstractAutowireCapableBeanFactory.java:738)
- at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.determineTargetType(AbstractAutowireCapableBeanFactory.java:679)
- at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.predictBeanType(AbstractAutowireCapableBeanFactory.java:647)
- at org.springframework.beans.factory.support.AbstractBeanFactory.isFactoryBean(AbstractBeanFactory.java:1518)
- at org.springframework.beans.factory.support.DefaultListableBeanFactory.doGetBeanNamesForType(DefaultListableBeanFactory.java:511)
- at org.springframework.beans.factory.support.DefaultListableBeanFactory.getBeanNamesForType(DefaultListableBeanFactory.java:481)
- at org.springframework.beans.factory.support.DefaultListableBeanFactory.getBeansOfType(DefaultListableBeanFactory.java:602)
- at org.springframework.beans.factory.support.DefaultListableBeanFactory.getBeansOfType(DefaultListableBeanFactory.java:594)
- at org.springframework.context.support.AbstractApplicationContext.getBeansOfType(AbstractApplicationContext.java:1226)
- at org.springframework.boot.SpringApplication.getExitCodeFromMappedException(SpringApplication.java:864)
- at org.springframework.boot.SpringApplication.getExitCodeFromException(SpringApplication.java:852)
- at org.springframework.boot.SpringApplication.handleExitCode(SpringApplication.java:839)
- at org.springframework.boot.SpringApplication.handleRunFailure(SpringApplication.java:790)
- at org.springframework.boot.SpringApplication.run(SpringApplication.java:321)
- at org.springframework.boot.SpringApplication.run(SpringApplication.java:1213)
- at org.springframework.boot.SpringApplication.run(SpringApplication.java:1202)
- at com.xmnk.springbootfunction.SpringbootFunctionApplication.main(SpringbootFunctionApplication.java:10)
- Caused by: java.lang.NoClassDefFoundError: org/springframework/web/context/WebApplicationContext
- at java.lang.Class.getDeclaredMethods0(Native Method)
- at java.lang.Class.privateGetDeclaredMethods(Class.java:2701)
- at java.lang.Class.getDeclaredMethods(Class.java:1975)
- at org.springframework.util.ReflectionUtils.getDeclaredMethods(ReflectionUtils.java:489)
- ... 21 common frames omitted
- Caused by: java.lang.ClassNotFoundException: org.springframework.web.context.WebApplicationContext
- at java.net.URLClassLoader.findClass(URLClassLoader.java:381)
- at java.lang.ClassLoader.loadClass(ClassLoader.java:424)
- at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:335)
- at java.lang.ClassLoader.loadClass(ClassLoader.java:357)
- ... 25 common frames omitted
- 2023-06-17 13:13:01.295 INFO 3600 --- [main] c.x.s.SpringbootFunctionApplication : Starting SpringbootFunctionApplication on DESKTOP-46UE442 with PID 3600 (E:\java\YaoXiangMu\springboot-parent\springboot-function\target\classes started by admin in E:\java\YaoXiangMu\springboot-parent)
- 2023-06-17 13:13:01.298 INFO 3600 --- [main] c.x.s.SpringbootFunctionApplication : No active profile set, falling back to default profiles: default
- 2023-06-17 13:13:01.569 ERROR 3600 --- [main] o.s.boot.SpringApplication : Application run failed
- java.lang.IllegalStateException: Error processing condition on com.baomidou.dynamic.datasource.spring.boot.autoconfigure.DynamicDataSourceAutoConfiguration.dynamicDataSourceCreator
- at org.springframework.boot.autoconfigure.condition.SpringBootCondition.matches(SpringBootCondition.java:59)
- at org.springframework.context.annotation.ConditionEvaluator.shouldSkip(ConditionEvaluator.java:108)
- at org.springframework.context.annotation.ConfigurationClassBeanDefinitionReader.loadBeanDefinitionsForBeanMethod(ConfigurationClassBeanDefinitionReader.java:181)
- at org.springframework.context.annotation.ConfigurationClassBeanDefinitionReader.loadBeanDefinitionsForConfigurationClass(ConfigurationClassBeanDefinitionReader.java:141)
- at org.springframework.context.annotation.ConfigurationClassBeanDefinitionReader.loadBeanDefinitions(ConfigurationClassBeanDefinitionReader.java:117)
- at org.springframework.context.annotation.ConfigurationClassPostProcessor.processConfigBeanDefinitions(ConfigurationClassPostProcessor.java:327)
- at org.springframework.context.annotation.ConfigurationClassPostProcessor.postProcessBeanDefinitionRegistry(ConfigurationClassPostProcessor.java:232)
- at org.springframework.context.support.PostProcessorRegistrationDelegate.invokeBeanDefinitionRegistryPostProcessors(PostProcessorRegistrationDelegate.java:275)
- at org.springframework.context.support.PostProcessorRegistrationDelegate.invokeBeanFactoryPostProcessors(PostProcessorRegistrationDelegate.java:95)
- at org.springframework.context.support.AbstractApplicationContext.invokeBeanFactoryPostProcessors(AbstractApplicationContext.java:705)
- at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:531)
- at org.springframework.boot.SpringApplication.refresh(SpringApplication.java:742)
- at org.springframework.boot.SpringApplication.refreshContext(SpringApplication.java:389)
- at org.springframework.boot.SpringApplication.run(SpringApplication.java:311)
- at org.springframework.boot.SpringApplication.run(SpringApplication.java:1213)
- at org.springframework.boot.SpringApplication.run(SpringApplication.java:1202)
- at com.xmnk.springbootfunction.SpringbootFunctionApplication.main(SpringbootFunctionApplication.java:11)
- Caused by: java.lang.IllegalStateException: Failed to introspect Class [com.baomidou.dynamic.datasource.spring.boot.autoconfigure.DynamicDataSourceAutoConfiguration] from ClassLoader [sun.misc.Launcher$AppClassLoader@18b4aac2]
- at org.springframework.util.ReflectionUtils.getDeclaredMethods(ReflectionUtils.java:507)
- at org.springframework.util.ReflectionUtils.doWithMethods(ReflectionUtils.java:404)
- at org.springframework.util.ReflectionUtils.doWithMethods(ReflectionUtils.java:389)
- at org.springframework.util.ReflectionUtils.getUniqueDeclaredMethods(ReflectionUtils.java:447)
- at java.util.concurrent.ConcurrentHashMap.computeIfAbsent(ConcurrentHashMap.java:1660)
- at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.getTypeForFactoryMethod(AbstractAutowireCapableBeanFactory.java:738)
- at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.determineTargetType(AbstractAutowireCapableBeanFactory.java:679)
- at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.predictBeanType(AbstractAutowireCapableBeanFactory.java:647)
- at org.springframework.beans.factory.support.AbstractBeanFactory.isFactoryBean(AbstractBeanFactory.java:1518)
- at org.springframework.beans.factory.support.AbstractBeanFactory.isFactoryBean(AbstractBeanFactory.java:1023)
- at org.springframework.boot.autoconfigure.condition.BeanTypeRegistry.addBeanTypeForNonAliasDefinition(BeanTypeRegistry.java:190)
- at org.springframework.boot.autoconfigure.condition.BeanTypeRegistry.addBeanTypeForNonAliasDefinition(BeanTypeRegistry.java:157)
- at org.springframework.boot.autoconfigure.condition.BeanTypeRegistry.addBeanType(BeanTypeRegistry.java:150)
- at org.springframework.boot.autoconfigure.condition.BeanTypeRegistry.updateTypesIfNecessary(BeanTypeRegistry.java:138)
- at java.util.Iterator.forEachRemaining(Iterator.java:116)
- at org.springframework.boot.autoconfigure.condition.BeanTypeRegistry.updateTypesIfNecessary(BeanTypeRegistry.java:133)
- at org.springframework.boot.autoconfigure.condition.BeanTypeRegistry.getNamesForType(BeanTypeRegistry.java:97)
- at org.springframework.boot.autoconfigure.condition.OnBeanCondition.collectBeanNamesForType(OnBeanCondition.java:268)
- at org.springframework.boot.autoconfigure.condition.OnBeanCondition.getBeanNamesForType(OnBeanCondition.java:261)
- at org.springframework.boot.autoconfigure.condition.OnBeanCondition.getBeanNamesForType(OnBeanCondition.java:250)
- at org.springframework.boot.autoconfigure.condition.OnBeanCondition.getMatchingBeans(OnBeanCondition.java:170)
- at org.springframework.boot.autoconfigure.condition.OnBeanCondition.getMatchOutcome(OnBeanCondition.java:145)
- at org.springframework.boot.autoconfigure.condition.SpringBootCondition.matches(SpringBootCondition.java:46)
- ... 16 common frames omitted
- Caused by: java.lang.NoClassDefFoundError: org/springframework/web/context/WebApplicationContext
- at java.lang.Class.getDeclaredMethods0(Native Method)
- at java.lang.Class.privateGetDeclaredMethods(Class.java:2701)
- at java.lang.Class.getDeclaredMethods(Class.java:1975)
- at org.springframework.util.ReflectionUtils.getDeclaredMethods(ReflectionUtils.java:489)
- ... 38 common frames omitted
- Caused by: java.lang.ClassNotFoundException: org.springframework.web.context.WebApplicationContext
- at java.net.URLClassLoader.findClass(URLClassLoader.java:381)
- at java.lang.ClassLoader.loadClass(ClassLoader.java:424)
- at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:335)
- at java.lang.ClassLoader.loadClass(ClassLoader.java:357)
- ... 42 common frames omitted
- 2023-06-17 13:13:01.572 WARN 3600 --- [main] o.s.boot.SpringApplication : Unable to close ApplicationContext
- java.lang.IllegalStateException: Failed to introspect Class [com.baomidou.dynamic.datasource.spring.boot.autoconfigure.DynamicDataSourceAutoConfiguration] from ClassLoader [sun.misc.Launcher$AppClassLoader@18b4aac2]
- at org.springframework.util.ReflectionUtils.getDeclaredMethods(ReflectionUtils.java:507)
- at org.springframework.util.ReflectionUtils.doWithMethods(ReflectionUtils.java:404)
- at org.springframework.util.ReflectionUtils.doWithMethods(ReflectionUtils.java:389)
- at org.springframework.util.ReflectionUtils.getUniqueDeclaredMethods(ReflectionUtils.java:447)
- at java.util.concurrent.ConcurrentHashMap.computeIfAbsent(ConcurrentHashMap.java:1660)
- at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.getTypeForFactoryMethod(AbstractAutowireCapableBeanFactory.java:738)
- at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.determineTargetType(AbstractAutowireCapableBeanFactory.java:679)
- at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.predictBeanType(AbstractAutowireCapableBeanFactory.java:647)
- at org.springframework.beans.factory.support.AbstractBeanFactory.isFactoryBean(AbstractBeanFactory.java:1518)
- at org.springframework.beans.factory.support.DefaultListableBeanFactory.doGetBeanNamesForType(DefaultListableBeanFactory.java:511)
- at org.springframework.beans.factory.support.DefaultListableBeanFactory.getBeanNamesForType(DefaultListableBeanFactory.java:481)
- at org.springframework.beans.factory.support.DefaultListableBeanFactory.getBeansOfType(DefaultListableBeanFactory.java:602)
- at org.springframework.beans.factory.support.DefaultListableBeanFactory.getBeansOfType(DefaultListableBeanFactory.java:594)
- at org.springframework.context.support.AbstractApplicationContext.getBeansOfType(AbstractApplicationContext.java:1226)
- at org.springframework.boot.SpringApplication.getExitCodeFromMappedException(SpringApplication.java:864)
- at org.springframework.boot.SpringApplication.getExitCodeFromException(SpringApplication.java:852)
- at org.springframework.boot.SpringApplication.handleExitCode(SpringApplication.java:839)
- at org.springframework.boot.SpringApplication.handleRunFailure(SpringApplication.java:790)
- at org.springframework.boot.SpringApplication.run(SpringApplication.java:321)
- at org.springframework.boot.SpringApplication.run(SpringApplication.java:1213)
- at org.springframework.boot.SpringApplication.run(SpringApplication.java:1202)
- at com.xmnk.springbootfunction.SpringbootFunctionApplication.main(SpringbootFunctionApplication.java:11)
- Caused by: java.lang.NoClassDefFoundError: org/springframework/web/context/WebApplicationContext
- at java.lang.Class.getDeclaredMethods0(Native Method)
- at java.lang.Class.privateGetDeclaredMethods(Class.java:2701)
- at java.lang.Class.getDeclaredMethods(Class.java:1975)
- at org.springframework.util.ReflectionUtils.getDeclaredMethods(ReflectionUtils.java:489)
- ... 21 common frames omitted
- Caused by: java.lang.ClassNotFoundException: org.springframework.web.context.WebApplicationContext
- at java.net.URLClassLoader.findClass(URLClassLoader.java:381)
- at java.lang.ClassLoader.loadClass(ClassLoader.java:424)
- at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:335)
- at java.lang.ClassLoader.loadClass(ClassLoader.java:357)
- ... 25 common frames omitted
- 2023-06-17 13:14:18.407 INFO 8108 --- [main] c.x.s.SpringbootFunctionApplication : Starting SpringbootFunctionApplication on DESKTOP-46UE442 with PID 8108 (E:\java\YaoXiangMu\springboot-parent\springboot-function\target\classes started by admin in E:\java\YaoXiangMu\springboot-parent)
- 2023-06-17 13:14:18.411 INFO 8108 --- [main] c.x.s.SpringbootFunctionApplication : No active profile set, falling back to default profiles: default
- 2023-06-17 13:14:18.808 ERROR 8108 --- [main] o.s.boot.SpringApplication : Application run failed
- java.lang.IllegalStateException: Error processing condition on com.baomidou.dynamic.datasource.spring.boot.autoconfigure.DynamicDataSourceAutoConfiguration.dynamicDataSourceCreator
- at org.springframework.boot.autoconfigure.condition.SpringBootCondition.matches(SpringBootCondition.java:59)
- at org.springframework.context.annotation.ConditionEvaluator.shouldSkip(ConditionEvaluator.java:108)
- at org.springframework.context.annotation.ConfigurationClassBeanDefinitionReader.loadBeanDefinitionsForBeanMethod(ConfigurationClassBeanDefinitionReader.java:181)
- at org.springframework.context.annotation.ConfigurationClassBeanDefinitionReader.loadBeanDefinitionsForConfigurationClass(ConfigurationClassBeanDefinitionReader.java:141)
- at org.springframework.context.annotation.ConfigurationClassBeanDefinitionReader.loadBeanDefinitions(ConfigurationClassBeanDefinitionReader.java:117)
- at org.springframework.context.annotation.ConfigurationClassPostProcessor.processConfigBeanDefinitions(ConfigurationClassPostProcessor.java:327)
- at org.springframework.context.annotation.ConfigurationClassPostProcessor.postProcessBeanDefinitionRegistry(ConfigurationClassPostProcessor.java:232)
- at org.springframework.context.support.PostProcessorRegistrationDelegate.invokeBeanDefinitionRegistryPostProcessors(PostProcessorRegistrationDelegate.java:275)
- at org.springframework.context.support.PostProcessorRegistrationDelegate.invokeBeanFactoryPostProcessors(PostProcessorRegistrationDelegate.java:95)
- at org.springframework.context.support.AbstractApplicationContext.invokeBeanFactoryPostProcessors(AbstractApplicationContext.java:705)
- at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:531)
- at org.springframework.boot.SpringApplication.refresh(SpringApplication.java:742)
- at org.springframework.boot.SpringApplication.refreshContext(SpringApplication.java:389)
- at org.springframework.boot.SpringApplication.run(SpringApplication.java:311)
- at org.springframework.boot.SpringApplication.run(SpringApplication.java:1213)
- at org.springframework.boot.SpringApplication.run(SpringApplication.java:1202)
- at com.xmnk.springbootfunction.SpringbootFunctionApplication.main(SpringbootFunctionApplication.java:14)
- Caused by: java.lang.IllegalStateException: Failed to introspect Class [com.baomidou.dynamic.datasource.spring.boot.autoconfigure.DynamicDataSourceAutoConfiguration] from ClassLoader [sun.misc.Launcher$AppClassLoader@18b4aac2]
- at org.springframework.util.ReflectionUtils.getDeclaredMethods(ReflectionUtils.java:507)
- at org.springframework.util.ReflectionUtils.doWithMethods(ReflectionUtils.java:404)
- at org.springframework.util.ReflectionUtils.doWithMethods(ReflectionUtils.java:389)
- at org.springframework.util.ReflectionUtils.getUniqueDeclaredMethods(ReflectionUtils.java:447)
- at java.util.concurrent.ConcurrentHashMap.computeIfAbsent(ConcurrentHashMap.java:1660)
- at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.getTypeForFactoryMethod(AbstractAutowireCapableBeanFactory.java:738)
- at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.determineTargetType(AbstractAutowireCapableBeanFactory.java:679)
- at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.predictBeanType(AbstractAutowireCapableBeanFactory.java:647)
- at org.springframework.beans.factory.support.AbstractBeanFactory.isFactoryBean(AbstractBeanFactory.java:1518)
- at org.springframework.beans.factory.support.AbstractBeanFactory.isFactoryBean(AbstractBeanFactory.java:1023)
- at org.springframework.boot.autoconfigure.condition.BeanTypeRegistry.addBeanTypeForNonAliasDefinition(BeanTypeRegistry.java:190)
- at org.springframework.boot.autoconfigure.condition.BeanTypeRegistry.addBeanTypeForNonAliasDefinition(BeanTypeRegistry.java:157)
- at org.springframework.boot.autoconfigure.condition.BeanTypeRegistry.addBeanType(BeanTypeRegistry.java:150)
- at org.springframework.boot.autoconfigure.condition.BeanTypeRegistry.updateTypesIfNecessary(BeanTypeRegistry.java:138)
- at java.util.Iterator.forEachRemaining(Iterator.java:116)
- at org.springframework.boot.autoconfigure.condition.BeanTypeRegistry.updateTypesIfNecessary(BeanTypeRegistry.java:133)
- at org.springframework.boot.autoconfigure.condition.BeanTypeRegistry.getNamesForType(BeanTypeRegistry.java:97)
- at org.springframework.boot.autoconfigure.condition.OnBeanCondition.collectBeanNamesForType(OnBeanCondition.java:268)
- at org.springframework.boot.autoconfigure.condition.OnBeanCondition.getBeanNamesForType(OnBeanCondition.java:261)
- at org.springframework.boot.autoconfigure.condition.OnBeanCondition.getBeanNamesForType(OnBeanCondition.java:250)
- at org.springframework.boot.autoconfigure.condition.OnBeanCondition.getMatchingBeans(OnBeanCondition.java:170)
- at org.springframework.boot.autoconfigure.condition.OnBeanCondition.getMatchOutcome(OnBeanCondition.java:145)
- at org.springframework.boot.autoconfigure.condition.SpringBootCondition.matches(SpringBootCondition.java:46)
- ... 16 common frames omitted
- Caused by: java.lang.NoClassDefFoundError: org/springframework/web/context/WebApplicationContext
- at java.lang.Class.getDeclaredMethods0(Native Method)
- at java.lang.Class.privateGetDeclaredMethods(Class.java:2701)
- at java.lang.Class.getDeclaredMethods(Class.java:1975)
- at org.springframework.util.ReflectionUtils.getDeclaredMethods(ReflectionUtils.java:489)
- ... 38 common frames omitted
- Caused by: java.lang.ClassNotFoundException: org.springframework.web.context.WebApplicationContext
- at java.net.URLClassLoader.findClass(URLClassLoader.java:381)
- at java.lang.ClassLoader.loadClass(ClassLoader.java:424)
- at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:335)
- at java.lang.ClassLoader.loadClass(ClassLoader.java:357)
- ... 42 common frames omitted
- 2023-06-17 13:14:18.810 WARN 8108 --- [main] o.s.boot.SpringApplication : Unable to close ApplicationContext
- java.lang.IllegalStateException: Failed to introspect Class [com.baomidou.dynamic.datasource.spring.boot.autoconfigure.DynamicDataSourceAutoConfiguration] from ClassLoader [sun.misc.Launcher$AppClassLoader@18b4aac2]
- at org.springframework.util.ReflectionUtils.getDeclaredMethods(ReflectionUtils.java:507)
- at org.springframework.util.ReflectionUtils.doWithMethods(ReflectionUtils.java:404)
- at org.springframework.util.ReflectionUtils.doWithMethods(ReflectionUtils.java:389)
- at org.springframework.util.ReflectionUtils.getUniqueDeclaredMethods(ReflectionUtils.java:447)
- at java.util.concurrent.ConcurrentHashMap.computeIfAbsent(ConcurrentHashMap.java:1660)
- at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.getTypeForFactoryMethod(AbstractAutowireCapableBeanFactory.java:738)
- at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.determineTargetType(AbstractAutowireCapableBeanFactory.java:679)
- at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.predictBeanType(AbstractAutowireCapableBeanFactory.java:647)
- at org.springframework.beans.factory.support.AbstractBeanFactory.isFactoryBean(AbstractBeanFactory.java:1518)
- at org.springframework.beans.factory.support.DefaultListableBeanFactory.doGetBeanNamesForType(DefaultListableBeanFactory.java:511)
- at org.springframework.beans.factory.support.DefaultListableBeanFactory.getBeanNamesForType(DefaultListableBeanFactory.java:481)
- at org.springframework.beans.factory.support.DefaultListableBeanFactory.getBeansOfType(DefaultListableBeanFactory.java:602)
- at org.springframework.beans.factory.support.DefaultListableBeanFactory.getBeansOfType(DefaultListableBeanFactory.java:594)
- at org.springframework.context.support.AbstractApplicationContext.getBeansOfType(AbstractApplicationContext.java:1226)
- at org.springframework.boot.SpringApplication.getExitCodeFromMappedException(SpringApplication.java:864)
- at org.springframework.boot.SpringApplication.getExitCodeFromException(SpringApplication.java:852)
- at org.springframework.boot.SpringApplication.handleExitCode(SpringApplication.java:839)
- at org.springframework.boot.SpringApplication.handleRunFailure(SpringApplication.java:790)
- at org.springframework.boot.SpringApplication.run(SpringApplication.java:321)
- at org.springframework.boot.SpringApplication.run(SpringApplication.java:1213)
- at org.springframework.boot.SpringApplication.run(SpringApplication.java:1202)
- at com.xmnk.springbootfunction.SpringbootFunctionApplication.main(SpringbootFunctionApplication.java:14)
- Caused by: java.lang.NoClassDefFoundError: org/springframework/web/context/WebApplicationContext
- at java.lang.Class.getDeclaredMethods0(Native Method)
- at java.lang.Class.privateGetDeclaredMethods(Class.java:2701)
- at java.lang.Class.getDeclaredMethods(Class.java:1975)
- at org.springframework.util.ReflectionUtils.getDeclaredMethods(ReflectionUtils.java:489)
- ... 21 common frames omitted
- Caused by: java.lang.ClassNotFoundException: org.springframework.web.context.WebApplicationContext
- at java.net.URLClassLoader.findClass(URLClassLoader.java:381)
- at java.lang.ClassLoader.loadClass(ClassLoader.java:424)
- at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:335)
- at java.lang.ClassLoader.loadClass(ClassLoader.java:357)
- ... 25 common frames omitted
- 2023-06-17 13:17:02.482 INFO 16188 --- [main] c.x.s.SpringbootFunctionApplication : Starting SpringbootFunctionApplication on DESKTOP-46UE442 with PID 16188 (E:\java\YaoXiangMu\springboot-parent\springboot-function\target\classes started by admin in E:\java\YaoXiangMu\springboot-parent)
- 2023-06-17 13:17:02.485 INFO 16188 --- [main] c.x.s.SpringbootFunctionApplication : No active profile set, falling back to default profiles: default
- 2023-06-17 13:17:02.800 ERROR 16188 --- [main] o.s.boot.SpringApplication : Application run failed
- java.lang.IllegalStateException: Error processing condition on com.baomidou.dynamic.datasource.spring.boot.autoconfigure.DynamicDataSourceAutoConfiguration.dynamicDataSourceCreator
- at org.springframework.boot.autoconfigure.condition.SpringBootCondition.matches(SpringBootCondition.java:59)
- at org.springframework.context.annotation.ConditionEvaluator.shouldSkip(ConditionEvaluator.java:108)
- at org.springframework.context.annotation.ConfigurationClassBeanDefinitionReader.loadBeanDefinitionsForBeanMethod(ConfigurationClassBeanDefinitionReader.java:181)
- at org.springframework.context.annotation.ConfigurationClassBeanDefinitionReader.loadBeanDefinitionsForConfigurationClass(ConfigurationClassBeanDefinitionReader.java:141)
- at org.springframework.context.annotation.ConfigurationClassBeanDefinitionReader.loadBeanDefinitions(ConfigurationClassBeanDefinitionReader.java:117)
- at org.springframework.context.annotation.ConfigurationClassPostProcessor.processConfigBeanDefinitions(ConfigurationClassPostProcessor.java:327)
- at org.springframework.context.annotation.ConfigurationClassPostProcessor.postProcessBeanDefinitionRegistry(ConfigurationClassPostProcessor.java:232)
- at org.springframework.context.support.PostProcessorRegistrationDelegate.invokeBeanDefinitionRegistryPostProcessors(PostProcessorRegistrationDelegate.java:275)
- at org.springframework.context.support.PostProcessorRegistrationDelegate.invokeBeanFactoryPostProcessors(PostProcessorRegistrationDelegate.java:95)
- at org.springframework.context.support.AbstractApplicationContext.invokeBeanFactoryPostProcessors(AbstractApplicationContext.java:705)
- at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:531)
- at org.springframework.boot.SpringApplication.refresh(SpringApplication.java:742)
- at org.springframework.boot.SpringApplication.refreshContext(SpringApplication.java:389)
- at org.springframework.boot.SpringApplication.run(SpringApplication.java:311)
- at org.springframework.boot.SpringApplication.run(SpringApplication.java:1213)
- at org.springframework.boot.SpringApplication.run(SpringApplication.java:1202)
- at com.xmnk.springbootfunction.SpringbootFunctionApplication.main(SpringbootFunctionApplication.java:14)
- Caused by: java.lang.IllegalStateException: Failed to introspect Class [com.baomidou.dynamic.datasource.spring.boot.autoconfigure.DynamicDataSourceAutoConfiguration] from ClassLoader [sun.misc.Launcher$AppClassLoader@18b4aac2]
- at org.springframework.util.ReflectionUtils.getDeclaredMethods(ReflectionUtils.java:507)
- at org.springframework.util.ReflectionUtils.doWithMethods(ReflectionUtils.java:404)
- at org.springframework.util.ReflectionUtils.doWithMethods(ReflectionUtils.java:389)
- at org.springframework.util.ReflectionUtils.getUniqueDeclaredMethods(ReflectionUtils.java:447)
- at java.util.concurrent.ConcurrentHashMap.computeIfAbsent(ConcurrentHashMap.java:1660)
- at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.getTypeForFactoryMethod(AbstractAutowireCapableBeanFactory.java:738)
- at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.determineTargetType(AbstractAutowireCapableBeanFactory.java:679)
- at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.predictBeanType(AbstractAutowireCapableBeanFactory.java:647)
- at org.springframework.beans.factory.support.AbstractBeanFactory.isFactoryBean(AbstractBeanFactory.java:1518)
- at org.springframework.beans.factory.support.AbstractBeanFactory.isFactoryBean(AbstractBeanFactory.java:1023)
- at org.springframework.boot.autoconfigure.condition.BeanTypeRegistry.addBeanTypeForNonAliasDefinition(BeanTypeRegistry.java:190)
- at org.springframework.boot.autoconfigure.condition.BeanTypeRegistry.addBeanTypeForNonAliasDefinition(BeanTypeRegistry.java:157)
- at org.springframework.boot.autoconfigure.condition.BeanTypeRegistry.addBeanType(BeanTypeRegistry.java:150)
- at org.springframework.boot.autoconfigure.condition.BeanTypeRegistry.updateTypesIfNecessary(BeanTypeRegistry.java:138)
- at java.util.Iterator.forEachRemaining(Iterator.java:116)
- at org.springframework.boot.autoconfigure.condition.BeanTypeRegistry.updateTypesIfNecessary(BeanTypeRegistry.java:133)
- at org.springframework.boot.autoconfigure.condition.BeanTypeRegistry.getNamesForType(BeanTypeRegistry.java:97)
- at org.springframework.boot.autoconfigure.condition.OnBeanCondition.collectBeanNamesForType(OnBeanCondition.java:268)
- at org.springframework.boot.autoconfigure.condition.OnBeanCondition.getBeanNamesForType(OnBeanCondition.java:261)
- at org.springframework.boot.autoconfigure.condition.OnBeanCondition.getBeanNamesForType(OnBeanCondition.java:250)
- at org.springframework.boot.autoconfigure.condition.OnBeanCondition.getMatchingBeans(OnBeanCondition.java:170)
- at org.springframework.boot.autoconfigure.condition.OnBeanCondition.getMatchOutcome(OnBeanCondition.java:145)
- at org.springframework.boot.autoconfigure.condition.SpringBootCondition.matches(SpringBootCondition.java:46)
- ... 16 common frames omitted
- Caused by: java.lang.NoClassDefFoundError: org/springframework/web/context/WebApplicationContext
- at java.lang.Class.getDeclaredMethods0(Native Method)
- at java.lang.Class.privateGetDeclaredMethods(Class.java:2701)
- at java.lang.Class.getDeclaredMethods(Class.java:1975)
- at org.springframework.util.ReflectionUtils.getDeclaredMethods(ReflectionUtils.java:489)
- ... 38 common frames omitted
- Caused by: java.lang.ClassNotFoundException: org.springframework.web.context.WebApplicationContext
- at java.net.URLClassLoader.findClass(URLClassLoader.java:381)
- at java.lang.ClassLoader.loadClass(ClassLoader.java:424)
- at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:335)
- at java.lang.ClassLoader.loadClass(ClassLoader.java:357)
- ... 42 common frames omitted
- 2023-06-17 13:17:02.802 WARN 16188 --- [main] o.s.boot.SpringApplication : Unable to close ApplicationContext
- java.lang.IllegalStateException: Failed to introspect Class [com.baomidou.dynamic.datasource.spring.boot.autoconfigure.DynamicDataSourceAutoConfiguration] from ClassLoader [sun.misc.Launcher$AppClassLoader@18b4aac2]
- at org.springframework.util.ReflectionUtils.getDeclaredMethods(ReflectionUtils.java:507)
- at org.springframework.util.ReflectionUtils.doWithMethods(ReflectionUtils.java:404)
- at org.springframework.util.ReflectionUtils.doWithMethods(ReflectionUtils.java:389)
- at org.springframework.util.ReflectionUtils.getUniqueDeclaredMethods(ReflectionUtils.java:447)
- at java.util.concurrent.ConcurrentHashMap.computeIfAbsent(ConcurrentHashMap.java:1660)
- at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.getTypeForFactoryMethod(AbstractAutowireCapableBeanFactory.java:738)
- at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.determineTargetType(AbstractAutowireCapableBeanFactory.java:679)
- at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.predictBeanType(AbstractAutowireCapableBeanFactory.java:647)
- at org.springframework.beans.factory.support.AbstractBeanFactory.isFactoryBean(AbstractBeanFactory.java:1518)
- at org.springframework.beans.factory.support.DefaultListableBeanFactory.doGetBeanNamesForType(DefaultListableBeanFactory.java:511)
- at org.springframework.beans.factory.support.DefaultListableBeanFactory.getBeanNamesForType(DefaultListableBeanFactory.java:481)
- at org.springframework.beans.factory.support.DefaultListableBeanFactory.getBeansOfType(DefaultListableBeanFactory.java:602)
- at org.springframework.beans.factory.support.DefaultListableBeanFactory.getBeansOfType(DefaultListableBeanFactory.java:594)
- at org.springframework.context.support.AbstractApplicationContext.getBeansOfType(AbstractApplicationContext.java:1226)
- at org.springframework.boot.SpringApplication.getExitCodeFromMappedException(SpringApplication.java:864)
- at org.springframework.boot.SpringApplication.getExitCodeFromException(SpringApplication.java:852)
- at org.springframework.boot.SpringApplication.handleExitCode(SpringApplication.java:839)
- at org.springframework.boot.SpringApplication.handleRunFailure(SpringApplication.java:790)
- at org.springframework.boot.SpringApplication.run(SpringApplication.java:321)
- at org.springframework.boot.SpringApplication.run(SpringApplication.java:1213)
- at org.springframework.boot.SpringApplication.run(SpringApplication.java:1202)
- at com.xmnk.springbootfunction.SpringbootFunctionApplication.main(SpringbootFunctionApplication.java:14)
- Caused by: java.lang.NoClassDefFoundError: org/springframework/web/context/WebApplicationContext
- at java.lang.Class.getDeclaredMethods0(Native Method)
- at java.lang.Class.privateGetDeclaredMethods(Class.java:2701)
- at java.lang.Class.getDeclaredMethods(Class.java:1975)
- at org.springframework.util.ReflectionUtils.getDeclaredMethods(ReflectionUtils.java:489)
- ... 21 common frames omitted
- Caused by: java.lang.ClassNotFoundException: org.springframework.web.context.WebApplicationContext
- at java.net.URLClassLoader.findClass(URLClassLoader.java:381)
- at java.lang.ClassLoader.loadClass(ClassLoader.java:424)
- at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:335)
- at java.lang.ClassLoader.loadClass(ClassLoader.java:357)
- ... 25 common frames omitted
- 2023-06-17 13:18:27.832 INFO 13604 --- [main] c.x.s.SpringbootFunctionApplication : Starting SpringbootFunctionApplication on DESKTOP-46UE442 with PID 13604 (E:\java\YaoXiangMu\springboot-parent\springboot-function\target\classes started by admin in E:\java\YaoXiangMu\springboot-parent)
- 2023-06-17 13:18:27.836 INFO 13604 --- [main] c.x.s.SpringbootFunctionApplication : No active profile set, falling back to default profiles: default
- 2023-06-17 13:18:28.159 ERROR 13604 --- [main] o.s.boot.SpringApplication : Application run failed
- java.lang.IllegalStateException: Error processing condition on com.baomidou.dynamic.datasource.spring.boot.autoconfigure.DynamicDataSourceAutoConfiguration.dynamicDataSourceCreator
- at org.springframework.boot.autoconfigure.condition.SpringBootCondition.matches(SpringBootCondition.java:59)
- at org.springframework.context.annotation.ConditionEvaluator.shouldSkip(ConditionEvaluator.java:108)
- at org.springframework.context.annotation.ConfigurationClassBeanDefinitionReader.loadBeanDefinitionsForBeanMethod(ConfigurationClassBeanDefinitionReader.java:181)
- at org.springframework.context.annotation.ConfigurationClassBeanDefinitionReader.loadBeanDefinitionsForConfigurationClass(ConfigurationClassBeanDefinitionReader.java:141)
- at org.springframework.context.annotation.ConfigurationClassBeanDefinitionReader.loadBeanDefinitions(ConfigurationClassBeanDefinitionReader.java:117)
- at org.springframework.context.annotation.ConfigurationClassPostProcessor.processConfigBeanDefinitions(ConfigurationClassPostProcessor.java:327)
- at org.springframework.context.annotation.ConfigurationClassPostProcessor.postProcessBeanDefinitionRegistry(ConfigurationClassPostProcessor.java:232)
- at org.springframework.context.support.PostProcessorRegistrationDelegate.invokeBeanDefinitionRegistryPostProcessors(PostProcessorRegistrationDelegate.java:275)
- at org.springframework.context.support.PostProcessorRegistrationDelegate.invokeBeanFactoryPostProcessors(PostProcessorRegistrationDelegate.java:95)
- at org.springframework.context.support.AbstractApplicationContext.invokeBeanFactoryPostProcessors(AbstractApplicationContext.java:705)
- at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:531)
- at org.springframework.boot.SpringApplication.refresh(SpringApplication.java:742)
- at org.springframework.boot.SpringApplication.refreshContext(SpringApplication.java:389)
- at org.springframework.boot.SpringApplication.run(SpringApplication.java:311)
- at org.springframework.boot.SpringApplication.run(SpringApplication.java:1213)
- at org.springframework.boot.SpringApplication.run(SpringApplication.java:1202)
- at com.xmnk.springbootfunction.SpringbootFunctionApplication.main(SpringbootFunctionApplication.java:14)
- Caused by: java.lang.IllegalStateException: Failed to introspect Class [com.baomidou.dynamic.datasource.spring.boot.autoconfigure.DynamicDataSourceAutoConfiguration] from ClassLoader [sun.misc.Launcher$AppClassLoader@18b4aac2]
- at org.springframework.util.ReflectionUtils.getDeclaredMethods(ReflectionUtils.java:507)
- at org.springframework.util.ReflectionUtils.doWithMethods(ReflectionUtils.java:404)
- at org.springframework.util.ReflectionUtils.doWithMethods(ReflectionUtils.java:389)
- at org.springframework.util.ReflectionUtils.getUniqueDeclaredMethods(ReflectionUtils.java:447)
- at java.util.concurrent.ConcurrentHashMap.computeIfAbsent(ConcurrentHashMap.java:1660)
- at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.getTypeForFactoryMethod(AbstractAutowireCapableBeanFactory.java:738)
- at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.determineTargetType(AbstractAutowireCapableBeanFactory.java:679)
- at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.predictBeanType(AbstractAutowireCapableBeanFactory.java:647)
- at org.springframework.beans.factory.support.AbstractBeanFactory.isFactoryBean(AbstractBeanFactory.java:1518)
- at org.springframework.beans.factory.support.AbstractBeanFactory.isFactoryBean(AbstractBeanFactory.java:1023)
- at org.springframework.boot.autoconfigure.condition.BeanTypeRegistry.addBeanTypeForNonAliasDefinition(BeanTypeRegistry.java:190)
- at org.springframework.boot.autoconfigure.condition.BeanTypeRegistry.addBeanTypeForNonAliasDefinition(BeanTypeRegistry.java:157)
- at org.springframework.boot.autoconfigure.condition.BeanTypeRegistry.addBeanType(BeanTypeRegistry.java:150)
- at org.springframework.boot.autoconfigure.condition.BeanTypeRegistry.updateTypesIfNecessary(BeanTypeRegistry.java:138)
- at java.util.Iterator.forEachRemaining(Iterator.java:116)
- at org.springframework.boot.autoconfigure.condition.BeanTypeRegistry.updateTypesIfNecessary(BeanTypeRegistry.java:133)
- at org.springframework.boot.autoconfigure.condition.BeanTypeRegistry.getNamesForType(BeanTypeRegistry.java:97)
- at org.springframework.boot.autoconfigure.condition.OnBeanCondition.collectBeanNamesForType(OnBeanCondition.java:268)
- at org.springframework.boot.autoconfigure.condition.OnBeanCondition.getBeanNamesForType(OnBeanCondition.java:261)
- at org.springframework.boot.autoconfigure.condition.OnBeanCondition.getBeanNamesForType(OnBeanCondition.java:250)
- at org.springframework.boot.autoconfigure.condition.OnBeanCondition.getMatchingBeans(OnBeanCondition.java:170)
- at org.springframework.boot.autoconfigure.condition.OnBeanCondition.getMatchOutcome(OnBeanCondition.java:145)
- at org.springframework.boot.autoconfigure.condition.SpringBootCondition.matches(SpringBootCondition.java:46)
- ... 16 common frames omitted
- Caused by: java.lang.NoClassDefFoundError: org/springframework/web/context/WebApplicationContext
- at java.lang.Class.getDeclaredMethods0(Native Method)
- at java.lang.Class.privateGetDeclaredMethods(Class.java:2701)
- at java.lang.Class.getDeclaredMethods(Class.java:1975)
- at org.springframework.util.ReflectionUtils.getDeclaredMethods(ReflectionUtils.java:489)
- ... 38 common frames omitted
- Caused by: java.lang.ClassNotFoundException: org.springframework.web.context.WebApplicationContext
- at java.net.URLClassLoader.findClass(URLClassLoader.java:381)
- at java.lang.ClassLoader.loadClass(ClassLoader.java:424)
- at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:335)
- at java.lang.ClassLoader.loadClass(ClassLoader.java:357)
- ... 42 common frames omitted
- 2023-06-17 13:18:28.162 WARN 13604 --- [main] o.s.boot.SpringApplication : Unable to close ApplicationContext
- java.lang.IllegalStateException: Failed to introspect Class [com.baomidou.dynamic.datasource.spring.boot.autoconfigure.DynamicDataSourceAutoConfiguration] from ClassLoader [sun.misc.Launcher$AppClassLoader@18b4aac2]
- at org.springframework.util.ReflectionUtils.getDeclaredMethods(ReflectionUtils.java:507)
- at org.springframework.util.ReflectionUtils.doWithMethods(ReflectionUtils.java:404)
- at org.springframework.util.ReflectionUtils.doWithMethods(ReflectionUtils.java:389)
- at org.springframework.util.ReflectionUtils.getUniqueDeclaredMethods(ReflectionUtils.java:447)
- at java.util.concurrent.ConcurrentHashMap.computeIfAbsent(ConcurrentHashMap.java:1660)
- at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.getTypeForFactoryMethod(AbstractAutowireCapableBeanFactory.java:738)
- at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.determineTargetType(AbstractAutowireCapableBeanFactory.java:679)
- at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.predictBeanType(AbstractAutowireCapableBeanFactory.java:647)
- at org.springframework.beans.factory.support.AbstractBeanFactory.isFactoryBean(AbstractBeanFactory.java:1518)
- at org.springframework.beans.factory.support.DefaultListableBeanFactory.doGetBeanNamesForType(DefaultListableBeanFactory.java:511)
- at org.springframework.beans.factory.support.DefaultListableBeanFactory.getBeanNamesForType(DefaultListableBeanFactory.java:481)
- at org.springframework.beans.factory.support.DefaultListableBeanFactory.getBeansOfType(DefaultListableBeanFactory.java:602)
- at org.springframework.beans.factory.support.DefaultListableBeanFactory.getBeansOfType(DefaultListableBeanFactory.java:594)
- at org.springframework.context.support.AbstractApplicationContext.getBeansOfType(AbstractApplicationContext.java:1226)
- at org.springframework.boot.SpringApplication.getExitCodeFromMappedException(SpringApplication.java:864)
- at org.springframework.boot.SpringApplication.getExitCodeFromException(SpringApplication.java:852)
- at org.springframework.boot.SpringApplication.handleExitCode(SpringApplication.java:839)
- at org.springframework.boot.SpringApplication.handleRunFailure(SpringApplication.java:790)
- at org.springframework.boot.SpringApplication.run(SpringApplication.java:321)
- at org.springframework.boot.SpringApplication.run(SpringApplication.java:1213)
- at org.springframework.boot.SpringApplication.run(SpringApplication.java:1202)
- at com.xmnk.springbootfunction.SpringbootFunctionApplication.main(SpringbootFunctionApplication.java:14)
- Caused by: java.lang.NoClassDefFoundError: org/springframework/web/context/WebApplicationContext
- at java.lang.Class.getDeclaredMethods0(Native Method)
- at java.lang.Class.privateGetDeclaredMethods(Class.java:2701)
- at java.lang.Class.getDeclaredMethods(Class.java:1975)
- at org.springframework.util.ReflectionUtils.getDeclaredMethods(ReflectionUtils.java:489)
- ... 21 common frames omitted
- Caused by: java.lang.ClassNotFoundException: org.springframework.web.context.WebApplicationContext
- at java.net.URLClassLoader.findClass(URLClassLoader.java:381)
- at java.lang.ClassLoader.loadClass(ClassLoader.java:424)
- at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:335)
- at java.lang.ClassLoader.loadClass(ClassLoader.java:357)
- ... 25 common frames omitted
- 2023-06-17 13:22:36.855 INFO 5636 --- [main] c.x.s.SpringbootFunctionApplication : Starting SpringbootFunctionApplication on DESKTOP-46UE442 with PID 5636 (E:\java\YaoXiangMu\springboot-parent\springboot-function\target\classes started by admin in E:\java\YaoXiangMu\springboot-parent)
- 2023-06-17 13:22:36.858 INFO 5636 --- [main] c.x.s.SpringbootFunctionApplication : No active profile set, falling back to default profiles: default
- 2023-06-17 13:22:37.204 ERROR 5636 --- [main] o.s.boot.SpringApplication : Application run failed
- java.lang.IllegalStateException: Error processing condition on com.baomidou.dynamic.datasource.spring.boot.autoconfigure.DynamicDataSourceAutoConfiguration.dynamicDataSourceCreator
- at org.springframework.boot.autoconfigure.condition.SpringBootCondition.matches(SpringBootCondition.java:59)
- at org.springframework.context.annotation.ConditionEvaluator.shouldSkip(ConditionEvaluator.java:108)
- at org.springframework.context.annotation.ConfigurationClassBeanDefinitionReader.loadBeanDefinitionsForBeanMethod(ConfigurationClassBeanDefinitionReader.java:181)
- at org.springframework.context.annotation.ConfigurationClassBeanDefinitionReader.loadBeanDefinitionsForConfigurationClass(ConfigurationClassBeanDefinitionReader.java:141)
- at org.springframework.context.annotation.ConfigurationClassBeanDefinitionReader.loadBeanDefinitions(ConfigurationClassBeanDefinitionReader.java:117)
- at org.springframework.context.annotation.ConfigurationClassPostProcessor.processConfigBeanDefinitions(ConfigurationClassPostProcessor.java:327)
- at org.springframework.context.annotation.ConfigurationClassPostProcessor.postProcessBeanDefinitionRegistry(ConfigurationClassPostProcessor.java:232)
- at org.springframework.context.support.PostProcessorRegistrationDelegate.invokeBeanDefinitionRegistryPostProcessors(PostProcessorRegistrationDelegate.java:275)
- at org.springframework.context.support.PostProcessorRegistrationDelegate.invokeBeanFactoryPostProcessors(PostProcessorRegistrationDelegate.java:95)
- at org.springframework.context.support.AbstractApplicationContext.invokeBeanFactoryPostProcessors(AbstractApplicationContext.java:705)
- at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:531)
- at org.springframework.boot.SpringApplication.refresh(SpringApplication.java:742)
- at org.springframework.boot.SpringApplication.refreshContext(SpringApplication.java:389)
- at org.springframework.boot.SpringApplication.run(SpringApplication.java:311)
- at org.springframework.boot.SpringApplication.run(SpringApplication.java:1213)
- at org.springframework.boot.SpringApplication.run(SpringApplication.java:1202)
- at com.xmnk.springbootfunction.SpringbootFunctionApplication.main(SpringbootFunctionApplication.java:14)
- Caused by: java.lang.IllegalStateException: Failed to introspect Class [com.baomidou.dynamic.datasource.spring.boot.autoconfigure.DynamicDataSourceAutoConfiguration] from ClassLoader [sun.misc.Launcher$AppClassLoader@18b4aac2]
- at org.springframework.util.ReflectionUtils.getDeclaredMethods(ReflectionUtils.java:507)
- at org.springframework.util.ReflectionUtils.doWithMethods(ReflectionUtils.java:404)
- at org.springframework.util.ReflectionUtils.doWithMethods(ReflectionUtils.java:389)
- at org.springframework.util.ReflectionUtils.getUniqueDeclaredMethods(ReflectionUtils.java:447)
- at java.util.concurrent.ConcurrentHashMap.computeIfAbsent(ConcurrentHashMap.java:1660)
- at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.getTypeForFactoryMethod(AbstractAutowireCapableBeanFactory.java:738)
- at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.determineTargetType(AbstractAutowireCapableBeanFactory.java:679)
- at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.predictBeanType(AbstractAutowireCapableBeanFactory.java:647)
- at org.springframework.beans.factory.support.AbstractBeanFactory.isFactoryBean(AbstractBeanFactory.java:1518)
- at org.springframework.beans.factory.support.AbstractBeanFactory.isFactoryBean(AbstractBeanFactory.java:1023)
- at org.springframework.boot.autoconfigure.condition.BeanTypeRegistry.addBeanTypeForNonAliasDefinition(BeanTypeRegistry.java:190)
- at org.springframework.boot.autoconfigure.condition.BeanTypeRegistry.addBeanTypeForNonAliasDefinition(BeanTypeRegistry.java:157)
- at org.springframework.boot.autoconfigure.condition.BeanTypeRegistry.addBeanType(BeanTypeRegistry.java:150)
- at org.springframework.boot.autoconfigure.condition.BeanTypeRegistry.updateTypesIfNecessary(BeanTypeRegistry.java:138)
- at java.util.Iterator.forEachRemaining(Iterator.java:116)
- at org.springframework.boot.autoconfigure.condition.BeanTypeRegistry.updateTypesIfNecessary(BeanTypeRegistry.java:133)
- at org.springframework.boot.autoconfigure.condition.BeanTypeRegistry.getNamesForType(BeanTypeRegistry.java:97)
- at org.springframework.boot.autoconfigure.condition.OnBeanCondition.collectBeanNamesForType(OnBeanCondition.java:268)
- at org.springframework.boot.autoconfigure.condition.OnBeanCondition.getBeanNamesForType(OnBeanCondition.java:261)
- at org.springframework.boot.autoconfigure.condition.OnBeanCondition.getBeanNamesForType(OnBeanCondition.java:250)
- at org.springframework.boot.autoconfigure.condition.OnBeanCondition.getMatchingBeans(OnBeanCondition.java:170)
- at org.springframework.boot.autoconfigure.condition.OnBeanCondition.getMatchOutcome(OnBeanCondition.java:145)
- at org.springframework.boot.autoconfigure.condition.SpringBootCondition.matches(SpringBootCondition.java:46)
- ... 16 common frames omitted
- Caused by: java.lang.NoClassDefFoundError: org/springframework/web/context/WebApplicationContext
- at java.lang.Class.getDeclaredMethods0(Native Method)
- at java.lang.Class.privateGetDeclaredMethods(Class.java:2701)
- at java.lang.Class.getDeclaredMethods(Class.java:1975)
- at org.springframework.util.ReflectionUtils.getDeclaredMethods(ReflectionUtils.java:489)
- ... 38 common frames omitted
- Caused by: java.lang.ClassNotFoundException: org.springframework.web.context.WebApplicationContext
- at java.net.URLClassLoader.findClass(URLClassLoader.java:381)
- at java.lang.ClassLoader.loadClass(ClassLoader.java:424)
- at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:335)
- at java.lang.ClassLoader.loadClass(ClassLoader.java:357)
- ... 42 common frames omitted
- 2023-06-17 13:22:37.207 WARN 5636 --- [main] o.s.boot.SpringApplication : Unable to close ApplicationContext
- java.lang.IllegalStateException: Failed to introspect Class [com.baomidou.dynamic.datasource.spring.boot.autoconfigure.DynamicDataSourceAutoConfiguration] from ClassLoader [sun.misc.Launcher$AppClassLoader@18b4aac2]
- at org.springframework.util.ReflectionUtils.getDeclaredMethods(ReflectionUtils.java:507)
- at org.springframework.util.ReflectionUtils.doWithMethods(ReflectionUtils.java:404)
- at org.springframework.util.ReflectionUtils.doWithMethods(ReflectionUtils.java:389)
- at org.springframework.util.ReflectionUtils.getUniqueDeclaredMethods(ReflectionUtils.java:447)
- at java.util.concurrent.ConcurrentHashMap.computeIfAbsent(ConcurrentHashMap.java:1660)
- at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.getTypeForFactoryMethod(AbstractAutowireCapableBeanFactory.java:738)
- at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.determineTargetType(AbstractAutowireCapableBeanFactory.java:679)
- at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.predictBeanType(AbstractAutowireCapableBeanFactory.java:647)
- at org.springframework.beans.factory.support.AbstractBeanFactory.isFactoryBean(AbstractBeanFactory.java:1518)
- at org.springframework.beans.factory.support.DefaultListableBeanFactory.doGetBeanNamesForType(DefaultListableBeanFactory.java:511)
- at org.springframework.beans.factory.support.DefaultListableBeanFactory.getBeanNamesForType(DefaultListableBeanFactory.java:481)
- at org.springframework.beans.factory.support.DefaultListableBeanFactory.getBeansOfType(DefaultListableBeanFactory.java:602)
- at org.springframework.beans.factory.support.DefaultListableBeanFactory.getBeansOfType(DefaultListableBeanFactory.java:594)
- at org.springframework.context.support.AbstractApplicationContext.getBeansOfType(AbstractApplicationContext.java:1226)
- at org.springframework.boot.SpringApplication.getExitCodeFromMappedException(SpringApplication.java:864)
- at org.springframework.boot.SpringApplication.getExitCodeFromException(SpringApplication.java:852)
- at org.springframework.boot.SpringApplication.handleExitCode(SpringApplication.java:839)
- at org.springframework.boot.SpringApplication.handleRunFailure(SpringApplication.java:790)
- at org.springframework.boot.SpringApplication.run(SpringApplication.java:321)
- at org.springframework.boot.SpringApplication.run(SpringApplication.java:1213)
- at org.springframework.boot.SpringApplication.run(SpringApplication.java:1202)
- at com.xmnk.springbootfunction.SpringbootFunctionApplication.main(SpringbootFunctionApplication.java:14)
- Caused by: java.lang.NoClassDefFoundError: org/springframework/web/context/WebApplicationContext
- at java.lang.Class.getDeclaredMethods0(Native Method)
- at java.lang.Class.privateGetDeclaredMethods(Class.java:2701)
- at java.lang.Class.getDeclaredMethods(Class.java:1975)
- at org.springframework.util.ReflectionUtils.getDeclaredMethods(ReflectionUtils.java:489)
- ... 21 common frames omitted
- Caused by: java.lang.ClassNotFoundException: org.springframework.web.context.WebApplicationContext
- at java.net.URLClassLoader.findClass(URLClassLoader.java:381)
- at java.lang.ClassLoader.loadClass(ClassLoader.java:424)
- at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:335)
- at java.lang.ClassLoader.loadClass(ClassLoader.java:357)
- ... 25 common frames omitted
- 2023-06-17 13:29:15.735 INFO 148 --- [main] c.x.s.SpringbootFunctionApplication : Starting SpringbootFunctionApplication on DESKTOP-46UE442 with PID 148 (E:\java\YaoXiangMu\springboot-parent\springboot-function\target\classes started by admin in E:\java\YaoXiangMu\springboot-parent)
- 2023-06-17 13:29:15.738 INFO 148 --- [main] c.x.s.SpringbootFunctionApplication : No active profile set, falling back to default profiles: default
- 2023-06-17 13:29:16.163 ERROR 148 --- [main] o.s.boot.SpringApplication : Application run failed
- java.lang.IllegalStateException: Error processing condition on com.baomidou.dynamic.datasource.spring.boot.autoconfigure.DynamicDataSourceAutoConfiguration.dynamicDataSourceCreator
- at org.springframework.boot.autoconfigure.condition.SpringBootCondition.matches(SpringBootCondition.java:59)
- at org.springframework.context.annotation.ConditionEvaluator.shouldSkip(ConditionEvaluator.java:108)
- at org.springframework.context.annotation.ConfigurationClassBeanDefinitionReader.loadBeanDefinitionsForBeanMethod(ConfigurationClassBeanDefinitionReader.java:181)
- at org.springframework.context.annotation.ConfigurationClassBeanDefinitionReader.loadBeanDefinitionsForConfigurationClass(ConfigurationClassBeanDefinitionReader.java:141)
- at org.springframework.context.annotation.ConfigurationClassBeanDefinitionReader.loadBeanDefinitions(ConfigurationClassBeanDefinitionReader.java:117)
- at org.springframework.context.annotation.ConfigurationClassPostProcessor.processConfigBeanDefinitions(ConfigurationClassPostProcessor.java:327)
- at org.springframework.context.annotation.ConfigurationClassPostProcessor.postProcessBeanDefinitionRegistry(ConfigurationClassPostProcessor.java:232)
- at org.springframework.context.support.PostProcessorRegistrationDelegate.invokeBeanDefinitionRegistryPostProcessors(PostProcessorRegistrationDelegate.java:275)
- at org.springframework.context.support.PostProcessorRegistrationDelegate.invokeBeanFactoryPostProcessors(PostProcessorRegistrationDelegate.java:95)
- at org.springframework.context.support.AbstractApplicationContext.invokeBeanFactoryPostProcessors(AbstractApplicationContext.java:705)
- at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:531)
- at org.springframework.boot.SpringApplication.refresh(SpringApplication.java:742)
- at org.springframework.boot.SpringApplication.refreshContext(SpringApplication.java:389)
- at org.springframework.boot.SpringApplication.run(SpringApplication.java:311)
- at org.springframework.boot.SpringApplication.run(SpringApplication.java:1213)
- at org.springframework.boot.SpringApplication.run(SpringApplication.java:1202)
- at com.xmnk.springbootfunction.SpringbootFunctionApplication.main(SpringbootFunctionApplication.java:13)
- Caused by: java.lang.IllegalStateException: Failed to introspect Class [com.baomidou.dynamic.datasource.spring.boot.autoconfigure.DynamicDataSourceAutoConfiguration] from ClassLoader [sun.misc.Launcher$AppClassLoader@18b4aac2]
- at org.springframework.util.ReflectionUtils.getDeclaredMethods(ReflectionUtils.java:507)
- at org.springframework.util.ReflectionUtils.doWithMethods(ReflectionUtils.java:404)
- at org.springframework.util.ReflectionUtils.doWithMethods(ReflectionUtils.java:389)
- at org.springframework.util.ReflectionUtils.getUniqueDeclaredMethods(ReflectionUtils.java:447)
- at java.util.concurrent.ConcurrentHashMap.computeIfAbsent(ConcurrentHashMap.java:1660)
- at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.getTypeForFactoryMethod(AbstractAutowireCapableBeanFactory.java:738)
- at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.determineTargetType(AbstractAutowireCapableBeanFactory.java:679)
- at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.predictBeanType(AbstractAutowireCapableBeanFactory.java:647)
- at org.springframework.beans.factory.support.AbstractBeanFactory.isFactoryBean(AbstractBeanFactory.java:1518)
- at org.springframework.beans.factory.support.AbstractBeanFactory.isFactoryBean(AbstractBeanFactory.java:1023)
- at org.springframework.boot.autoconfigure.condition.BeanTypeRegistry.addBeanTypeForNonAliasDefinition(BeanTypeRegistry.java:190)
- at org.springframework.boot.autoconfigure.condition.BeanTypeRegistry.addBeanTypeForNonAliasDefinition(BeanTypeRegistry.java:157)
- at org.springframework.boot.autoconfigure.condition.BeanTypeRegistry.addBeanType(BeanTypeRegistry.java:150)
- at org.springframework.boot.autoconfigure.condition.BeanTypeRegistry.updateTypesIfNecessary(BeanTypeRegistry.java:138)
- at java.util.Iterator.forEachRemaining(Iterator.java:116)
- at org.springframework.boot.autoconfigure.condition.BeanTypeRegistry.updateTypesIfNecessary(BeanTypeRegistry.java:133)
- at org.springframework.boot.autoconfigure.condition.BeanTypeRegistry.getNamesForType(BeanTypeRegistry.java:97)
- at org.springframework.boot.autoconfigure.condition.OnBeanCondition.collectBeanNamesForType(OnBeanCondition.java:268)
- at org.springframework.boot.autoconfigure.condition.OnBeanCondition.getBeanNamesForType(OnBeanCondition.java:261)
- at org.springframework.boot.autoconfigure.condition.OnBeanCondition.getBeanNamesForType(OnBeanCondition.java:250)
- at org.springframework.boot.autoconfigure.condition.OnBeanCondition.getMatchingBeans(OnBeanCondition.java:170)
- at org.springframework.boot.autoconfigure.condition.OnBeanCondition.getMatchOutcome(OnBeanCondition.java:145)
- at org.springframework.boot.autoconfigure.condition.SpringBootCondition.matches(SpringBootCondition.java:46)
- ... 16 common frames omitted
- Caused by: java.lang.NoClassDefFoundError: org/springframework/web/context/WebApplicationContext
- at java.lang.Class.getDeclaredMethods0(Native Method)
- at java.lang.Class.privateGetDeclaredMethods(Class.java:2701)
- at java.lang.Class.getDeclaredMethods(Class.java:1975)
- at org.springframework.util.ReflectionUtils.getDeclaredMethods(ReflectionUtils.java:489)
- ... 38 common frames omitted
- Caused by: java.lang.ClassNotFoundException: org.springframework.web.context.WebApplicationContext
- at java.net.URLClassLoader.findClass(URLClassLoader.java:381)
- at java.lang.ClassLoader.loadClass(ClassLoader.java:424)
- at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:335)
- at java.lang.ClassLoader.loadClass(ClassLoader.java:357)
- ... 42 common frames omitted
- 2023-06-17 13:29:16.176 WARN 148 --- [main] o.s.boot.SpringApplication : Unable to close ApplicationContext
- java.lang.IllegalStateException: Failed to introspect Class [com.baomidou.dynamic.datasource.spring.boot.autoconfigure.DynamicDataSourceAutoConfiguration] from ClassLoader [sun.misc.Launcher$AppClassLoader@18b4aac2]
- at org.springframework.util.ReflectionUtils.getDeclaredMethods(ReflectionUtils.java:507)
- at org.springframework.util.ReflectionUtils.doWithMethods(ReflectionUtils.java:404)
- at org.springframework.util.ReflectionUtils.doWithMethods(ReflectionUtils.java:389)
- at org.springframework.util.ReflectionUtils.getUniqueDeclaredMethods(ReflectionUtils.java:447)
- at java.util.concurrent.ConcurrentHashMap.computeIfAbsent(ConcurrentHashMap.java:1660)
- at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.getTypeForFactoryMethod(AbstractAutowireCapableBeanFactory.java:738)
- at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.determineTargetType(AbstractAutowireCapableBeanFactory.java:679)
- at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.predictBeanType(AbstractAutowireCapableBeanFactory.java:647)
- at org.springframework.beans.factory.support.AbstractBeanFactory.isFactoryBean(AbstractBeanFactory.java:1518)
- at org.springframework.beans.factory.support.DefaultListableBeanFactory.doGetBeanNamesForType(DefaultListableBeanFactory.java:511)
- at org.springframework.beans.factory.support.DefaultListableBeanFactory.getBeanNamesForType(DefaultListableBeanFactory.java:481)
- at org.springframework.beans.factory.support.DefaultListableBeanFactory.getBeansOfType(DefaultListableBeanFactory.java:602)
- at org.springframework.beans.factory.support.DefaultListableBeanFactory.getBeansOfType(DefaultListableBeanFactory.java:594)
- at org.springframework.context.support.AbstractApplicationContext.getBeansOfType(AbstractApplicationContext.java:1226)
- at org.springframework.boot.SpringApplication.getExitCodeFromMappedException(SpringApplication.java:864)
- at org.springframework.boot.SpringApplication.getExitCodeFromException(SpringApplication.java:852)
- at org.springframework.boot.SpringApplication.handleExitCode(SpringApplication.java:839)
- at org.springframework.boot.SpringApplication.handleRunFailure(SpringApplication.java:790)
- at org.springframework.boot.SpringApplication.run(SpringApplication.java:321)
- at org.springframework.boot.SpringApplication.run(SpringApplication.java:1213)
- at org.springframework.boot.SpringApplication.run(SpringApplication.java:1202)
- at com.xmnk.springbootfunction.SpringbootFunctionApplication.main(SpringbootFunctionApplication.java:13)
- Caused by: java.lang.NoClassDefFoundError: org/springframework/web/context/WebApplicationContext
- at java.lang.Class.getDeclaredMethods0(Native Method)
- at java.lang.Class.privateGetDeclaredMethods(Class.java:2701)
- at java.lang.Class.getDeclaredMethods(Class.java:1975)
- at org.springframework.util.ReflectionUtils.getDeclaredMethods(ReflectionUtils.java:489)
- ... 21 common frames omitted
- Caused by: java.lang.ClassNotFoundException: org.springframework.web.context.WebApplicationContext
- at java.net.URLClassLoader.findClass(URLClassLoader.java:381)
- at java.lang.ClassLoader.loadClass(ClassLoader.java:424)
- at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:335)
- at java.lang.ClassLoader.loadClass(ClassLoader.java:357)
- ... 25 common frames omitted
- 2023-06-17 13:30:37.557 INFO 14544 --- [main] c.x.s.SpringbootFunctionApplication : Starting SpringbootFunctionApplication on DESKTOP-46UE442 with PID 14544 (E:\java\YaoXiangMu\springboot-parent\springboot-function\target\classes started by admin in E:\java\YaoXiangMu\springboot-parent)
- 2023-06-17 13:30:37.560 INFO 14544 --- [main] c.x.s.SpringbootFunctionApplication : No active profile set, falling back to default profiles: default
- 2023-06-17 13:30:37.931 WARN 14544 --- [main] o.m.s.mapper.ClassPathMapperScanner : No MyBatis mapper was found in '[com.xmnk.springbootfunction]' package. Please check your configuration.
- 2023-06-17 13:30:37.965 WARN 14544 --- [main] o.m.s.mapper.ClassPathMapperScanner : No MyBatis mapper was found in '[com.mapper]' package. Please check your configuration.
- 2023-06-17 13:30:38.663 INFO 14544 --- [main] c.x.s.SpringbootFunctionApplication : Started SpringbootFunctionApplication in 1.504 seconds (JVM running for 2.181)
- 2023-06-17 13:32:12.812 INFO 7584 --- [main] c.x.s.SpringbootFunctionApplication : Starting SpringbootFunctionApplication on DESKTOP-46UE442 with PID 7584 (E:\java\YaoXiangMu\springboot-parent\springboot-function\target\classes started by admin in E:\java\YaoXiangMu\springboot-parent)
- 2023-06-17 13:32:12.815 INFO 7584 --- [main] c.x.s.SpringbootFunctionApplication : No active profile set, falling back to default profiles: default
- 2023-06-17 13:32:13.166 WARN 7584 --- [main] o.m.s.mapper.ClassPathMapperScanner : No MyBatis mapper was found in '[com.xmnk.springbootfunction]' package. Please check your configuration.
- 2023-06-17 13:32:13.196 WARN 7584 --- [main] o.m.s.mapper.ClassPathMapperScanner : No MyBatis mapper was found in '[com.mapper]' package. Please check your configuration.
- 2023-06-17 13:32:13.848 INFO 7584 --- [main] c.x.s.SpringbootFunctionApplication : Started SpringbootFunctionApplication in 1.489 seconds (JVM running for 2.097)
- 2023-06-17 13:34:17.984 INFO 3616 --- [main] c.x.s.SpringbootFunctionApplication : Starting SpringbootFunctionApplication on DESKTOP-46UE442 with PID 3616 (E:\java\YaoXiangMu\springboot-parent\springboot-function\target\classes started by admin in E:\java\YaoXiangMu\springboot-parent)
- 2023-06-17 13:34:17.987 INFO 3616 --- [main] c.x.s.SpringbootFunctionApplication : No active profile set, falling back to default profiles: default
- 2023-06-17 13:34:18.592 WARN 3616 --- [main] o.m.s.mapper.ClassPathMapperScanner : No MyBatis mapper was found in '[com.xmnk.springbootfunction]' package. Please check your configuration.
- 2023-06-17 13:34:18.629 WARN 3616 --- [main] o.m.s.mapper.ClassPathMapperScanner : No MyBatis mapper was found in '[com.mapper]' package. Please check your configuration.
- 2023-06-17 13:34:19.059 INFO 3616 --- [main] o.s.b.w.embedded.tomcat.TomcatWebServer : Tomcat initialized with port(s): 10015 (http)
- 2023-06-17 13:34:19.077 INFO 3616 --- [main] o.apache.catalina.core.StandardService : Starting service [Tomcat]
- 2023-06-17 13:34:19.077 INFO 3616 --- [main] org.apache.catalina.core.StandardEngine : Starting Servlet engine: [Apache Tomcat/9.0.21]
- 2023-06-17 13:34:19.163 INFO 3616 --- [main] o.a.c.c.C.[Tomcat].[localhost].[/] : Initializing Spring embedded WebApplicationContext
- 2023-06-17 13:34:19.163 INFO 3616 --- [main] o.s.web.context.ContextLoader : Root WebApplicationContext: initialization completed in 1137 ms
- 2023-06-17 13:34:19.330 INFO 3616 --- [main] o.s.s.concurrent.ThreadPoolTaskExecutor : Initializing ExecutorService 'applicationTaskExecutor'
- 2023-06-17 13:34:19.413 INFO 3616 --- [main] c.b.d.d.DynamicRoutingDataSource : 初始共加载 0 个数据源
- 2023-06-17 13:34:19.414 WARN 3616 --- [main] ConfigServletWebServerApplicationContext : Exception encountered during context initialization - cancelling refresh attempt: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'dataSource' defined in class path resource [com/baomidou/dynamic/datasource/spring/boot/autoconfigure/DynamicDataSourceAutoConfiguration.class]: Invocation of init method failed; nested exception is java.lang.RuntimeException: 请检查primary默认数据库设置
- 2023-06-17 13:34:19.414 INFO 3616 --- [main] o.s.s.concurrent.ThreadPoolTaskExecutor : Shutting down ExecutorService 'applicationTaskExecutor'
- 2023-06-17 13:34:19.416 INFO 3616 --- [main] o.apache.catalina.core.StandardService : Stopping service [Tomcat]
- 2023-06-17 13:34:19.428 INFO 3616 --- [main] ConditionEvaluationReportLoggingListener :
- Error starting ApplicationContext. To display the conditions report re-run your application with 'debug' enabled.
- 2023-06-17 13:34:19.435 ERROR 3616 --- [main] o.s.boot.SpringApplication : Application run failed
- org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'dataSource' defined in class path resource [com/baomidou/dynamic/datasource/spring/boot/autoconfigure/DynamicDataSourceAutoConfiguration.class]: Invocation of init method failed; nested exception is java.lang.RuntimeException: 请检查primary默认数据库设置
- at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1778)
- at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:593)
- at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:515)
- at org.springframework.beans.factory.support.AbstractBeanFactory.lambda$doGetBean$0(AbstractBeanFactory.java:320)
- at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:222)
- at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:318)
- at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:199)
- at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:845)
- at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:877)
- at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:549)
- at org.springframework.boot.web.servlet.context.ServletWebServerApplicationContext.refresh(ServletWebServerApplicationContext.java:140)
- at org.springframework.boot.SpringApplication.refresh(SpringApplication.java:742)
- at org.springframework.boot.SpringApplication.refreshContext(SpringApplication.java:389)
- at org.springframework.boot.SpringApplication.run(SpringApplication.java:311)
- at org.springframework.boot.SpringApplication.run(SpringApplication.java:1213)
- at org.springframework.boot.SpringApplication.run(SpringApplication.java:1202)
- at com.xmnk.springbootfunction.SpringbootFunctionApplication.main(SpringbootFunctionApplication.java:13)
- Caused by: java.lang.RuntimeException: 请检查primary默认数据库设置
- at com.baomidou.dynamic.datasource.DynamicRoutingDataSource.afterPropertiesSet(DynamicRoutingDataSource.java:214)
- at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeInitMethods(AbstractAutowireCapableBeanFactory.java:1837)
- at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1774)
- ... 16 common frames omitted
|