Tích hợp Spring Batch vào Spring Boot để đọc dữ liệu từ file CSV và lưu vào Database.
1. Thêm Dependencies
Chắc chắn đã thêm các dependency cần thiết vào pom.xml:
<dependencies>
<!-- ... các dependency khác ... -->
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-batch</artifactId>
...