aspose file tools*
The moose likes Object Relational Mapping and the fly likes Ibatis : java.lang.NoClassDefFoundError: com/ibatis/common/xml/NodeletException Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Databases » Object Relational Mapping
Bookmark "Ibatis : java.lang.NoClassDefFoundError: com/ibatis/common/xml/NodeletException" Watch "Ibatis : java.lang.NoClassDefFoundError: com/ibatis/common/xml/NodeletException" New topic
Author

Ibatis : java.lang.NoClassDefFoundError: com/ibatis/common/xml/NodeletException

Ganesh Gawande
Greenhorn

Joined: Nov 06, 2008
Posts: 5
I am using spring framework and want to integrate ibatis....
I am getting exception that - java.lang.NoClassDefFoundError: com/ibatis/common/xml/NodeletException

I have imported the library files, i.e. .jar file for ibatis. ibatis-sqlmap-2.jar and ibatis-common-2.jar

Following is bean defination in my application-context.xml file

<bean id="sqlMap"
class="org.springframework.orm.ibatis.SqlMapClientFactoryBean">
<property name="configLocation">
<value>classpath:SqlMapConfig.xml</value>
</property>
<property name="dataSource" ref="dataSource" />
</bean>
Ganesh Gawande
Greenhorn

Joined: Nov 06, 2008
Posts: 5
You have to download latest ibatis2-common-2.1.5.582.jar from following link
http://www.jarfinder.com/index.php/java/info/com.ibatis.common.xml.NodeletException
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Ibatis : java.lang.NoClassDefFoundError: com/ibatis/common/xml/NodeletException