Home > Back-end >  Springcloud, I got a eureka client and server, the server is not an error, the server startup error
Springcloud, I got a eureka client and server, the server is not an error, the server startup error

Time:09-23

 
Java. Lang. An IllegalStateException: Failed to introspect a Class [org.springframework.cloud.net flix. Eureka. Config. DiscoveryClientOptionalArgsConfiguration] from this [sun. Misc. The Launcher $AppClassLoader @ 18 b4aac2]
The at org. Springframework. Util. ReflectionUtils. GetDeclaredMethods (ReflectionUtils. Java: 481) ~ [spring - core - 5.2.4. The jar: 5.2.4. RELEASE]
The at org. Springframework. Util. ReflectionUtils. DoWithMethods (ReflectionUtils. Java: 358) ~ [spring - core - 5.2.4. The jar: 5.2.4. RELEASE]
The at org. Springframework. Util. ReflectionUtils. GetUniqueDeclaredMethods (ReflectionUtils. Java: 414) ~ [spring - core - 5.2.4. The jar: 5.2.4. RELEASE]
The at org. Springframework. Beans. Factory. Support. AbstractAutowireCapableBeanFactory. Lambda $getTypeForFactoryMethod $2 (AbstractAutowireCapableBeanFactory. Java: 743) ~ [spring - beans - 5.2.4. The jar: 5.2.4. RELEASE]
At java.util.concurrent.ConcurrentHashMap.com puteIfAbsent (ConcurrentHashMap. Java: 1660) ~ [na: 1.8.0 comes with _221]
The at org. Springframework. Beans. Factory. Support. AbstractAutowireCapableBeanFactory. GetTypeForFactoryMethod (AbstractAutowireCapableBeanFactory. Java: 742) ~ [spring - beans - 5.2.4. The jar: 5.2.4. RELEASE]
The at org. Springframework. Beans. Factory. Support. AbstractAutowireCapableBeanFactory. DetermineTargetType (AbstractAutowireCapableBeanFactory. Java: 681) ~ [spring - beans - 5.2.4. The jar: 5.2.4. RELEASE]
The at org. Springframework. Beans. Factory. Support. AbstractAutowireCapableBeanFactory. PredictBeanType (AbstractAutowireCapableBeanFactory. Java: 649) ~ [spring - beans - 5.2.4. The jar: 5.2.4. RELEASE]
The at org. Springframework. Beans. Factory. Support. AbstractBeanFactory. IsFactoryBean (AbstractBeanFactory. Java: 1605) ~ [spring - beans - 5.2.4. The jar: 5.2.4. RELEASE]
The at org. Springframework. Beans. Factory. Support. DefaultListableBeanFactory. DoGetBeanNamesForType (DefaultListableBeanFactory. Java: 520) ~ [spring - beans - 5.2.4. The jar: 5.2.4. RELEASE]
The at org. Springframework. Beans. Factory. Support. DefaultListableBeanFactory. GetBeanNamesForType (DefaultListableBeanFactory. Java: 491) ~ [spring - beans - 5.2.4. The jar: 5.2.4. RELEASE]
The at org. Springframework. Context. Support. PostProcessorRegistrationDelegate. InvokeBeanFactoryPostProcessors (PostProcessorRegistrationDelegate. Java: 99) ~ [spring - the context - 5.2.4. The jar: 5.2.4. RELEASE]
The at org. Springframework. Context. Support. AbstractApplicationContext. InvokeBeanFactoryPostProcessors (AbstractApplicationContext. Java: 706) ~ [spring - the context - 5.2.4. The jar: 5.2.4. RELEASE]
The at org. Springframework. Context. Support. AbstractApplicationContext. Refresh (AbstractApplicationContext. Java: 532) ~ [spring - the context - 5.2.4. The jar: 5.2.4. RELEASE]
The at org. Springframework. Boot. Web. Servlet. Context. ServletWebServerApplicationContext. Refresh (ServletWebServerApplicationContext. Java: 141) ~ [spring - the boot - 2.2.5. The jar: 2.2.5. RELEASE]
The at org. Springframework. Boot. SpringApplication. Refresh (SpringApplication. Java: 747) [spring - the boot - 2.2.5. The jar: 2.2.5. RELEASE]
The at org. Springframework. Boot. SpringApplication. RefreshContext (SpringApplication. Java: 397) [spring - the boot - 2.2.5. The jar: 2.2.5. RELEASE]
The at org. Springframework. Boot. SpringApplication. Run (SpringApplication. Java: 315) [spring - the boot - 2.2.5. The jar: 2.2.5. RELEASE]
The at org. Springframework. Boot. SpringApplication. Run (SpringApplication. Java: 1226) [spring - the boot - 2.2.5. The jar: 2.2.5. RELEASE]
The at org. Springframework. Boot. SpringApplication. Run (SpringApplication. Java: 1215) [spring - the boot - 2.2.5. The jar: 2.2.5. RELEASE]
At com. Baizhi. Eurekaclient8888Application. Main (Eurekaclient8888Application. Java: 12)/classes/: na
At sun. Reflect. NativeMethodAccessorImpl. Invoke0 (Native Method) ~ [na: 1.8.0 comes with _221]
At sun. Reflect. NativeMethodAccessorImpl. Invoke (NativeMethodAccessorImpl. Java: 62) ~ [na: 1.8.0 comes with _221]
At sun. Reflect. DelegatingMethodAccessorImpl. Invoke (43) DelegatingMethodAccessorImpl. Java: ~ [na: 1.8.0 comes with _221]
The at Java. Lang. Reflect. Method. Invoke (498) Method. The Java: ~ [na: 1.8.0 comes with _221]
The at org. Springframework. Boot. Devtools. Restart. RestartLauncher. Run (49) RestartLauncher. Java: [spring - the boot - devtools -- 2.2.5. The jar: 2.2.5. RELEASE]
Under Caused by: Java. Lang. NoClassDefFoundError: com/netflix/discovery/DiscoveryClient $DiscoveryClientOptionalArgs
The at Java. Lang. This defineClass1 (Native Method) ~ [na: 1.8.0 comes with _221]
The at Java. Lang. This. DefineClass (763). This Java: ~ [na: 1.8.0 comes with _221]
The at Java. Security. SecureClassLoader. DefineClass (SecureClassLoader. Java: 142) ~ [na: 1.8.0 comes with _221]
The at java.net.URLClassLoader.defineClass (URLClassLoader. Java: 468) ~ [na: 1.8.0 comes with _221]
The at java.net.URLClassLoader.access$100 (URLClassLoader. Java: 74) ~ [na: 1.8.0 comes with _221]
The at java.net.URLClassLoader$1.run (URLClassLoader. Java: 369) ~ [na: 1.8.0 comes with _221]
The at java.net.URLClassLoader$1.run (URLClassLoader. Java: 363) ~ [na: 1.8.0 comes with _221]
The at Java. Security. The AccessController. DoPrivileged (Native Method) ~ [na: 1.8.0 comes with _221]
The at java.net.URLClassLoader.findClass (URLClassLoader. Java: 362) ~ [na: 1.8.0 comes with _221]
nullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnull