ibatis-user-java mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Larry Meadors <larry.mead...@gmail.com>
Subject Re: Could not find resource error
Date Fri, 01 Jul 2005 16:10:41 GMT
oops, mis read that...hmm

On 7/1/05, Larry Meadors <larry.meadors@gmail.com> wrote:
> SQLMapConfig != SqlMapConfig
> 
> Case counts.
> 
> Larry
> 
> On 7/1/05, Ashish Kulkarni <kulkarni_ash1312@yahoo.com> wrote:
> > Hi
> > I am trying SQLMap as stand alone application,
> > here is my folder structure
> > c:
> > --test
> >       |
> >       --com
> >            |
> >             ashish
> >                   |
> >                   --data
> >                         |
> >                         -- SQLMapConfig.xml
> >                         -- SqlMapConfig.properties
> >
> > In my SQLMapConfig.xml file i have defined resource
> > tag as below
> > <properties
> > resource="com/ashish/data/SqlMapConfig.properties" />
> >
> > in my java program i do the following
> > String resource = "com/ashish/data/SQLMapConfig.xml";
> > Reader reader =
> > Resources.getResourceAsReader(resource);
> > sqlMap =
> > SqlMapClientBuilder.buildSqlMapClient(reader);
> >
> > But i am getting the following error
> > Error parsing XPath '/sqlMapConfig/properties'.
> > Cause:
> > com.ibatis.common.exception.NestedRuntimeException:
> > Error loading properties.  Cause: java.io.IOException:
> > Could not find resource
> > com/pfizer/maps/data/SqlMapConfig.properties
> >
> > how do i solve this problem
> > I am using eclipse to code and run this program
> >
> > Ashish
> >
> >
> >
> >
> >
> > ____________________________________________________
> > Yahoo! Sports
> > Rekindle the Rivalries. Sign up for Fantasy Football
> > http://football.fantasysports.yahoo.com
> >
>

Mime
View raw message