build: exclude mybatis auto config

This commit is contained in:
CaptainB 2023-04-18 12:00:43 +08:00
parent 92ac8485fe
commit dd03a09eac

View File

@ -1,5 +1,6 @@
package io.metersphere;
import org.mybatis.spring.boot.autoconfigure.MybatisAutoConfiguration;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.autoconfigure.ldap.LdapAutoConfiguration;
@ -11,7 +12,8 @@ import org.springframework.context.annotation.PropertySource;
@SpringBootApplication(exclude = {
QuartzAutoConfiguration.class,
LdapAutoConfiguration.class,
Neo4jAutoConfiguration.class
Neo4jAutoConfiguration.class,
MybatisAutoConfiguration.class
})
@PropertySource(value = {
"classpath:commons.properties",