Uploaded image for project: 'ENTSBT'
  1. ENTSBT
  2. ENTSBT-850

package javax.validation.constraints does not exist

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major Major
    • 2.3.4.GA
    • 2.3.4.GA
    • hibernate, springboot
    • None

      Web and WebFlux starters do not depend on the validation starter by default anymore in SpringBoot 2.3. If your application is using validation features, for example you find that javax.validation.* imports are not being resolved, you’ll need to add the starter yourself.

      <dependency>
      <groupId>org.springframework.boot</groupId>
      <artifactId>spring-boot-starter-validation</artifactId>
      </dependency>

      See: https://github.com/spring-projects/spring-boot/wiki/Spring-Boot-2.3-Release-Notes#validation-starter-no-longer-included-in-web-starters

              ssitani Stefan Sitani (Inactive)
              lfuka Libor Fuka
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

                Created:
                Updated:
                Resolved: