Error in spring application context schema

前端 未结 14 1052
借酒劲吻你
借酒劲吻你 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:17

    Sometimes the spring config xml file works not well on next eclipse open up.

    It shows error in the xml file caused by schema definition, no matter reopen eclipse or clean up project are both not working.

    But try this!

    Right click on the spring config xml file, and select validate.

    After a while, the error disappears and eclipse tells you there is no error on this file.

    What a joke...

提交回复
热议问题