-1
我的applicationContext.xmlspring 4.3中的applicationContext.xml驗證錯誤?
是給驗證錯誤。即使是簡單的xml文件也會出現相同的錯誤。
我的applicationContext.xml是如下: -
<?xml version="1.0" encoding="UTF-8"?>
<beans xmlns="http://www.springframework.org/schema/beans"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://www.springframework.org/schema/beans
http://www.springframework.org/schema/beans/spring-beans-4.3.xsd">
</beans>
的錯誤是: -
CVC-elt.1:找不到元素的聲明'豆'。
我已經使用Google並嘗試解決此問題,但都沒有工作。如果有解決方案,請幫助我。感謝您。
我無法重現這一點。 –
也許是編碼問題或隱形字符的問題。你是從頭開始寫這個還是從某處複製它? –