cl
2024-01-19 e0fac38b26845f25de479783e0c76cf12a5311e0
提交 | 用户 | 时间
71e81e 1 /**
2  * Copyright 2018-2020 stylefeng & fengshuonan (https://gitee.com/stylefeng)
3  * <p>
4  * Licensed under the Apache License, Version 2.0 (the "License");
5  * you may not use this file except in compliance with the License.
6  * You may obtain a copy of the License at
7  * <p>
8  * http://www.apache.org/licenses/LICENSE-2.0
9  * <p>
10  * Unless required by applicable law or agreed to in writing, software
11  * distributed under the License is distributed on an "AS IS" BASIS,
12  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13  * See the License for the specific language governing permissions and
14  * limitations under the License.
15  */
16 package cn.stylefeng.guns;
17
18 import cn.stylefeng.roses.core.config.MybatisDataSourceAutoConfiguration;
19 import org.activiti.spring.boot.SecurityAutoConfiguration;
20 import org.slf4j.Logger;
21 import org.slf4j.LoggerFactory;
22 import org.springframework.boot.SpringApplication;
23 import org.springframework.boot.autoconfigure.SpringBootApplication;
24
25 /**
26  * SpringBoot方式启动类
27  *
28  * @author stylefeng
29  * @Date 2017/5/21 12:06
30  */
31 @SpringBootApplication(exclude = {MybatisDataSourceAutoConfiguration.class, SecurityAutoConfiguration.class})
32 public class GunsApplication {
33
34     private final static Logger logger = LoggerFactory.getLogger(GunsApplication.class);
35
36     public static void main(String[] args) {
37         SpringApplication.run(GunsApplication.class, args);
38         logger.info(GunsApplication.class.getSimpleName() + " is success!");
39     }
40
41 }