2017-02-16 21:45:08 +05:30
|
|
|
package com.baeldung.utils;
|
|
|
|
|
|
|
|
|
|
import javax.annotation.security.RolesAllowed;
|
|
|
|
|
|
|
|
|
|
import org.springframework.boot.SpringApplication;
|
|
|
|
|
import org.springframework.boot.autoconfigure.SpringBootApplication;
|
|
|
|
|
import org.springframework.context.annotation.ComponentScan;
|
|
|
|
|
|
2017-04-20 01:49:09 +03:00
|
|
|
import com.baeldung.autoconfiguration.MySQLAutoconfiguration;
|
|
|
|
|
|
|
|
|
|
@SpringBootApplication(exclude=MySQLAutoconfiguration.class)
|
2017-02-16 21:45:08 +05:30
|
|
|
@ComponentScan(basePackages="com.baeldung.utils")
|
2017-08-11 22:02:08 +02:00
|
|
|
public class UtilsApplication {
|
2017-02-16 21:45:08 +05:30
|
|
|
|
|
|
|
|
@RolesAllowed("*")
|
|
|
|
|
public static void main(String[] args) {
|
2017-08-11 22:02:08 +02:00
|
|
|
SpringApplication.run(UtilsApplication.class, args);
|
2017-02-16 21:45:08 +05:30
|
|
|
}
|
|
|
|
|
|
|
|
|
|
}
|