com.ibatis.common.xml.NodeletException

Error parsing XML. Cause: : Document root element "sqlMap", must match DOCTYPE root "sqlMapConfig".

Samebug tips0

There are no available Samebug tips for this exception. If you know how to solve this issue, help other users by writing a short tip.

Don't give up yet. Paste your full stack trace to get a solution.

Solutions on the web99

  • via Coderanch by Vivek Hingorani, 7 months ago
    Error parsing XML. Cause: org.xml.sax.SAXParseException: Document root element "sqlMap", must match DOCTYPE root "sqlMapConfig".
  • Error parsing XML. Cause: : Document root element "sqlMap", must match DOCTYPE root "sqlMapConfig".
  • Error parsing XML. Cause: : Document root element "sqlMap", must match DOCTYPE root "sqlMapConfig".
  • Stack trace

    • com.ibatis.common.xml.NodeletException: Error parsing XML. Cause: : Document root element "sqlMap", must match DOCTYPE root "sqlMapConfig". at com.ibatis.common.xml.NodeletParser.processNodelet(NodeletParser.java:123) at com.ibatis.common.xml.NodeletParser.process(NodeletParser.java:84) at com.ibatis.common.xml.NodeletParser.process(NodeletParser.java:102) at com.ibatis.common.xml.NodeletParser.parse(NodeletParser.java:72) at com.ibatis.common.xml.NodeletParser.parse(NodeletParser.java:51) Caused by: com.ibatis.common.xml.NodeletException: Error parsing XML. Cause: : Document root element "sqlMap", must match DOCTYPE root "sqlMapConfig". at com.ibatis.common.xml.NodeletParser.parse(NodeletParser.java:53) at com.ibatis.sqlmap.engine.builder.xml.SqlMapParser.parse(SqlMapParser.java:51) at com.ibatis.sqlmap.engine.builder.xml.SqlMapConfigParser$11.process(SqlMapConfigParser.java:410) at com.ibatis.common.xml.NodeletParser.processNodelet(NodeletParser.java:121) ... 5 more

    Write tip

    You have a different solution? A short tip here would help you and many other users who saw this issue last week.

    Users with the same issue

    Unknown user
    Once, 1 year ago