ibatis-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Brandon Goodin" <brandon.goo...@gmail.com>
Subject Re: Cannot find sqlmap in jar - new bug
Date Sun, 11 Jun 2006 06:56:57 GMT
I'd recommend that you place your sqlMapConfig.xml in the classes
directory and use the follwing spring config.

<bean id="sqlMapClient"
  <property name="configLocation" value="classpath:sqlMapConfig.xml"/>
  <property name="dataSource" ref="dataSource"/>

I would assume this issue is tied to the fact that the sqlMapConfig is
not being loaded from the classpath.


On 6/11/06, Paul Benedict <paul4christ79@yahoo.com> wrote:
> Brandon,
> >>All i can tell you is that i have recently created an application that
> uses Spring, iBATIS and is jarred up.
> Forgive me, but based on the feedback I am getting, I am not convinced at all that my
problem is
> being understood. Can you give me some confidence it is? As I said, this is not a problem
with the
> application being jarred up --- my application is not jarred up.
> My problem arises when:
> (1) the sqlmapconfig.xml exists in the webapp but
> (2) the actual sqlmap files belong in a LIB jar.
> Do you see the difference?
> Paul
> __________________________________________________
> Do You Yahoo!?
> Tired of spam?  Yahoo! Mail has the best spam protection around
> http://mail.yahoo.com

View raw message