package com.ycl;
|
|
import org.springframework.boot.autoconfigure.ImportAutoConfiguration;
|
import org.springframework.boot.autoconfigure.SpringBootApplication;
|
import org.springframework.cache.annotation.EnableCaching;
|
import org.springframework.context.annotation.ComponentScan;
|
import org.springframework.context.annotation.EnableAspectJAutoProxy;
|
import org.springframework.scheduling.annotation.EnableAsync;
|
import org.springframework.scheduling.annotation.EnableScheduling;
|
|
/**
|
* Hello world!
|
*
|
*/
|
|
@SpringBootApplication
|
@EnableCaching
|
@EnableScheduling
|
@EnableAsync
|
@EnableAspectJAutoProxy(proxyTargetClass = true, exposeProxy = true)
|
@ComponentScan(basePackages= {"com.ycl.*"})
|
public class App
|
{
|
public static void main( String[] args )
|
{
|
System.out.println( "Hello World!" );
|
}
|
}
|