this is my code
package com.covacsis.ipf.pinot;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
@SpringBootApplication
@EnableDiscoveryClient
public class RegisterPinotApplication {
public static void main(String[] args) {
SpringApplication.run(RegisterPinotApplication.class, args);
}
}
these dependencies are added
dependencies {
implementation 'org.springframework.boot:spring-boot-starter-web'
implementation 'org.springframework.cloud:spring-cloud-starter-netflix-eureka-client'
testImplementation 'org.springframework.boot:spring-boot-starter-test'
}
dependencyManagement {
imports {
mavenBom "org.springframework.cloud:spring-cloud-dependencies:2023.0.2"
}
}
Im trying to run a spring boot scheduling application to schedule instances to a eureka-server project from register-service project
New contributor
Nandana Narayan Das is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.