venkataravuri / e-commerce-microservices-sample

A fictitious cloud-native e-commerce application using microservices architecture powered by polyglot languages & databases, deployable to Kubernetes & AWS
252 stars 174 forks source link

Error:(9, 55) java: package org.springframework.cloud.netflix.eureka.server does not exist #3

Closed jackflyer closed 5 years ago

jackflyer commented 5 years ago

Building from command line does not worked, for project discovery-microservice.When run command gradlew build this following error thrown. Error:(9, 55) java: package org.springframework.cloud.netflix.eureka.server does not exist

When I tried using spring-cloud-netflix-eureka-server , It thows following Exception

org.springframework.beans.factory.BeanDefinitionStoreException: Failed to process import candidates for configuration class [org.springframework.cloud.netflix.eureka.server.EurekaServerInitializerConfiguration]; nested exception is java.lang.ClassCastException: java.lang.ClassNotFoundException cannot be cast to [Ljava.lang.Object;

What should be proper dependency for this?