getting package org.springframework.transaction.annotation does not exist error while packaging app

后端 未结 3 1577
轻奢々
轻奢々 2021-02-20 17:31

I am quite new in Spring world. I have developed a DAO using Spring 3.2 and Hibernate 4.1.9 but I have noticed a strange thing.

All the used dependencies related to Spri

3条回答
  •  时光取名叫无心
    2021-02-20 18:13

    Try using all spring related dependencies of same version. I guess org.springframework.transaction.annotation.Transactional is present in spring 3.2.0. So this should not be issue. Include spring-tx dependency for @Transactionl to work.

提交回复
热议问题