1.情景展示
spring配置文件報錯信息如下:
Referenced file contains errors (http://www.springframework.org/schema/context/spring-context-3.0.xsd). For more information, right click on the message in the Problems View and select "Show Details..."
2.解決方案
錯誤方案:將spring配置文件引入的xsd版本降低成2.5
其實根本沒有必要。
正確方式:重新編譯一下項目即可以了。
選中你要重新編輯的項目,選擇“clean”,等待即可。
3.效果展示
報錯提示已經沒啦。