“The Bean Validation API is on the classpath but no implementation could be found” preventing startup

前端 未结 3 1984
日久生厌
日久生厌 2021-02-19 08:32

I am using Spring Tool Suite to work with ReST services in Java. But at the very first point I am not able to start my first simple application. Please help. I am getting below

3条回答
  •  再見小時候
    2021-02-19 09:08

    I faced the same issue. My project has almost a year on production and this week I needed to make some changes, and for surprise, the project could not even be built. I solved the issue by adding the following dependency to my project.

    
            org.hibernate
            hibernate-validator
            ${your-desired-version-matching-project-own}
    
    

    Note: I was using spring starters dependency, but still not loading that dependency.

提交回复
热议问题