My source code like below. It has a error, \"No exception of type DataAccessException can be thrown; an exception type must be a subclass of Throwable\".
I can\'t un
This can happen if some class in the type-hierarchy of the exception is not on the class-path. In that case, its not possible to verify whether the exception really extends Throwable, whether it is a checked one or not, etc. Hence the errors. e.g superclass of Dataaccessexception : NestedRuntimeException may be missing from the class-path as it is in a differnt jar i.e. spring-core.