This error is caused by a rogue '&' in database_properties.xml. This xml tag...
should actually read...
This is because the sax xml parsing libraries used by jwnl are generic xml libraries and therefore expect an escaped charcter sequence.
<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&password=mypassword"/>
This is because the sax xml parsing libraries used by jwnl are generic xml libraries and therefore expect an escaped charcter sequence.
博客指出错误是由database_properties.xml文件中一个未处理的'&'字符导致。由于jwnl使用的sax xml解析库是通用的,期望字符序列经过转义处理,从而引发问题。

8148

被折叠的 条评论
为什么被折叠?



