ibatis-user-java mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From olamalam <ilker.cikrikc...@aspone.co.uk>
Subject Could not find resource exception
Date Tue, 12 Jan 2010 15:07:36 GMT

Hi to all,
I'm new to ibatis and I have a problem about getting sqlMapConfig.xml file
as a reader. 
I think this is to do with class loaders but i followed forums, the advices
I found didn't help.

although
File file = new File("config/SqlMapConfig.xml");
works correct,
Reader reader = Resources.getResourceAsReader("config/SqlMapConfig.xml");
gives "could not find resource" exception.

what should I do?

thanks in advance...
-- 
View this message in context: http://old.nabble.com/Could-not-find-resource-exception-tp27128946p27128946.html
Sent from the iBATIS - User - Java mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: user-java-unsubscribe@ibatis.apache.org
For additional commands, e-mail: user-java-help@ibatis.apache.org


Mime
View raw message