ibatis-user-java mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Brandon Goodin" <brandon.goo...@gmail.com>
Subject Re: Probs connecting
Date Tue, 25 Jul 2006 12:30:55 GMT
What version of iBATIS are you using? What Servlet conatiner are you using?

Brandon

On 7/25/06, Pradheep <pradheep.ayyanar@appliedevelopment.com> wrote:
>
>  yoyo
>
> my application is simply using a DAO object and getting 3 values and
> inserting into database.
>
> am using this code
>
> Database: MySQL
> Framework: iBATIS
>
> DAOManager.java
> reader = Resources.getResourceAsReader(resource);
> sqlmap = SqlMapClientBuilder.buildSqlMapClient(reader);
>
> its throwing an error
>
> Exception in thread "main" java.lang.NoClassDefFoundError:
> org/apache/commons/logging/LogFactory
>
> at com.ibatis.sqlmap.engine.impl.SqlMapClientImpl.<clinit>(
> *SqlMapClientImpl.java:38*)
>
> at com.ibatis.sqlmap.engine.builder.xml.SqlMapConfigParser.<init>(
> *SqlMapConfigParser.java:53*)
>
> at com.ibatis.sqlmap.engine.builder.xml.SqlMapConfigParser.<init>(
> *SqlMapConfigParser.java:40*)
>
> at com.ibatis.sqlmap.client.SqlMapClientBuilder.buildSqlMapClient(
> *SqlMapClientBuilder.java:62*)
>
> at picanol.pdp.persistance.DAOManager.<init>(
> *DAOManager.java:21*)
>
> at picanol.pdp.persistance.DAOManager.getInstance(
> *DAOManager.java:28*)
> Regards
>
>   * P R A D H E E P* *A P P L I E D    D E V E L O P M E N T *  Team
> Leader
> Chennai, India
> e: pradheep.ayyanar@appliedevelopment.com
>  l: 00 91 44 39125333
> m: 00 91 94862 08089
>

Mime
View raw message