Let's use Spring Initializr (https://start.spring.io) to set up the application. Provide the details listed here and click on Generate Project:
- Group: com.mastering.spring.cloud.data.flow
- Artifact: local-data-flow-server
- Dependencies: Local Data Flow Server
Listed here are some of the important dependencies from the pom.xml file:
<dependency> <groupId>org.springframework.cloud</groupId> <artifactId>spring-cloud-starter-dataflow-server- local</artifactId> </dependency>
Update the SpringBootApplication file with the following code:
@EnableDataFlowServer @SpringBootApplication public class LocalDataFlowServerApplication { public static void main(String[] args) { SpringApplication.run(LocalDataFlowServierApplication.class, ...