Please provide source code. I'm getting error after adding @Transactional(rollbackForClassName = {"Java.lang.Exception"}) It is showing unresolved compilation problem: The attribute rollbackForClassName is undefined for the annotation type Transactional java.lang.Error please provide some solution to this.