Win a copy of Design for the Mind this week in the Design forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

iBatis 2, Spring 2.5 - FileNotFoundException: http://www.mybatis.org/dtd/sql-map-config-2.dtd

 
Sam Gehouse
Ranch Hand
Posts: 281
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I am using iBatis version 2 and Spring 2.5

My XML looks like:


my1.xml looks like:



When I start the server with the application deployed, I get error as:



What should I be using for:
http://ibatis.apache.org/dtd/sql-map-config-2.dtd?

The link, http://ibatis.apache.org/dtd/sql-map-config-2.dtd is also broken.

Changing http://ibatis.apache.org/dtd/sql-map-config-2.dtd to http://ibatis.apache.org/dtd/sql-map-config-2.dtd, as I have it in my1.xml, I get exception as incorrect XML format.

My question:
What do I need to use in place of: http://ibatis.apache.org/dtd/sql-map-config-2.dtd?
 
David Newton
Author
Rancher
Posts: 12617
IntelliJ IDE Ruby
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Neither seems to be what's in their examples:
 
Roger Marin
Greenhorn
Posts: 16
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
iBatis (now MyBatis) recently switched from Apache to Google code, you might want to take a look here: http://code.google.com/p/mybatis/wiki/DocIbatis2MyBatis

Cheers.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic