Win a copy of liveProject: Protecting User Data with Spring Security and OAuth2 this week in the Spring forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Paul Clapham
  • Ron McLeod
  • paul wheaton
  • Devaka Cooray
Sheriffs:
  • Jeanne Boyarsky
  • Tim Cooke
  • Liutauras Vilda
Saloon Keepers:
  • Tim Moores
  • Tim Holloway
  • Stephan van Hulst
  • Carey Brown
  • Piet Souris
Bartenders:
  • salvin francis
  • Mikalai Zaikin
  • Himai Minh

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

 
Ranch Hand
Posts: 281
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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?
 
Author
Posts: 12617
IntelliJ IDE Ruby
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Neither seems to be what's in their examples:
 
Greenhorn
Posts: 16
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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.
 
You showed up just in time for the waffles! And this tiny ad:
Building a Better World in your Backyard by Paul Wheaton and Shawn Klassen-Koop
https://coderanch.com/wiki/718759/books/Building-World-Backyard-Paul-Wheaton
reply
    Bookmark Topic Watch Topic
  • New Topic