package com.xintong.visualinspection.visuallnspection_fjq;

import com.alibaba.fastjson.parser.ParserConfig;
import org.apache.ibatis.logging.LogFactory;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.autoconfigure.jdbc.DataSourceAutoConfiguration;
import org.springframework.boot.autoconfigure.orm.jpa.HibernateJpaAutoConfiguration;
import org.springframework.boot.web.servlet.ServletComponentScan;
import org.springframework.scheduling.annotation.EnableAsync;

@SpringBootApplication(exclude={DataSourceAutoConfiguration.class,HibernateJpaAutoConfiguration.class})
@ServletComponentScan
public class VisuallnspectionFjqApplication {

    public static void main(String[] args) {
        ParserConfig.getGlobalInstance().addAccept("com.xintong.");
        ParserConfig.getGlobalInstance().addAccept("org.springframework.security.core.");

        LogFactory.useLog4JLogging();
        SpringApplication.run(VisuallnspectionFjqApplication.class, args);
    }
}
