`
wodamazi
  • 浏览: 1416445 次
文章分类
社区版块
存档分类
最新评论

XML 文件配置常见问题 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"/>

正确的配置:

<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.

分享到:
评论

相关推荐

Global site tag (gtag.js) - Google Analytics