Esta dando essa exception no momento que eu tento subir o serviço de pedido:
Exception in thread "main" java.lang.IllegalArgumentException: Cannot instantiate interface org.springframework.boot.BootstrapRegistryInitializer : org.springframework.cloud.netflix.eureka.config.EurekaConfigServerBootstrapper at org.springframework.boot.SpringApplication.createSpringFactoriesInstances(SpringApplication.java:456) at org.springframework.boot.SpringApplication.getSpringFactoriesInstances(SpringApplication.java:438) at org.springframework.boot.SpringApplication.getSpringFactoriesInstances(SpringApplication.java:431) at org.springframework.boot.SpringApplication.(SpringApplication.java:261) at org.springframework.boot.SpringApplication.(SpringApplication.java:241) at org.springframework.boot.SpringApplication.run(SpringApplication.java:1312) at org.springframework.boot.SpringApplication.run(SpringApplication.java:1301) at br.com.alurafood.pedidos.PedidosApplication.main(PedidosApplication.java:12) Caused by: java.lang.NoClassDefFoundError: com/netflix/discovery/shared/resolver/EurekaEndpoint at java.base/java.lang.Class.getDeclaredConstructors0(Native Method) at java.base/java.lang.Class.privateGetDeclaredConstructors(Class.java:3373) at java.base/java.lang.Class.getConstructor0(Class.java:3578) at java.base/java.lang.Class.getDeclaredConstructor(Class.java:2754) at org.springframework.boot.SpringApplication.createSpringFactoriesInstances(SpringApplication.java:451) ... 7 more Caused by: java.lang.ClassNotFoundException: com.netflix.discovery.shared.resolver.EurekaEndpoint at java.base/jdk.internal.loader.BuiltinClassLoader.loadClass(BuiltinClassLoader.java:641) at java.base/jdk.internal.loader.ClassLoaders$AppClassLoader.loadClass(ClassLoaders.java:188) at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:520) ... 12 more