File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
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: 14688

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:
subject: Could not open SqlMapConfig
It's not a secret anymore!