天天看点

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.