ibatis-user-java mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Pradheep" <pradheep.ayya...@appliedevelopment.com>
Subject Re: Probs connecting
Date Tue, 25 Jul 2006 13:37:48 GMT
thanks you very much Larry

its workin now..
  ----- Original Message ----- 
  From: Larry Meadors 
  To: user-java@ibatis.apache.org 
  Sent: Tuesday, July 25, 2006 6:47 PM
  Subject: Re: Probs connecting


  No, what exact version are you using? This exception indicates that it is looking for commons-logging,
which has not been a part of iBATIS for many months.

  Exception in thread "main" java.lang.NoClassDefFoundError: org/apache/commons/logging/LogFactory


  I'd suggest getting a newer version of iBATIS.

  Larry


  On 7/25/06, Pradheep < pradheep.ayyanar@appliedevelopment.com> wrote:
    using iBATIS 2.0 version

    ----- Original Message ----- 
    From: Brandon Goodin 
    To: user-java@ibatis.apache.org 
    Sent: Tuesday, July 25, 2006 6:00 PM
    Subject: Re: Probs connecting


    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