java.lang.ClassCastException: java.lang.ClassNotFoundException не может быть приведен к [Ljava.lang.Class; - PullRequest
0 голосов
/ 17 мая 2019

Я только что попытался извлечь весенний загрузочный код и выполнить в моем STS, и выдает эту ошибку. Даже это не дает намек на реальную проблему. Вроде какой класс не найден и все. Я не могу поделиться кодом из-за проблемы с копированием. Есть ли способ получить подробный журнал?

java.lang.ClassCastException: java.lang.ClassNotFoundException не может быть приведено к [Ljava.lang.Class; at org.springframework.plugin.core.config.PluginRegistriesBeanDefinitionRegistrar.registerBeanDefinitions (PluginRegistriesBeanDefinitionRegistrar.java:45) ~ [spring-plugin-core-1.2.0.RELEASE.jar: na] в org.springframework.context.annotation.ConfigurationClassBeanDefinitionReader.lambda $ loadBeanDefinitionsFromRegistrars $ 0 (ConfigurationClassBeanDefinitionReader.java:360) ~ [spring-context-5.0.4.RELEASE.jEL: 5.0.4.R. в org.springframework.context.annotation.ConfigurationClassBeanDefinitionReader $$ Lambda $ 141 / 429075478.accept (Неизвестный источник) ~ [na: na] at java.util.LinkedHashMap.forEach (неизвестный источник) ~ [na: 1.8.0_25] at org.springframework.context.annotation.ConfigurationClassBeanDefinitionReader.loadBeanDefinitionsFromRegistrars (ConfigurationClassBeanDefinitionReader.java:359) ~ [spring-context-5.0.4.RELEASE.jar: 5.0.4.RELEASE] в org.springframework.context.annotation.ConfigurationClassBeanDefinitionReader.loadBeanDefinitionsForConfigurationClass (ConfigurationClassBeanDefinitionReader.java:144) ~ [spring-context-5.0.4.RELEASE.jar: 5.0.4.RELEASE] в org.springframework.context.annotation.ConfigurationClassBeanDefinitionReader.loadBeanDefinitions (ConfigurationClassBeanDefinitionReader.java:117) ~ [spring-context-5.0.4.RELEASE.jar: 5.0.4.RELEASE] в org.springframework.context.annotation.ConfigurationClassPostProcessor.processConfigBeanDefinitions (ConfigurationClassPostProcessor.java:328) ~ [spring-context-5.0.4.RELEASE.jar: 5.0.4.RELEASE] в org.springframework.context.annotation.ConfigurationClassPostProcessor.postProcessBeanDefinitionRegistry (ConfigurationClassPostProcessor.java:233) ~ [spring-context-5.0.4.RELEASE.jar: 5.0.4.RELEASE] в org.springframework.context.support.PostProcessorRegistrationDelegate.invokeBeanDefinitionRegistryPostProcessors (PostProcessorRegistrationDelegate.java:273) ~ [spring-context-5.0.4.RELEASE.jar: 5.0.4.RELEASE] в org.springframework.context.support.PostProcessorRegistrationDelegate.invokeBeanFactoryPostProcessors (PostProcessorRegistrationDelegate.java:93) ~ [spring-context-5.0.4.RELEASE.jar: 5.0.4.RELEASE] в org.springframework.context.support.AbstractApplicationContext.invokeBeanFactoryPostProcessors (AbstractApplicationContext.java:693) ~ [spring-context-5.0.4.RELEASE.jar: 5.0.4.RELEASE] в org.springframework.context.support.AbstractApplicationContext.refresh (AbstractApplicationContext.java:531) ~ [spring-context-5.0.4.RELEASE.jar: 5.0.4.RELEASE] at org.springframework.boot.web.servlet.context.ServletWebServerApplicationContext.refresh (ServletWebServerApplicationContext.java:140) ~ [spring-boot-2.0.0.RELEASE.jar: 2.0.0.RELEASE] в org.springframework.boot.SpringApplication.refresh (SpringApplication.java:752) [spring-boot-2.0.0.RELEASE.jar: 2.0.0.RELEASE] в org.springframework.boot.SpringApplication.refreshContext (SpringApplication.java:388) [spring-boot-2.0.0.RELEASE.jar: 2.0.0.RELEASE] в org.springframework.boot.SpringApplication.run (SpringApplication.java:327) [spring-boot-2.0.0.RELEASE.jar: 2.0.0.RELEASE] в org.springframework.boot.SpringApplication.run (SpringApplication.java:1246) [spring-boot-2.0.0.RELEASE.jar: 2.0.0.RELEASE] в org.springframework.boot.SpringApplication.run (SpringApplication.java:1234) [spring-boot-2.0.0.RELEASE.jar: 2.0.0.RELEASE] в com.stackroute.keepnote.UserAuthenticationServiceApplication.main (UserAuthenticationServiceApplication.java:51) [classes /: na]

...