File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
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


Win a copy of Spring in Action this week in the Spring forum!
JavaRanch » Java Forums » Frameworks » Spring
Bookmark "Could not open SqlMapConfig " Watch "Could not open SqlMapConfig " New topic
Author

Could not open SqlMapConfig

shanthi naidu
Ranch Hand

Joined: Nov 13, 2008
Posts: 39
Hi,

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é
Sheriff

Joined: Nov 24, 2005
Posts: 14688
    
  16

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
Hi,

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

Regards,
Shanthi Naidu
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Could not open SqlMapConfig