• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Could not open SqlMapConfig

 
shanthi naidu
Ranch Hand
Posts: 39
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 14691
16
Eclipse IDE Ubuntu VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Can you show your context file ? The one where you declared "ibatis-mappings\SqlMapCfg.xml".
 
shanthi naidu
Ranch Hand
Posts: 39
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

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

Regards,
Shanthi Naidu
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic