Open vickypathre opened 4 years ago
e-commerce-microservices-sample-master\discovery-microservice\src\main\java\com\nikhu\ecommerce\discovery\EurekaDiscoveryServiceApplication.java:9: error: package org.springframework.cloud.netflix.eureka.server does not exist import org.springframework.cloud.netflix.eureka.server.EnableEurekaServer; ^ C:\POC\e-commerce-microservices-sample-master\discovery-microservice\src\main\java\com\nikhu\ecommerce\discovery\EurekaDiscoveryServiceApplication.java:11: error: cannot find symbol @EnableEurekaServer ^ symbol: class EnableEurekaServer 2 errors :discovery-microservice:compileJava FAILED
FAILURE: Build failed with an exception.
What went wrong: Execution failed for task ':discovery-microservice:compileJava'.
Compilation failed; see the compiler error output for details.
Try: Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.
BUILD FAILED
Total time: 5.561 secs
e-commerce-microservices-sample-master\discovery-microservice\src\main\java\com\nikhu\ecommerce\discovery\EurekaDiscoveryServiceApplication.java:9: error: package org.springframework.cloud.netflix.eureka.server does not exist import org.springframework.cloud.netflix.eureka.server.EnableEurekaServer; ^ C:\POC\e-commerce-microservices-sample-master\discovery-microservice\src\main\java\com\nikhu\ecommerce\discovery\EurekaDiscoveryServiceApplication.java:11: error: cannot find symbol @EnableEurekaServer ^ symbol: class EnableEurekaServer 2 errors :discovery-microservice:compileJava FAILED
FAILURE: Build failed with an exception.
What went wrong: Execution failed for task ':discovery-microservice:compileJava'.
Try: Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.
BUILD FAILED
Total time: 5.561 secs