This week's book giveaway is in the Agile and other Processes forum.
We're giving away four copies of The Mikado Method and have Ola Ellnestam and Daniel Brolund on-line!
See this thread for details.
The moose likes Spring and the fly likes Could not open SqlMapConfig Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login


Win a copy of The Mikado Method this week in the Agile and other Processes forum!
JavaRanch » Java Forums » Frameworks » Spring
Reply 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: 37
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: 14672
    
  11

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: 37
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
 
Similar Threads
Best practices to Debug, "Ibatis in Action".
Compare Ibatis to Hibernate?
Problem in Extending a POJO
The future of iBatis
Tech Word Game