Untitled

mail@pastecode.io avatar
unknown
plain_text
21 days ago
598 B
2
Indexable
Never
@Slf4j
@EnableAspectJAutoProxy
@EntityScan(basePackages = {"com.sec.config.core.domain"})
@EnableJpaRepositories(basePackages = {"com.sec.config.core.repository"})
@SpringBootApplication(scanBasePackages = {"com.sec.config"})
public class DashboardApiApplication extends SpringBootServletInitializer {

    public static void main(String[] args) {
        try {
            new SpringApplicationBuilder(DashboardApiApplication.class).build().run(args);
        } catch (RuntimeException e) {
            log.error("Failed to start application e={}", e.getMessage());
        }
    }
}
Leave a Comment