package com.xjrsoft; import com.xjrsoft.common.annotation.UniqueNameGenerator; import org.springframework.boot.SpringApplication; import org.springframework.boot.autoconfigure.SpringBootApplication; import org.springframework.context.annotation.ComponentScan; import org.springframework.context.annotation.EnableAspectJAutoProxy; import org.springframework.scheduling.annotation.EnableScheduling; /** * @author Zexy */ @SpringBootApplication @EnableAspectJAutoProxy(exposeProxy = true) @ComponentScan(nameGenerator = UniqueNameGenerator.class) @EnableScheduling public class XjrSoftApplication { public static void main(String[] args) { SpringApplication.run(XjrSoftApplication.class, args); } }