How to solve the error in the loading path of Spring MVC configuration validationMessageSource?

  • xml file related configuration and error prompt Cannot resolve symbol "classpath:." :

  • properties:

  • the runtime environment is dependent on tomcat7, data validation:
<dependency>
    <groupId>javax.validation</groupId>
    <artifactId>validation-api</artifactId>
    <version>2.0.1.Final</version>
</dependency>
<dependency>
    <groupId>org.hibernate</groupId>
    <artifactId>hibernate-validator</artifactId>
    <version>5.3.6.Final</version>
</dependency>
< hr >

although an error is reported, the project itself works properly, and the page prompts an error when you enter an error. What exactly is the problem?

Menu