Error in spring application context schema

前端 未结 14 965
借酒劲吻你
借酒劲吻你 2020-12-30 04:03

I have a maven-spring project in Eclipse and I have this annoying error message in one of my spring contexts:

Referenced file contains errors (jar:fil

14条回答
  •  别那么骄傲
    2020-12-30 04:27

    I also faced this problem and fixed it by removing version part from the XSD name.

    http://www.springframework.org/schema/beans/spring-beans-4.2.xsd to http://www.springframework.org/schema/beans/spring-beans.xsd
    

    Versions less XSD's are mapped to the current version of the framework used in the application.

提交回复
热议问题