ibatis用jdk1.6启动报的xml注释异常
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: The string "--" is not permitted within comments.
Caused by: org.xml.sax.SAXParseException: The string "--" is not permitted within comments.
Caused by: com.ibatis.common.xml.NodeletException: Error parsing XML.  Cause: org.xml.sax.SAXParseException: The string "--" is not permitted within comments.
Caused by: org.xml.sax.SAXParseException: The string "--" is not permitted within comments.
at com.ibatis.common.xml.NodeletParser.processNodelet(NodeletParser.java:114)
at com.ibatis.common.xml.NodeletParser.process(NodeletParser.java:75)
at com.ibatis.common.xml.NodeletParser.process(NodeletParser.java:93)
at com.ibatis.common.xml.NodeletParser.parse(NodeletParser.java:63)
at com.ibatis.common.xml.NodeletParser.parse(NodeletParser.java:51)
... 32 more
Caused by: com.ibatis.common.xml.NodeletException: Error parsing XML.  Cause: org.xml.sax.SAXParseException: The string "--" is not permitted within comments.
Caused by: org.xml.sax.SAXParseException: The string "--" is not permitted within comments.
at com.ibatis.common.xml.NodeletParser.parse(NodeletParser.java:53)
at com.ibatis.sqlmap.engine.builder.xml.SqlMapParser.parse(SqlMapParser.java:45)
at com.ibatis.sqlmap.engine.builder.xml.SqlMapConfigParser$11.process(SqlMapConfigParser.java:347)
at com.ibatis.common.xml.NodeletParser.processNodelet(NodeletParser.java:112)
... 36 more
jdk1.5可以正常运行,但是不想用1.5,1.5与win7不兼容;网上一致说法是xml注释有问题,但是当前项目里xml非常多,有没有其他办法解决不一个一个去找,或者用正则快速查找不符合的,求大神