Your sqlMap file should read like this <?xml version="1.0" encoding="UTF-8" ?> <!DOCTYPE sqlMap PUBLIC "-//ibatis.apache.org//DTD SQL Map 2.0//EN" " http://ibatis.apache.org/dtd/sql-map-2.dtd"> <sqlMap>
<Your sql statements> </sqlMap> whereas your SqlMapconfig should read like <?xml version="1.0" encoding="UTF-8" ?> <!DOCTYPE sqlMapConfig PUBLIC "-//ibatis.apache.org//DTD SQL Map Config 2.0//EN" " http://ibatis.apache.org/dtd/sql-map-config-2.dtd"> <sqlMapConfig> <your sql map files> </sqlMapConfig> I recommend reading the documentation like http://ibatis.apache.org/docs/java/pdf/iBATIS-SqlMaps-2-Tutorial_en.pdf /Axel