|
@@ -4,6 +4,7 @@ import org.mybatis.spring.annotation.MapperScan;
|
|
import org.springframework.boot.SpringApplication;
|
|
import org.springframework.boot.SpringApplication;
|
|
import org.springframework.boot.autoconfigure.SpringBootApplication;
|
|
import org.springframework.boot.autoconfigure.SpringBootApplication;
|
|
import org.springframework.context.annotation.ComponentScan;
|
|
import org.springframework.context.annotation.ComponentScan;
|
|
|
|
+import org.springframework.context.annotation.EnableAspectJAutoProxy;
|
|
import org.springframework.data.elasticsearch.repository.config.EnableElasticsearchRepositories;
|
|
import org.springframework.data.elasticsearch.repository.config.EnableElasticsearchRepositories;
|
|
import org.springframework.scheduling.annotation.EnableScheduling;
|
|
import org.springframework.scheduling.annotation.EnableScheduling;
|
|
import org.springframework.transaction.annotation.EnableTransactionManagement;
|
|
import org.springframework.transaction.annotation.EnableTransactionManagement;
|
|
@@ -14,6 +15,7 @@ import org.springframework.transaction.annotation.EnableTransactionManagement;
|
|
@EnableTransactionManagement
|
|
@EnableTransactionManagement
|
|
@EnableScheduling
|
|
@EnableScheduling
|
|
@MapperScan(value = "com.bizmatics.persistence.mapper")
|
|
@MapperScan(value = "com.bizmatics.persistence.mapper")
|
|
|
|
+@EnableAspectJAutoProxy(proxyTargetClass = true, exposeProxy = true)
|
|
public class DemoControllerApplication {
|
|
public class DemoControllerApplication {
|
|
|
|
|
|
public static void main(String[] args) {
|
|
public static void main(String[] args) {
|