Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- package com.shaun.spring.config;
- import org.springframework.context.annotation.ComponentScan;
- import org.springframework.context.annotation.Configuration;
- @Configuration
- @ComponentScan("com.shaun.spring")
- @EnableTransactionManagement
- public class ApplicationContextConfig {
- // @Bean configurations go here...
- }
- <dependency>
- <groupId>org.springframework</groupId>
- <artifactId>spring-tx</artifactId>
- <version>4.1.6.RELEASE</version>
- </dependency>
- import org.springframework.transaction.annotation.EnableTransactionManagement;
- The import org.springframework.transaction.annotation.EnableTransactionManagement cannot be resolved
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement