79753035

Date: 2025-09-02 03:11:54
Score: 1
Natty:
Report link

Fix (Spring Boot 3.x)

  1. Add the validation starter:
<dependency>
  <groupId>org.springframework.boot</groupId>
  <artifactId>spring-boot-starter-validation</artifactId>
</dependency>
  1. Use the Jakarta import in your code:
import jakarta.validation.constraints.NotBlank;
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Xsu