PDA

View Full Version : iBATIS 2 Support - NoClassDefFoundError



ndijkstra
Sep 21st, 2004, 02:14 PM
Hi, i'm using iBATIS 2, configuration files so the included libraries in my classpath are ibatis-sqlmap-2.jar and ibatis-common-2.jar. The problem is that when loading the Application Context i get the following Error:

java.lang.NoClassDefFoundError: com/ibatis/db/sqlmap/SqlMap

Can somebody tell me how to integrate Spring with iBATIS 2 without having to change my configuration files back to iBATIS 1 format?

Thanks.

ndijkstra
Sep 21st, 2004, 02:56 PM
Well.... it seems i managed to find the answer myself.
I just needed to take a look at Spring Reference :oops:

leaffall
Mar 21st, 2005, 05:13 AM
extends SqlMapDaoSupport

change

extends SqlMapClientDaoSupport