TroubleShoot

When we are working we come around some situation when we are stuck and it takes away a lot of time. I am listing below the scenarios faced by me and their solution with date. I do not know if it will help you but it will certainly help me in future.


Problem :
In (Java)spring 3.0 I was extending SimpleJdbcDaoSupport and it was throwing a weird error saying The type org.springframework.dao.support.DaoSupport cannot be resolved. It is indirectly referenced from required .class files

What I did initially :
I tried importing the required classes, clean, build and other stuffs but it did not worked. I checked lib for jars but could not find much as org.springframework.jdbc-3.1.2.RELEASE.jar was already there.

What was the solution :
I was using DaoSupport and it is supported in org.springframework.transaction-3.1.2.RELEASE.jar and it was missing from the lib, include it and problem solved.

Occurred and solved on October 26, 2012

Leave a Reply