SSM中錯誤解決之applicationContext.xml--Element 'beans' cannot have character [children]--Binrry(冰蕊)

問題:

配置文件錯誤—— Element ‘beans’ cannot have character [children],because the type’s content type is element

原因:

從網上copy下來的代碼空格中含有莫名其妙的看不見的符號

解決:

簡單粗暴的方法:把所有空格刪除

發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章