Skip to content

Commit

Permalink
➕ : add spring-boot-starter-validation
Browse files Browse the repository at this point in the history
From spring-boot 2.3, validation is no longer included in the
web-starter.
So we need to import it manually.

See : https://github.com/spring-projects/spring-boot/wiki/Spring-Boot-2.3-Release-Notes#upgrading-from-spring-boot-22
  • Loading branch information
juwit committed Jun 12, 2020
1 parent 2cb7090 commit 36f2d70
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -137,6 +137,12 @@
<artifactId>spring-boot-starter-actuator</artifactId>
</dependency>

<!-- validation of domain model objects -->
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-validation</artifactId>
</dependency>

<!-- jackson support for kotlin -->
<dependency>
<groupId>com.fasterxml.jackson.module</groupId>
Expand Down

0 comments on commit 36f2d70

Please sign in to comment.