lrj
2024-10-25 f6348318d0511d54babc870d5bd7dd9e4ea00313
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
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!" );
    }
}