The reference to entity "password" must end with the ';' delimiter.的原因跟解决方法

 This error is caused by a rogue '&' in database_properties.xml. This xml tag...

<param name="url" value="jdbc:mysql://129.12.16.16/jwnl?user=myusername&password=mypassword"/>

should actually read...

<param name="url" value="jdbc:mysql://129.12.16.16/jwnl?user=myusername&amp;password=mypassword"/>

This is because the sax xml parsing libraries used by jwnl are generic xml libraries and therefore expect an escaped charcter sequence.
发布了53 篇原创文章 · 获赞 1 · 访问量 15万+
發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章