XML Parser Errors See Details for more Information XML Parser Error on line 1: Document root ele
阿新 • • 發佈:2018-01-14
article 例如 ner 解決 spa style odi pub tail
1、錯誤描寫敘述
XML Parser Errors See Details for more Information XML Parser Error on line 1: Document root element "generatorConfiguration", must match DOCTYPE root "null". XML Parser Error on line 1: Document is invalid: no grammar found.
2、錯誤原因
generatorConfig.xml以<generatorConfiguration> 開頭,沒有正確配置頭部
3、解決的方法
在上述<generatorConfiguration>頭部加入例如以下代碼:
<?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE generatorConfiguration PUBLIC "-//mybatis.org//DTD MyBatis Generator Configuration 1.0//EN" "http://mybatis.org/dtd/mybatis-generator-config_1_0.dtd">
XML Parser Errors See Details for more Information XML Parser Error on line 1: Document root ele