yml配置如下:
fastdep:
datasource:
ogg: #数据源名称可随意取
mapper: com.iwhalecloud.yunnan.interfacepro.mapper.ogg #当前数据源对应的mapper目录不能多个数据源相同
password: 123456
url: jdbc:oracle:thin:@127.0.0.1:1521:orcl
driverClassName: com.mysql.cj.jdbc.Driver
username: WSPE
# 下面为druid连接池的补充设置
initialSize: 10
minIdle: 5
maxActive: 100
iom: #数据源名称可随意取
mapper: com.iwhalecloud.yunnan.interfacepro.mapper.iom #当前数据源对应的mapper目录不能多个数据源相同
password: 123456
url: jdbc:oracle:thin:@127.0.0.1:1521:orcl
driverClassName: com.mysql.cj.jdbc.Driver
username: WSPE
# 下面为druid连接池的补充设置
initialSize: 10
minIdle: 5
maxActive: 100
wfm: #数据源名称可随意取
mapper: com.iwhalecloud.yunnan.interfacepro.mapper.wfm #当前数据源对应的mapper目录不能多个数据源相同
password: 123456
url: jdbc:oracle:thin:@127.0.0.1:1521:orcl
driverClassName: com.mysql.cj.jdbc.Driver
username: WSPE
# 下面为druid连接池的补充设置
initialSize: 10
minIdle: 5
maxActive: 100
启动报错
"D:\Program Files\Java\jdk1.8.0_131\bin\java.exe" -agentlib:jdwp=transport=dt_socket,address=127.0.0.1:57536,suspend=y,server=n -XX:TieredStopAtLevel=1 -noverify -Dspring.output.ansi.enabled=always -Dcom.sun.management.jmxremote -Dspring.jmx.enabled=true -Dspring.liveBeansView.mbeanDomain -Dspring.application.admin.enabled=true -javaagent:C:\Users\Administrator.IntelliJIdea2019.3\system\captureAgent\debugger-agent.jar -Dfile.encoding=UTF-8 -classpath "D:\Program Files\JAVA\jdk1.8.0_131\jre\lib\charsets.jar;D:\Program Files\JAVA\jdk1.8.0_131\jre\lib\deploy.jar;D:\Program Files\JAVA\jdk1.8.0_131\jre\lib\ext\access-bridge-64.jar;D:\Program Files\JAVA\jdk1.8.0_131\jre\lib\ext\cldrdata.jar;D:\Program Files\JAVA\jdk1.8.0_131\jre\lib\ext\dnsns.jar;D:\Program Files\JAVA\jdk1.8.0_131\jre\lib\ext\jaccess.jar;D:\Program Files\JAVA\jdk1.8.0_131\jre\lib\ext\jfxrt.jar;D:\Program Files\JAVA\jdk1.8.0_131\jre\lib\ext\localedata.jar;D:\Program Files\JAVA\jdk1.8.0_131\jre\lib\ext\nashorn.jar;D:\Program Files\JAVA\jdk1.8.0_131\jre\lib\ext\sunec.jar;D:\Program Files\JAVA\jdk1.8.0_131\jre\lib\ext\sunjce_provider.jar;D:\Program Files\JAVA\jdk1.8.0_131\jre\lib\ext\sunmscapi.jar;D:\Program Files\JAVA\jdk1.8.0_131\jre\lib\ext\sunpkcs11.jar;D:\Program Files\JAVA\jdk1.8.0_131\jre\lib\ext\zipfs.jar;D:\Program Files\JAVA\jdk1.8.0_131\jre\lib\javaws.jar;D:\Program Files\JAVA\jdk1.8.0_131\jre\lib\jce.jar;D:\Program Files\JAVA\jdk1.8.0_131\jre\lib\jfr.jar;D:\Program Files\JAVA\jdk1.8.0_131\jre\lib\jfxswt.jar;D:\Program Files\JAVA\jdk1.8.0_131\jre\lib\jsse.jar;D:\Program Files\JAVA\jdk1.8.0_131\jre\lib\management-agent.jar;D:\Program Files\JAVA\jdk1.8.0_131\jre\lib\plugin.jar;D:\Program Files\JAVA\jdk1.8.0_131\jre\lib\resources.jar;D:\Program Files\JAVA\jdk1.8.0_131\jre\lib\rt.jar;E:\ProgramFiles\IdeaProjects\interfacePro\target\classes;D:\Program Files\maven-repository\org\springframework\boot\spring-boot-starter-web\2.3.7.RELEASE\spring-boot-starter-web-2.3.7.RELEASE.jar;D:\Program Files\maven-repository\org\springframework\boot\spring-boot-starter\2.3.7.RELEASE\spring-boot-starter-2.3.7.RELEASE.jar;D:\Program Files\maven-repository\org\springframework\boot\spring-boot-starter-logging\2.3.7.RELEASE\spring-boot-starter-logging-2.3.7.RELEASE.jar;D:\Program Files\maven-repository\ch\qos\logback\logback-classic\1.2.3\logback-classic-1.2.3.jar;D:\Program Files\maven-repository\ch\qos\logback\logback-core\1.2.3\logback-core-1.2.3.jar;D:\Program Files\maven-repository\org\apache\logging\log4j\log4j-to-slf4j\2.13.3\log4j-to-slf4j-2.13.3.jar;D:\Program Files\maven-repository\org\apache\logging\log4j\log4j-api\2.13.3\log4j-api-2.13.3.jar;D:\Program Files\maven-repository\org\slf4j\jul-to-slf4j\1.7.30\jul-to-slf4j-1.7.30.jar;D:\Program Files\maven-repository\jakarta\annotation\jakarta.annotation-api\1.3.5\jakarta.annotation-api-1.3.5.jar;D:\Program Files\maven-repository\org\yaml\snakeyaml\1.26\snakeyaml-1.26.jar;D:\Program Files\maven-repository\org\springframework\boot\spring-boot-starter-json\2.3.7.RELEASE\spring-boot-starter-json-2.3.7.RELEASE.jar;D:\Program Files\maven-repository\com\fasterxml\jackson\datatype\jackson-datatype-jdk8\2.11.3\jackson-datatype-jdk8-2.11.3.jar;D:\Program Files\maven-repository\com\fasterxml\jackson\datatype\jackson-datatype-jsr310\2.11.3\jackson-datatype-jsr310-2.11.3.jar;D:\Program Files\maven-repository\com\fasterxml\jackson\module\jackson-module-parameter-names\2.11.3\jackson-module-parameter-names-2.11.3.jar;D:\Program Files\maven-repository\org\springframework\boot\spring-boot-starter-tomcat\2.3.7.RELEASE\spring-boot-starter-tomcat-2.3.7.RELEASE.jar;D:\Program Files\maven-repository\org\apache\tomcat\embed\tomcat-embed-core\9.0.41\tomcat-embed-core-9.0.41.jar;D:\Program Files\maven-repository\org\glassfish\jakarta.el\3.0.3\jakarta.el-3.0.3.jar;D:\Program Files\maven-repository\org\apache\tomcat\embed\tomcat-embed-websocket\9.0.41\tomcat-embed-websocket-9.0.41.jar;D:\Program Files\maven-repository\org\springframework\spring-web\5.2.12.RELEASE\spring-web-5.2.12.RELEASE.jar;D:\Program Files\maven-repository\org\springframework\spring-beans\5.2.12.RELEASE\spring-beans-5.2.12.RELEASE.jar;D:\Program Files\maven-repository\org\springframework\spring-webmvc\5.2.12.RELEASE\spring-webmvc-5.2.12.RELEASE.jar;D:\Program Files\maven-repository\org\springframework\spring-aop\5.2.12.RELEASE\spring-aop-5.2.12.RELEASE.jar;D:\Program Files\maven-repository\org\springframework\spring-context\5.2.12.RELEASE\spring-context-5.2.12.RELEASE.jar;D:\Program Files\maven-repository\org\springframework\spring-expression\5.2.12.RELEASE\spring-expression-5.2.12.RELEASE.jar;D:\Program Files\maven-repository\com\baomidou\mybatis-plus-boot-starter\3.1.2\mybatis-plus-boot-starter-3.1.2.jar;D:\Program Files\maven-repository\com\baomidou\mybatis-plus\3.1.2\mybatis-plus-3.1.2.jar;D:\Program Files\maven-repository\com\baomidou\mybatis-plus-extension\3.1.2\mybatis-plus-extension-3.1.2.jar;D:\Program Files\maven-repository\com\baomidou\mybatis-plus-core\3.1.2\mybatis-plus-core-3.1.2.jar;D:\Program Files\maven-repository\com\baomidou\mybatis-plus-annotation\3.1.2\mybatis-plus-annotation-3.1.2.jar;D:\Program Files\maven-repository\com\github\jsqlparser\jsqlparser\1.2\jsqlparser-1.2.jar;D:\Program Files\maven-repository\org\springframework\boot\spring-boot-autoconfigure\2.3.7.RELEASE\spring-boot-autoconfigure-2.3.7.RELEASE.jar;D:\Program Files\maven-repository\org\springframework\boot\spring-boot-starter-jdbc\2.3.7.RELEASE\spring-boot-starter-jdbc-2.3.7.RELEASE.jar;D:\Program Files\maven-repository\com\zaxxer\HikariCP\3.4.5\HikariCP-3.4.5.jar;D:\Program Files\maven-repository\org\springframework\spring-jdbc\5.2.12.RELEASE\spring-jdbc-5.2.12.RELEASE.jar;D:\Program Files\maven-repository\com\oracle\ojdbc6\11.2.0.3\ojdbc6-11.2.0.3.jar;D:\Program Files\maven-repository\org\springframework\boot\spring-boot-devtools\2.3.7.RELEASE\spring-boot-devtools-2.3.7.RELEASE.jar;D:\Program Files\maven-repository\org\springframework\boot\spring-boot\2.3.7.RELEASE\spring-boot-2.3.7.RELEASE.jar;D:\Program Files\maven-repository\org\projectlombok\lombok\1.18.4\lombok-1.18.4.jar;D:\Program Files\maven-repository\com\alibaba\druid-spring-boot-starter\1.1.17\druid-spring-boot-starter-1.1.17.jar;D:\Program Files\maven-repository\com\alibaba\druid\1.1.17\druid-1.1.17.jar;D:\Program Files\maven-repository\org\slf4j\slf4j-api\1.7.30\slf4j-api-1.7.30.jar;D:\Program Files\maven-repository\com\alibaba\fastjson\1.2.58\fastjson-1.2.58.jar;D:\Program Files\maven-repository\org\apache\shiro\shiro-spring-boot-starter\1.4.0\shiro-spring-boot-starter-1.4.0.jar;D:\Program Files\maven-repository\org\apache\shiro\shiro-spring\1.4.0\shiro-spring-1.4.0.jar;D:\Program Files\maven-repository\org\apache\shiro\shiro-core\1.4.0\shiro-core-1.4.0.jar;D:\Program Files\maven-repository\org\apache\shiro\shiro-lang\1.4.0\shiro-lang-1.4.0.jar;D:\Program Files\maven-repository\org\apache\shiro\shiro-cache\1.4.0\shiro-cache-1.4.0.jar;D:\Program Files\maven-repository\org\apache\shiro\shiro-crypto-hash\1.4.0\shiro-crypto-hash-1.4.0.jar;D:\Program Files\maven-repository\org\apache\shiro\shiro-crypto-core\1.4.0\shiro-crypto-core-1.4.0.jar;D:\Program Files\maven-repository\org\apache\shiro\shiro-crypto-cipher\1.4.0\shiro-crypto-cipher-1.4.0.jar;D:\Program Files\maven-repository\org\apache\shiro\shiro-config-core\1.4.0\shiro-config-core-1.4.0.jar;D:\Program Files\maven-repository\org\apache\shiro\shiro-config-ogdl\1.4.0\shiro-config-ogdl-1.4.0.jar;D:\Program Files\maven-repository\commons-beanutils\commons-beanutils\1.9.3\commons-beanutils-1.9.3.jar;D:\Program Files\maven-repository\commons-collections\commons-collections\3.2.2\commons-collections-3.2.2.jar;D:\Program Files\maven-repository\org\apache\shiro\shiro-event\1.4.0\shiro-event-1.4.0.jar;D:\Program Files\maven-repository\org\apache\shiro\shiro-web\1.4.0\shiro-web-1.4.0.jar;D:\Program Files\maven-repository\com\auth0\java-jwt\3.7.0\java-jwt-3.7.0.jar;D:\Program Files\maven-repository\com\fasterxml\jackson\core\jackson-databind\2.11.3\jackson-databind-2.11.3.jar;D:\Program Files\maven-repository\com\fasterxml\jackson\core\jackson-annotations\2.11.3\jackson-annotations-2.11.3.jar;D:\Program Files\maven-repository\com\fasterxml\jackson\core\jackson-core\2.11.3\jackson-core-2.11.3.jar;D:\Program Files\maven-repository\commons-codec\commons-codec\1.14\commons-codec-1.14.jar;D:\Program Files\maven-repository\org\springframework\boot\spring-boot-starter-data-redis\2.3.7.RELEASE\spring-boot-starter-data-redis-2.3.7.RELEASE.jar;D:\Program Files\maven-repository\org\springframework\data\spring-data-redis\2.3.6.RELEASE\spring-data-redis-2.3.6.RELEASE.jar;D:\Program Files\maven-repository\org\springframework\data\spring-data-keyvalue\2.3.6.RELEASE\spring-data-keyvalue-2.3.6.RELEASE.jar;D:\Program Files\maven-repository\org\springframework\data\spring-data-commons\2.3.6.RELEASE\spring-data-commons-2.3.6.RELEASE.jar;D:\Program Files\maven-repository\org\springframework\spring-tx\5.2.12.RELEASE\spring-tx-5.2.12.RELEASE.jar;D:\Program Files\maven-repository\org\springframework\spring-oxm\5.2.12.RELEASE\spring-oxm-5.2.12.RELEASE.jar;D:\Program Files\maven-repository\org\springframework\spring-context-support\5.2.12.RELEASE\spring-context-support-5.2.12.RELEASE.jar;D:\Program Files\maven-repository\io\lettuce\lettuce-core\5.3.5.RELEASE\lettuce-core-5.3.5.RELEASE.jar;D:\Program Files\maven-repository\io\netty\netty-common\4.1.55.Final\netty-common-4.1.55.Final.jar;D:\Program Files\maven-repository\io\netty\netty-handler\4.1.55.Final\netty-handler-4.1.55.Final.jar;D:\Program Files\maven-repository\io\netty\netty-resolver\4.1.55.Final\netty-resolver-4.1.55.Final.jar;D:\Program Files\maven-repository\io\netty\netty-buffer\4.1.55.Final\netty-buffer-4.1.55.Final.jar;D:\Program Files\maven-repository\io\netty\netty-codec\4.1.55.Final\netty-codec-4.1.55.Final.jar;D:\Program Files\maven-repository\io\netty\netty-transport\4.1.55.Final\netty-transport-4.1.55.Final.jar;D:\Program Files\maven-repository\io\projectreactor\reactor-core\3.3.12.RELEASE\reactor-core-3.3.12.RELEASE.jar;D:\Program Files\maven-repository\org\reactivestreams\reactive-streams\1.0.3\reactive-streams-1.0.3.jar;D:\Program Files\maven-repository\org\apache\commons\commons-pool2\2.8.1\commons-pool2-2.8.1.jar;D:\Program Files\maven-repository\io\springfox\springfox-swagger2\2.8.0\springfox-swagger2-2.8.0.jar;D:\Program Files\maven-repository\io\swagger\swagger-annotations\1.5.14\swagger-annotations-1.5.14.jar;D:\Program Files\maven-repository\io\swagger\swagger-models\1.5.14\swagger-models-1.5.14.jar;D:\Program Files\maven-repository\io\springfox\springfox-spi\2.8.0\springfox-spi-2.8.0.jar;D:\Program Files\maven-repository\io\springfox\springfox-core\2.8.0\springfox-core-2.8.0.jar;D:\Program Files\maven-repository\io\springfox\springfox-schema\2.8.0\springfox-schema-2.8.0.jar;D:\Program Files\maven-repository\io\springfox\springfox-swagger-common\2.8.0\springfox-swagger-common-2.8.0.jar;D:\Program Files\maven-repository\io\springfox\springfox-spring-web\2.8.0\springfox-spring-web-2.8.0.jar;D:\Program Files\maven-repository\org\reflections\reflections\0.9.11\reflections-0.9.11.jar;D:\Program Files\maven-repository\com\google\guava\guava\20.0\guava-20.0.jar;D:\Program Files\maven-repository\com\fasterxml\classmate\1.5.1\classmate-1.5.1.jar;D:\Program Files\maven-repository\org\springframework\plugin\spring-plugin-core\1.2.0.RELEASE\spring-plugin-core-1.2.0.RELEASE.jar;D:\Program Files\maven-repository\org\springframework\plugin\spring-plugin-metadata\1.2.0.RELEASE\spring-plugin-metadata-1.2.0.RELEASE.jar;D:\Program Files\maven-repository\org\mapstruct\mapstruct\1.2.0.Final\mapstruct-1.2.0.Final.jar;D:\Program Files\maven-repository\io\springfox\springfox-swagger-ui\2.8.0\springfox-swagger-ui-2.8.0.jar;D:\Program Files\maven-repository\com\github\xiaoymin\swagger-bootstrap-ui\1.9.6\swagger-bootstrap-ui-1.9.6.jar;D:\Program Files\maven-repository\org\javassist\javassist\3.25.0-GA\javassist-3.25.0-GA.jar;D:\Program Files\maven-repository\org\apache\httpcomponents\httpclient\4.5.2\httpclient-4.5.2.jar;D:\Program Files\maven-repository\org\apache\httpcomponents\httpcore\4.4.14\httpcore-4.4.14.jar;D:\Program Files\maven-repository\com\louislivi\fastdep\fastdep-datasource\1.0.5\fastdep-datasource-1.0.5.jar;D:\Program Files\maven-repository\org\springframework\boot\spring-boot-starter-jta-atomikos\2.3.7.RELEASE\spring-boot-starter-jta-atomikos-2.3.7.RELEASE.jar;D:\Program Files\maven-repository\com\atomikos\transactions-jms\4.0.6\transactions-jms-4.0.6.jar;D:\Program Files\maven-repository\com\atomikos\transactions-jta\4.0.6\transactions-jta-4.0.6.jar;D:\Program Files\maven-repository\com\atomikos\transactions-api\4.0.6\transactions-api-4.0.6.jar;D:\Program Files\maven-repository\com\atomikos\transactions\4.0.6\transactions-4.0.6.jar;D:\Program Files\maven-repository\com\atomikos\atomikos-util\4.0.6\atomikos-util-4.0.6.jar;D:\Program Files\maven-repository\com\atomikos\transactions-jdbc\4.0.6\transactions-jdbc-4.0.6.jar;D:\Program Files\maven-repository\jakarta\transaction\jakarta.transaction-api\1.3.3\jakarta.transaction-api-1.3.3.jar;D:\Program Files\maven-repository\org\mybatis\spring\boot\mybatis-spring-boot-starter\1.3.2\mybatis-spring-boot-starter-1.3.2.jar;D:\Program Files\maven-repository\org\mybatis\spring\boot\mybatis-spring-boot-autoconfigure\1.3.2\mybatis-spring-boot-autoconfigure-1.3.2.jar;D:\Program Files\maven-repository\org\mybatis\mybatis\3.4.6\mybatis-3.4.6.jar;D:\Program Files\maven-repository\org\mybatis\mybatis-spring\1.3.2\mybatis-spring-1.3.2.jar;D:\Program Files\maven-repository\net\bytebuddy\byte-buddy\1.10.18\byte-buddy-1.10.18.jar;D:\Program Files\maven-repository\org\springframework\spring-core\5.2.12.RELEASE\spring-core-5.2.12.RELEASE.jar;D:\Program Files\maven-repository\org\springframework\spring-jcl\5.2.12.RELEASE\spring-jcl-5.2.12.RELEASE.jar;D:\Program Files\IntelliJ IDEA 2019.3.4\lib\idea_rt.jar" com.iwhalecloud.yunnan.interfacepro.InterfaceproApplication
Connected to the target VM, address: '127.0.0.1:57536', transport: 'socket'
. ____ _ __ _ _
/\ / ' __ _ () __ __ _ \ \ \
( ( )__ | '_ | '| | ' / ` | \ \ \
\/ )| |)| | | | | || (| | ) ) ) )
' || .__|| ||| |_, | / / / /
=========||==============|/=////
:: Spring Boot :: (v2.3.7.RELEASE)
2021-01-04 12:19:47.998 INFO 8252 --- [ restartedMain] c.i.y.i.InterfaceproApplication : Starting InterfaceproApplication on USER-TR9SVRMTDN with PID 8252 (E:\ProgramFiles\IdeaProjects\interfacePro\target\classes started by Administrator in E:\ProgramFiles\IdeaProjects\interfacePro)
2021-01-04 12:19:48.016 INFO 8252 --- [ restartedMain] c.i.y.i.InterfaceproApplication : No active profile set, falling back to default profiles: default
2021-01-04 12:19:48.178 INFO 8252 --- [ restartedMain] .e.DevToolsPropertyDefaultsPostProcessor : Devtools property defaults active! Set 'spring.devtools.add-properties' to 'false' to disable
2021-01-04 12:19:48.178 INFO 8252 --- [ restartedMain] .e.DevToolsPropertyDefaultsPostProcessor : For additional web related logging consider setting the 'logging.level.web' property to 'DEBUG'
2021-01-04 12:19:50.740 ERROR 8252 --- [ restartedMain] c.l.f.d.FastDepDataSourceRegister :
java.lang.IllegalArgumentException: Location pattern must not be null
at org.springframework.util.Assert.notNull(Assert.java:201) ~[spring-core-5.2.12.RELEASE.jar:5.2.12.RELEASE]
at org.springframework.core.io.support.PathMatchingResourcePatternResolver.getResources(PathMatchingResourcePatternResolver.java:279) ~[spring-core-5.2.12.RELEASE.jar:5.2.12.RELEASE]
at com.louislivi.fastdep.datasource.FastDepDataSourceRegister.lambda$registerBeanDefinitions$2(FastDepDataSourceRegister.java:124) ~[fastdep-datasource-1.0.5.jar:1.0.5]
at com.louislivi.fastdep.datasource.FastDepDataSourceRegister.registerBeanDefinitions(FastDepDataSourceRegister.java:138) ~[fastdep-datasource-1.0.5.jar:1.0.5]
at org.springframework.context.annotation.ImportBeanDefinitionRegistrar.registerBeanDefinitions(ImportBeanDefinitionRegistrar.java:86) ~[spring-context-5.2.12.RELEASE.jar:5.2.12.RELEASE]
at org.springframework.context.annotation.ConfigurationClassBeanDefinitionReader.lambda$loadBeanDefinitionsFromRegistrars$1(ConfigurationClassBeanDefinitionReader.java:384) ~[spring-context-5.2.12.RELEASE.jar:5.2.12.RELEASE]
at java.util.LinkedHashMap.forEach(LinkedHashMap.java:684) ~[na:1.8.0_131]
at org.springframework.context.annotation.ConfigurationClassBeanDefinitionReader.loadBeanDefinitionsFromRegistrars(ConfigurationClassBeanDefinitionReader.java:383) ~[spring-context-5.2.12.RELEASE.jar:5.2.12.RELEASE]
at org.springframework.context.annotation.ConfigurationClassBeanDefinitionReader.loadBeanDefinitionsForConfigurationClass(ConfigurationClassBeanDefinitionReader.java:148) ~[spring-context-5.2.12.RELEASE.jar:5.2.12.RELEASE]
at org.springframework.context.annotation.ConfigurationClassBeanDefinitionReader.loadBeanDefinitions(ConfigurationClassBeanDefinitionReader.java:120) ~[spring-context-5.2.12.RELEASE.jar:5.2.12.RELEASE]
at org.springframework.context.annotation.ConfigurationClassPostProcessor.processConfigBeanDefinitions(ConfigurationClassPostProcessor.java:331) ~[spring-context-5.2.12.RELEASE.jar:5.2.12.RELEASE]
at org.springframework.context.annotation.ConfigurationClassPostProcessor.postProcessBeanDefinitionRegistry(ConfigurationClassPostProcessor.java:236) ~[spring-context-5.2.12.RELEASE.jar:5.2.12.RELEASE]
at org.springframework.context.support.PostProcessorRegistrationDelegate.invokeBeanDefinitionRegistryPostProcessors(PostProcessorRegistrationDelegate.java:280) ~[spring-context-5.2.12.RELEASE.jar:5.2.12.RELEASE]
at org.springframework.context.support.PostProcessorRegistrationDelegate.invokeBeanFactoryPostProcessors(PostProcessorRegistrationDelegate.java:96) ~[spring-context-5.2.12.RELEASE.jar:5.2.12.RELEASE]
at org.springframework.context.support.AbstractApplicationContext.invokeBeanFactoryPostProcessors(AbstractApplicationContext.java:707) ~[spring-context-5.2.12.RELEASE.jar:5.2.12.RELEASE]
at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:533) ~[spring-context-5.2.12.RELEASE.jar:5.2.12.RELEASE]
at org.springframework.boot.web.servlet.context.ServletWebServerApplicationContext.refresh(ServletWebServerApplicationContext.java:143) ~[spring-boot-2.3.7.RELEASE.jar:2.3.7.RELEASE]
at org.springframework.boot.SpringApplication.refresh(SpringApplication.java:758) ~[spring-boot-2.3.7.RELEASE.jar:2.3.7.RELEASE]
at org.springframework.boot.SpringApplication.refresh(SpringApplication.java:750) ~[spring-boot-2.3.7.RELEASE.jar:2.3.7.RELEASE]
at org.springframework.boot.SpringApplication.refreshContext(SpringApplication.java:405) ~[spring-boot-2.3.7.RELEASE.jar:2.3.7.RELEASE]
at org.springframework.boot.SpringApplication.run(SpringApplication.java:315) ~[spring-boot-2.3.7.RELEASE.jar:2.3.7.RELEASE]
at org.springframework.boot.SpringApplication.run(SpringApplication.java:1237) ~[spring-boot-2.3.7.RELEASE.jar:2.3.7.RELEASE]
at org.springframework.boot.SpringApplication.run(SpringApplication.java:1226) ~[spring-boot-2.3.7.RELEASE.jar:2.3.7.RELEASE]
at com.iwhalecloud.yunnan.interfacepro.InterfaceproApplication.main(InterfaceproApplication.java:20) ~[classes/:na]
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[na:1.8.0_131]
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[na:1.8.0_131]
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[na:1.8.0_131]
at java.lang.reflect.Method.invoke(Method.java:498) ~[na:1.8.0_131]
at org.springframework.boot.devtools.restart.RestartLauncher.run(RestartLauncher.java:49) ~[spring-boot-devtools-2.3.7.RELEASE.jar:2.3.7.RELEASE]
2021-01-04 12:19:50.748 WARN 8252 --- [ restartedMain] o.m.s.mapper.ClassPathMapperScanner : Skipping MapperFactoryBean with name 'sysPermissionMapper' and 'com.iwhalecloud.yunnan.interfacepro.mapper.ogg.SysPermissionMapper' mapperInterface. Bean already defined with the same name!
2021-01-04 12:19:50.748 WARN 8252 --- [ restartedMain] o.m.s.mapper.ClassPathMapperScanner : Skipping MapperFactoryBean with name 'sysUserMapper' and 'com.iwhalecloud.yunnan.interfacepro.mapper.ogg.SysUserMapper' mapperInterface. Bean already defined with the same name!
2021-01-04 12:19:50.748 WARN 8252 --- [ restartedMain] o.m.s.mapper.ClassPathMapperScanner : Skipping MapperFactoryBean with name 'sysUserRoleMapper' and 'com.iwhalecloud.yunnan.interfacepro.mapper.ogg.SysUserRoleMapper' mapperInterface. Bean already defined with the same name!
2021-01-04 12:19:50.749 WARN 8252 --- [ restartedMain] o.m.s.mapper.ClassPathMapperScanner : No MyBatis mapper was found in '[com.iwhalecloud.yunnan.interfacepro.mapper.ogg]' package. Please check your configuration.
2021-01-04 12:19:50.749 INFO 8252 --- [ restartedMain] c.l.f.d.FastDepDataSourceRegister : Registration dataSource (oggDataSource) !
2021-01-04 12:19:50.874 ERROR 8252 --- [ restartedMain] c.l.f.d.FastDepDataSourceRegister :
java.lang.IllegalArgumentException: Location pattern must not be null
at org.springframework.util.Assert.notNull(Assert.java:201) ~[spring-core-5.2.12.RELEASE.jar:5.2.12.RELEASE]
at org.springframework.core.io.support.PathMatchingResourcePatternResolver.getResources(PathMatchingResourcePatternResolver.java:279) ~[spring-core-5.2.12.RELEASE.jar:5.2.12.RELEASE]
at com.louislivi.fastdep.datasource.FastDepDataSourceRegister.lambda$registerBeanDefinitions$2(FastDepDataSourceRegister.java:124) ~[fastdep-datasource-1.0.5.jar:1.0.5]
at com.louislivi.fastdep.datasource.FastDepDataSourceRegister.registerBeanDefinitions(FastDepDataSourceRegister.java:138) ~[fastdep-datasource-1.0.5.jar:1.0.5]
at org.springframework.context.annotation.ImportBeanDefinitionRegistrar.registerBeanDefinitions(ImportBeanDefinitionRegistrar.java:86) ~[spring-context-5.2.12.RELEASE.jar:5.2.12.RELEASE]
at org.springframework.context.annotation.ConfigurationClassBeanDefinitionReader.lambda$loadBeanDefinitionsFromRegistrars$1(ConfigurationClassBeanDefinitionReader.java:384) ~[spring-context-5.2.12.RELEASE.jar:5.2.12.RELEASE]
at java.util.LinkedHashMap.forEach(LinkedHashMap.java:684) ~[na:1.8.0_131]
at org.springframework.context.annotation.ConfigurationClassBeanDefinitionReader.loadBeanDefinitionsFromRegistrars(ConfigurationClassBeanDefinitionReader.java:383) ~[spring-context-5.2.12.RELEASE.jar:5.2.12.RELEASE]
at org.springframework.context.annotation.ConfigurationClassBeanDefinitionReader.loadBeanDefinitionsForConfigurationClass(ConfigurationClassBeanDefinitionReader.java:148) ~[spring-context-5.2.12.RELEASE.jar:5.2.12.RELEASE]
at org.springframework.context.annotation.ConfigurationClassBeanDefinitionReader.loadBeanDefinitions(ConfigurationClassBeanDefinitionReader.java:120) ~[spring-context-5.2.12.RELEASE.jar:5.2.12.RELEASE]
at org.springframework.context.annotation.ConfigurationClassPostProcessor.processConfigBeanDefinitions(ConfigurationClassPostProcessor.java:331) ~[spring-context-5.2.12.RELEASE.jar:5.2.12.RELEASE]
at org.springframework.context.annotation.ConfigurationClassPostProcessor.postProcessBeanDefinitionRegistry(ConfigurationClassPostProcessor.java:236) ~[spring-context-5.2.12.RELEASE.jar:5.2.12.RELEASE]
at org.springframework.context.support.PostProcessorRegistrationDelegate.invokeBeanDefinitionRegistryPostProcessors(PostProcessorRegistrationDelegate.java:280) ~[spring-context-5.2.12.RELEASE.jar:5.2.12.RELEASE]
at org.springframework.context.support.PostProcessorRegistrationDelegate.invokeBeanFactoryPostProcessors(PostProcessorRegistrationDelegate.java:96) ~[spring-context-5.2.12.RELEASE.jar:5.2.12.RELEASE]
at org.springframework.context.support.AbstractApplicationContext.invokeBeanFactoryPostProcessors(AbstractApplicationContext.java:707) ~[spring-context-5.2.12.RELEASE.jar:5.2.12.RELEASE]
at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:533) ~[spring-context-5.2.12.RELEASE.jar:5.2.12.RELEASE]
at org.springframework.boot.web.servlet.context.ServletWebServerApplicationContext.refresh(ServletWebServerApplicationContext.java:143) ~[spring-boot-2.3.7.RELEASE.jar:2.3.7.RELEASE]
at org.springframework.boot.SpringApplication.refresh(SpringApplication.java:758) ~[spring-boot-2.3.7.RELEASE.jar:2.3.7.RELEASE]
at org.springframework.boot.SpringApplication.refresh(SpringApplication.java:750) ~[spring-boot-2.3.7.RELEASE.jar:2.3.7.RELEASE]
at org.springframework.boot.SpringApplication.refreshContext(SpringApplication.java:405) ~[spring-boot-2.3.7.RELEASE.jar:2.3.7.RELEASE]
at org.springframework.boot.SpringApplication.run(SpringApplication.java:315) ~[spring-boot-2.3.7.RELEASE.jar:2.3.7.RELEASE]
at org.springframework.boot.SpringApplication.run(SpringApplication.java:1237) ~[spring-boot-2.3.7.RELEASE.jar:2.3.7.RELEASE]
at org.springframework.boot.SpringApplication.run(SpringApplication.java:1226) ~[spring-boot-2.3.7.RELEASE.jar:2.3.7.RELEASE]
at com.iwhalecloud.yunnan.interfacepro.InterfaceproApplication.main(InterfaceproApplication.java:20) ~[classes/:na]
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[na:1.8.0_131]
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[na:1.8.0_131]
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[na:1.8.0_131]
at java.lang.reflect.Method.invoke(Method.java:498) ~[na:1.8.0_131]
at org.springframework.boot.devtools.restart.RestartLauncher.run(RestartLauncher.java:49) ~[spring-boot-devtools-2.3.7.RELEASE.jar:2.3.7.RELEASE]
2021-01-04 12:19:50.878 WARN 8252 --- [ restartedMain] o.m.s.mapper.ClassPathMapperScanner : No MyBatis mapper was found in '[com.iwhalecloud.yunnan.interfacepro.mapper.iom]' package. Please check your configuration.
2021-01-04 12:19:50.879 INFO 8252 --- [ restartedMain] c.l.f.d.FastDepDataSourceRegister : Registration dataSource (iomDataSource) !
2021-01-04 12:19:50.994 ERROR 8252 --- [ restartedMain] c.l.f.d.FastDepDataSourceRegister :
java.lang.IllegalArgumentException: Location pattern must not be null
at org.springframework.util.Assert.notNull(Assert.java:201) ~[spring-core-5.2.12.RELEASE.jar:5.2.12.RELEASE]
at org.springframework.core.io.support.PathMatchingResourcePatternResolver.getResources(PathMatchingResourcePatternResolver.java:279) ~[spring-core-5.2.12.RELEASE.jar:5.2.12.RELEASE]
at com.louislivi.fastdep.datasource.FastDepDataSourceRegister.lambda$registerBeanDefinitions$2(FastDepDataSourceRegister.java:124) ~[fastdep-datasource-1.0.5.jar:1.0.5]
at com.louislivi.fastdep.datasource.FastDepDataSourceRegister.registerBeanDefinitions(FastDepDataSourceRegister.java:138) ~[fastdep-datasource-1.0.5.jar:1.0.5]
at org.springframework.context.annotation.ImportBeanDefinitionRegistrar.registerBeanDefinitions(ImportBeanDefinitionRegistrar.java:86) ~[spring-context-5.2.12.RELEASE.jar:5.2.12.RELEASE]
at org.springframework.context.annotation.ConfigurationClassBeanDefinitionReader.lambda$loadBeanDefinitionsFromRegistrars$1(ConfigurationClassBeanDefinitionReader.java:384) ~[spring-context-5.2.12.RELEASE.jar:5.2.12.RELEASE]
at java.util.LinkedHashMap.forEach(LinkedHashMap.java:684) ~[na:1.8.0_131]
at org.springframework.context.annotation.ConfigurationClassBeanDefinitionReader.loadBeanDefinitionsFromRegistrars(ConfigurationClassBeanDefinitionReader.java:383) ~[spring-context-5.2.12.RELEASE.jar:5.2.12.RELEASE]
at org.springframework.context.annotation.ConfigurationClassBeanDefinitionReader.loadBeanDefinitionsForConfigurationClass(ConfigurationClassBeanDefinitionReader.java:148) ~[spring-context-5.2.12.RELEASE.jar:5.2.12.RELEASE]
at org.springframework.context.annotation.ConfigurationClassBeanDefinitionReader.loadBeanDefinitions(ConfigurationClassBeanDefinitionReader.java:120) ~[spring-context-5.2.12.RELEASE.jar:5.2.12.RELEASE]
at org.springframework.context.annotation.ConfigurationClassPostProcessor.processConfigBeanDefinitions(ConfigurationClassPostProcessor.java:331) ~[spring-context-5.2.12.RELEASE.jar:5.2.12.RELEASE]
at org.springframework.context.annotation.ConfigurationClassPostProcessor.postProcessBeanDefinitionRegistry(ConfigurationClassPostProcessor.java:236) ~[spring-context-5.2.12.RELEASE.jar:5.2.12.RELEASE]
at org.springframework.context.support.PostProcessorRegistrationDelegate.invokeBeanDefinitionRegistryPostProcessors(PostProcessorRegistrationDelegate.java:280) ~[spring-context-5.2.12.RELEASE.jar:5.2.12.RELEASE]
at org.springframework.context.support.PostProcessorRegistrationDelegate.invokeBeanFactoryPostProcessors(PostProcessorRegistrationDelegate.java:96) ~[spring-context-5.2.12.RELEASE.jar:5.2.12.RELEASE]
at org.springframework.context.support.AbstractApplicationContext.invokeBeanFactoryPostProcessors(AbstractApplicationContext.java:707) ~[spring-context-5.2.12.RELEASE.jar:5.2.12.RELEASE]
at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:533) ~[spring-context-5.2.12.RELEASE.jar:5.2.12.RELEASE]
at org.springframework.boot.web.servlet.context.ServletWebServerApplicationContext.refresh(ServletWebServerApplicationContext.java:143) ~[spring-boot-2.3.7.RELEASE.jar:2.3.7.RELEASE]
at org.springframework.boot.SpringApplication.refresh(SpringApplication.java:758) ~[spring-boot-2.3.7.RELEASE.jar:2.3.7.RELEASE]
at org.springframework.boot.SpringApplication.refresh(SpringApplication.java:750) ~[spring-boot-2.3.7.RELEASE.jar:2.3.7.RELEASE]
at org.springframework.boot.SpringApplication.refreshContext(SpringApplication.java:405) ~[spring-boot-2.3.7.RELEASE.jar:2.3.7.RELEASE]
at org.springframework.boot.SpringApplication.run(SpringApplication.java:315) ~[spring-boot-2.3.7.RELEASE.jar:2.3.7.RELEASE]
at org.springframework.boot.SpringApplication.run(SpringApplication.java:1237) ~[spring-boot-2.3.7.RELEASE.jar:2.3.7.RELEASE]
at org.springframework.boot.SpringApplication.run(SpringApplication.java:1226) ~[spring-boot-2.3.7.RELEASE.jar:2.3.7.RELEASE]
at com.iwhalecloud.yunnan.interfacepro.InterfaceproApplication.main(InterfaceproApplication.java:20) ~[classes/:na]
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[na:1.8.0_131]
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[na:1.8.0_131]
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[na:1.8.0_131]
at java.lang.reflect.Method.invoke(Method.java:498) ~[na:1.8.0_131]
at org.springframework.boot.devtools.restart.RestartLauncher.run(RestartLauncher.java:49) ~[spring-boot-devtools-2.3.7.RELEASE.jar:2.3.7.RELEASE]
2021-01-04 12:19:50.997 WARN 8252 --- [ restartedMain] o.m.s.mapper.ClassPathMapperScanner : No MyBatis mapper was found in '[com.iwhalecloud.yunnan.interfacepro.mapper.wfm]' package. Please check your configuration.
2021-01-04 12:19:50.998 INFO 8252 --- [ restartedMain] c.l.f.d.FastDepDataSourceRegister : Registration dataSource (wfmDataSource) !
2021-01-04 12:19:50.999 INFO 8252 --- [ restartedMain] c.l.f.d.FastDepDataSourceRegister : Registration dataSource completed !
2021-01-04 12:19:51.557 INFO 8252 --- [ restartedMain] .s.d.r.c.RepositoryConfigurationDelegate : Multiple Spring Data modules found, entering strict repository configuration mode!
2021-01-04 12:19:51.570 INFO 8252 --- [ restartedMain] .s.d.r.c.RepositoryConfigurationDelegate : Bootstrapping Spring Data Redis repositories in DEFAULT mode.
2021-01-04 12:19:51.731 INFO 8252 --- [ restartedMain] .s.d.r.c.RepositoryConfigurationDelegate : Finished Spring Data repository scanning in 102ms. Found 0 Redis repository interfaces.
2021-01-04 12:19:52.599 INFO 8252 --- [ restartedMain] trationDelegate$BeanPostProcessorChecker : Bean 'shiroConfig' of type [com.iwhalecloud.yunnan.interfacepro.config.ShiroConfig$$EnhancerBySpringCGLIB$$cd3f1a4d] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
2021-01-04 12:19:52.897 INFO 8252 --- [ restartedMain] trationDelegate$BeanPostProcessorChecker : Bean 'shiroRealm' of type [com.iwhalecloud.yunnan.interfacepro.shiro.ShiroRealm] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
2021-01-04 12:19:54.645 INFO 8252 --- [ restartedMain] trationDelegate$BeanPostProcessorChecker : Bean 'securityManager' of type [org.apache.shiro.web.mgt.DefaultWebSecurityManager] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
2021-01-04 12:19:54.998 INFO 8252 --- [ restartedMain] trationDelegate$BeanPostProcessorChecker : Bean 'authorizationAttributeSourceAdvisor' of type [org.apache.shiro.spring.security.interceptor.AuthorizationAttributeSourceAdvisor] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
2021-01-04 12:19:55.253 INFO 8252 --- [ restartedMain] trationDelegate$BeanPostProcessorChecker : Bean 'spring.redis-org.springframework.boot.autoconfigure.data.redis.RedisProperties' of type [org.springframework.boot.autoconfigure.data.redis.RedisProperties] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
2021-01-04 12:19:55.278 INFO 8252 --- [ restartedMain] trationDelegate$BeanPostProcessorChecker : Bean 'org.springframework.boot.autoconfigure.data.redis.LettuceConnectionConfiguration' of type [org.springframework.boot.autoconfigure.data.redis.LettuceConnectionConfiguration] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
2021-01-04 12:19:55.818 INFO 8252 --- [ restartedMain] trationDelegate$BeanPostProcessorChecker : Bean 'lettuceClientResources' of type [io.lettuce.core.resource.DefaultClientResources] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
2021-01-04 12:19:56.333 INFO 8252 --- [ restartedMain] trationDelegate$BeanPostProcessorChecker : Bean 'redisConnectionFactory' of type [org.springframework.data.redis.connection.lettuce.LettuceConnectionFactory] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
2021-01-04 12:19:56.359 INFO 8252 --- [ restartedMain] trationDelegate$BeanPostProcessorChecker : Bean 'redisConfig' of type [com.iwhalecloud.yunnan.interfacepro.config.RedisConfig$$EnhancerBySpringCGLIB$$180da197] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
2021-01-04 12:19:56.485 INFO 8252 --- [ restartedMain] trationDelegate$BeanPostProcessorChecker : Bean 'org.apache.shiro.spring.boot.autoconfigure.ShiroBeanAutoConfiguration' of type [org.apache.shiro.spring.boot.autoconfigure.ShiroBeanAutoConfiguration$$EnhancerBySpringCGLIB$$2a1cde56] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
2021-01-04 12:19:56.505 INFO 8252 --- [ restartedMain] trationDelegate$BeanPostProcessorChecker : Bean 'eventBus' of type [org.apache.shiro.event.support.DefaultEventBus] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
2021-01-04 12:19:57.550 INFO 8252 --- [ restartedMain] o.s.b.w.embedded.tomcat.TomcatWebServer : Tomcat initialized with port(s): 8081 (http)
2021-01-04 12:19:57.874 INFO 8252 --- [ restartedMain] o.apache.catalina.core.StandardService : Starting service [Tomcat]
2021-01-04 12:19:57.874 INFO 8252 --- [ restartedMain] org.apache.catalina.core.StandardEngine : Starting Servlet engine: [Apache Tomcat/9.0.41]
2021-01-04 12:19:58.120 INFO 8252 --- [ restartedMain] o.a.c.c.C.[Tomcat].[localhost].[/] : Initializing Spring embedded WebApplicationContext
2021-01-04 12:19:58.120 INFO 8252 --- [ restartedMain] w.s.c.ServletWebServerApplicationContext : Root WebApplicationContext: initialization completed in 9940 ms
2021-01-04 12:19:58.350 WARN 8252 --- [ restartedMain] ConfigServletWebServerApplicationContext : Exception encountered during context initialization - cancelling refresh attempt: org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'sysUserServiceImpl': Unsatisfied dependency expressed through field 'baseMapper'; nested exception is org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'sysUserMapper' defined in file [E:\ProgramFiles\IdeaProjects\interfacePro\target\classes\com\iwhalecloud\yunnan\interfacepro\mapper\ogg\SysUserMapper.class]: Unsatisfied dependency expressed through bean property 'sqlSessionFactory'; nested exception is org.springframework.beans.factory.NoUniqueBeanDefinitionException: No qualifying bean of type 'org.apache.ibatis.session.SqlSessionFactory' available: expected single matching bean but found 3: oggSqlSessionFactory,iomSqlSessionFactory,wfmSqlSessionFactory
2021-01-04 12:19:58.400 INFO 8252 --- [ restartedMain] o.apache.catalina.core.StandardService : Stopping service [Tomcat]
2021-01-04 12:19:58.529 INFO 8252 --- [ restartedMain] ConditionEvaluationReportLoggingListener :
Error starting ApplicationContext. To display the conditions report re-run your application with 'debug' enabled.
2021-01-04 12:19:58.554 ERROR 8252 --- [ restartedMain] o.s.b.d.LoggingFailureAnalysisReporter :
APPLICATION FAILED TO START
Description:
file [E:\ProgramFiles\IdeaProjects\interfacePro\target\classes\com\iwhalecloud\yunnan\interfacepro\mapper\ogg\SysUserMapper.class] required a single bean, but 3 were found:
- oggSqlSessionFactory: defined in null
- iomSqlSessionFactory: defined in null
- wfmSqlSessionFactory: defined in null
Action:
Consider marking one of the beans as @primary, updating the consumer to accept multiple beans, or using @qualifier to identify the bean that should be consumed
Disconnected from the target VM, address: '127.0.0.1:57536', transport: 'socket'
Process finished with exit code 1