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

后端 未结 3 1579
轻奢々
轻奢々 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:15

    The package org.springframework.transaction is provided by the spring-tx artifact. Add the following to your pom.xml and do maven update, that should do:

    
        org.springframework
        spring-tx
        ${org.springframework-version}
    
    

提交回复
热议问题