Advertisement
Guest User

Untitled

a guest
Aug 23rd, 2017
69
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.65 KB | None | 0 0
  1. package com.shaun.spring.config;
  2.  
  3. import org.springframework.context.annotation.ComponentScan;
  4. import org.springframework.context.annotation.Configuration;
  5.  
  6. @Configuration
  7. @ComponentScan("com.shaun.spring")
  8. @EnableTransactionManagement
  9. public class ApplicationContextConfig {
  10.  
  11. // @Bean configurations go here...
  12.  
  13. }
  14.  
  15. <dependency>
  16. <groupId>org.springframework</groupId>
  17. <artifactId>spring-tx</artifactId>
  18. <version>4.1.6.RELEASE</version>
  19. </dependency>
  20.  
  21. import org.springframework.transaction.annotation.EnableTransactionManagement;
  22.  
  23. The import org.springframework.transaction.annotation.EnableTransactionManagement cannot be resolved
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement