Win a copy of Java 9 Modularity: Patterns and Practices for Developing Maintainable Applications this week in the Java 9 forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

WHAT AM I MISSING? iBatis - sqlMapConfig.xml  RSS feed

Peter Primrose
Ranch Hand
Posts: 755
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Newbie to iBatis: I have this sqlMapConfig.xml but for some reason it generates the following error: Element "sqlMapConfig" requires additional elements.

(to be more mercise, it says:
Caused by: com.ibatis.common.exception.NestedRuntimeException: Error occurred. Cause: com.ibatis.common.xml.NodeletException: Error parsing XML. Cause: org.xml.sax.SAXParseException: Element "sqlMapConfig" requires additional elements.)

this is my file, anyone?

<?xml version="1.0" encoding="UTF-8" ?>

<!DOCTYPE sqlMapConfig PUBLIC "-// SQL Map Config 2.0//EN"

  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!