Spring问题:class path resource [xxx.xml] cannot be opened because it does not exist

xiaoxiao2021-02-28  109

xml文件的编码不对应.   

例如下面的xml为 encoding="UTF-8" ,则该xml文件必须UTF-8编码保存.

<?xml version="1.0" encoding="UTF-8" ?> <beans xmlns="http://www.springframework.org/schema/beans"      ......    </bean> </beans>

转载请注明原文地址: https://www.6miu.com/read-30699.html

最新回复(0)