Skip to content

build faliure #4

@vickypathre

Description

@vickypathre

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions