wood burning stoves 2.0*
The moose likes Spring and the fly likes Could not open SqlMapConfig Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Frameworks » Spring
Bookmark "Could not open SqlMapConfig " Watch "Could not open SqlMapConfig " New topic

Could not open SqlMapConfig

shanthi naidu
Ranch Hand

Joined: Nov 13, 2008
Posts: 39

Im getting problem in locating SqlMapConfig.xml while working with iBatis in my spring application.
The dao is throwing null pointer exception and also error like "could not open resource ibatis-mappings\SqlMapCfg.xml"
(as i have put the sqlmap config file in ibatis-mappings folder)

what could be the reason for this kind of errors.
Please suggest something.

Thank you,
Shanthi Naidu

Christophe Verré

Joined: Nov 24, 2005
Posts: 14687

Can you show your context file ? The one where you declared "ibatis-mappings\SqlMapCfg.xml".

[My Blog]
All roads lead to JavaRanch
shanthi naidu
Ranch Hand

Joined: Nov 13, 2008
Posts: 39

Thanq i got the problem solved it was just a spell mistake

Shanthi Naidu
I agree. Here's the link: http://aspose.com/file-tools
subject: Could not open SqlMapConfig
Similar Threads
Tech Word Game
Compare Ibatis to Hibernate?
Problem in Extending a POJO
The future of iBatis
Best practices to Debug, "Ibatis in Action".