Issue
How to import org.springframework.transaction.annotation.Transactional ?
I have @Transactional in red. Despite it belongs to org.springframework I can not import it.
https://github.com/anatoliy19/test_CRUD.git
Solution
Well, I've fixed pom.xml
in your project. You had the file corrupted, I've just removed one of the build
sections (maybe the wrong one, please check, which one you want to leave). Then I've fixed AppConfig
class where some imports were missing. Now mvn clean install package
command works fine for me: that means, that you do not have compilation errors anymore.
I've sent you a PR with my changes.
Please let me know if that solves the problem.
Answered By - Andrej Istomin
Answer Checked By - Willingham (JavaFixing Volunteer)