I was working on a few things last night and got stuck with the tests...

A bunch of tests all failed with this error....   not easy to debug :)

Error occurred. Cause: com.ibatis.common.xml.NodeletException: Error parsing XML. Cause: com.ibatis.common.exception.NestedRuntimeException: Error parsing XPath '/sqlMapConfig/sqlMap'. Cause: com.ibatis.common.xml.NodeletException: Error parsing XML. Cause: org.xml.sax.SAXParseException: Element "resultMap" does not allow "resultMap" here. Caused by: org.xml.sax.SAXParseException: Element "resultMap" does not allow "resultMap" here. Caused by: com.ibatis.common.xml.NodeletException: Error parsing XML. Cause: org.xml.sax.SAXParseException: Element "resultMap" does not allow "resultMap" here. Caused by: org.xml.sax.SAXParseException: Element "resultMap" does not allow "resultMap" here. Caused by: com.ibatis.common.exception.NestedRuntimeException: Error parsing XPath '/sqlMapConfig/sqlMap'. Cause: com.ibatis.common.xml.NodeletException: Error parsing XML. Cause: org.xml.sax.SAXParseException: Element "resultMap" does not allow "resultMap" here. Caused by: org.xml.sax.SAXParseException: Element "resultMap" does not allow "resultMap" here. Caused by: com.ibatis.common.xml.NodeletException: Error parsing XML. Cause: org.xml.sax.SAXParseException: Element "resultMap" does not allow "resultMap" here. Caused by: org.xml.sax.SAXParseException: Element "resultMap" does not allow "resultMap" here.

com.ibatis.common.exception.NestedRuntimeException: Error occurred. Cause: com.ibatis.common.xml.NodeletException: Error parsing XML. Cause: com.ibatis.common.exception.NestedRuntimeException: Error parsing XPath '/sqlMapConfig/sqlMap'. Cause: com.ibatis.common.xml.NodeletException: Error parsing XML. Cause: org.xml.sax.SAXParseException: Element "resultMap" does not allow "resultMap" here. Caused by: org.xml.sax.SAXParseException: Element "resultMap" does not allow "resultMap" here. Caused by: com.ibatis.common.xml.NodeletException: Error parsing XML. Cause: org.xml.sax.SAXParseException: Element "resultMap" does not allow "resultMap" here. Caused by: org.xml.sax.SAXParseException: Element "resultMap" does not allow "resultMap" here. Caused by: com.ibatis.common.exception.NestedRuntimeException: Error parsing XPath '/sqlMapConfig/sqlMap'. Cause: com.ibatis.common.xml.NodeletException: Error parsing XML. Cause: org.xml.sax.SAXParseException: Element "resultMap" does not allow "resultMap" here. Caused by: org.xml.sax.SAXParseException: Element "resultMap" does not allow "resultMap" here. Caused by: com.ibatis.common.xml.NodeletException: Error parsing XML. Cause: org.xml.sax.SAXParseException: Element "resultMap" does not allow "resultMap" here. Caused by: org.xml.sax.SAXParseException: Element "resultMap" does not allow "resultMap" here. Caused by: com.ibatis.common.xml.NodeletException: Error parsing XML. Cause: com.ibatis.common.exception.NestedRuntimeException: Error parsing XPath '/sqlMapConfig/sqlMap'. Cause: com.ibatis.common.xml.NodeletException: Error parsing XML. Cause: org.xml.sax.SAXParseException: Element "resultMap" does not allow "resultMap" here. Caused by: org.xml.sax.SAXParseException: Element "resultMap" does not allow "resultMap" here. Caused by: com.ibatis.common.xml.NodeletException: Error parsing XML. Cause: org.xml.sax.SAXParseException: Element "resultMap" does not allow "resultMap" here. Caused by: org.xml.sax.SAXParseException: Element "resultMap" does not allow "resultMap" here. Caused by: com.ibatis.common.exception.NestedRuntimeException: Error parsing XPath '/sqlMapConfig/sqlMap'. Cause: com.ibatis.common.xml.NodeletException: Error parsing XML. Cause: org.xml.sax.SAXParseException: Element "resultMap" does not allow "resultMap" here. Caused by: org.xml.sax.SAXParseException: Element "resultMap" does not allow "resultMap" here. Caused by: com.ibatis.common.xml.NodeletException: Error parsing XML. Cause: org.xml.sax.SAXParseException: Element "resultMap" does not allow "resultMap" here. Caused by: org.xml.sax.SAXParseException: Element "resultMap" does not allow "resultMap" here. at com.ibatis.sqlmap.engine.builder.xml.SqlMapConfigParser.parse (SqlMapConfigParser.java:82) at com.ibatis.sqlmap.engine.builder.xml.SqlMapConfigParser.parse (SqlMapConfigParser.java:70) at com.ibatis.sqlmap.client.SqlMapClientBuilder.buildSqlMapClient (SqlMapClientBuilder.java:78)
at com.ibatis.sqlmap.BaseSqlMapTest.initSqlMap(BaseSqlMapTest.java:22)
at com.ibatis.sqlmap.XmlStatementTest.setUp(XmlStatementTest.java:13)
Caused by: com.ibatis.common.xml.NodeletException: Error parsing XML. Cause: com.ibatis.common.exception.NestedRuntimeException: Error parsing XPath '/sqlMapConfig/sqlMap'. Cause: com.ibatis.common.xml.NodeletException: Error parsing XML. Cause: org.xml.sax.SAXParseException: Element "resultMap" does not allow "resultMap" here. Caused by: org.xml.sax.SAXParseException: Element "resultMap" does not allow "resultMap" here. Caused by: com.ibatis.common.xml.NodeletException: Error parsing XML. Cause: org.xml.sax.SAXParseException: Element "resultMap" does not allow "resultMap" here. Caused by: org.xml.sax.SAXParseException: Element "resultMap" does not allow "resultMap" here. Caused by: com.ibatis.common.exception.NestedRuntimeException: Error parsing XPath '/sqlMapConfig/sqlMap'. Cause: com.ibatis.common.xml.NodeletException: Error parsing XML. Cause: org.xml.sax.SAXParseException: Element "resultMap" does not allow "resultMap" here. Caused by: org.xml.sax.SAXParseException: Element "resultMap" does not allow "resultMap" here. Caused by: com.ibatis.common.xml.NodeletException: Error parsing XML. Cause: org.xml.sax.SAXParseException: Element "resultMap" does not allow "resultMap" here. Caused by: org.xml.sax.SAXParseException: Element "resultMap" does not allow "resultMap" here.
at com.ibatis.common.xml.NodeletParser.parse(NodeletParser.java:53)
at com.ibatis.sqlmap.engine.builder.xml.SqlMapConfigParser.parse (SqlMapConfigParser.java:79)
... 13 more

Reply via email to