StupidManYI opened a new issue, #18192:
URL: https://github.com/apache/shardingsphere/issues/18192
. ____ _ __ _ _
/\\ / ___'_ __ _ _(_)_ __ __ _ \ \ \ \
( ( )\___ | '_ | '_| | '_ \/ _` | \ \ \ \
\\/ ___)| |_)| | | | | || (_| | ) ) ) )
' |____| .__|_| |_|_| |_\__, | / / / /
=========|_|==============|___/=/_/_/_/
:: Spring Boot :: (v2.3.11.RELEASE)
2022-06-06 15:43:43.007 WARN 10356 --- [ main]
o.s.boot.StartupInfoLogger :
InetAddress.getLocalHost().getHostName() took 5002 milliseconds to respond.
Please verify your network configuration (macOS machines may need to add
entries to /etc/hosts).
2022-06-06 15:43:48.021 INFO 10356 --- [ main]
c.e.e.application.app.AppApplication : Starting AppApplication on
yichenkangdeMacBook-Air.local with PID 10356
(/Users/yichenkang/projects/company/echao-platform/application/app/target/classes
started by yichenkang in /Users/yichenkang/projects/company/echao-platform)
2022-06-06 15:43:48.022 INFO 10356 --- [ main]
c.e.e.application.app.AppApplication : The following profiles are active:
dev,shardingsphere
2022-06-06 15:43:48.914 INFO 10356 --- [ main]
.s.d.r.c.RepositoryConfigurationDelegate : Multiple Spring Data modules found,
entering strict repository configuration mode!
2022-06-06 15:43:48.915 INFO 10356 --- [ main]
.s.d.r.c.RepositoryConfigurationDelegate : Bootstrapping Spring Data
Elasticsearch repositories in DEFAULT mode.
2022-06-06 15:43:48.930 INFO 10356 --- [ main]
.s.d.r.c.RepositoryConfigurationDelegate : Finished Spring Data repository
scanning in 12ms. Found 0 Elasticsearch repository interfaces.
2022-06-06 15:43:48.933 INFO 10356 --- [ main]
.s.d.r.c.RepositoryConfigurationDelegate : Multiple Spring Data modules found,
entering strict repository configuration mode!
2022-06-06 15:43:48.933 INFO 10356 --- [ main]
.s.d.r.c.RepositoryConfigurationDelegate : Bootstrapping Spring Data Reactive
Elasticsearch repositories in DEFAULT mode.
2022-06-06 15:43:48.936 INFO 10356 --- [ main]
.s.d.r.c.RepositoryConfigurationDelegate : Finished Spring Data repository
scanning in 2ms. Found 0 Reactive Elasticsearch repository interfaces.
2022-06-06 15:43:48.948 INFO 10356 --- [ main]
.s.d.r.c.RepositoryConfigurationDelegate : Multiple Spring Data modules found,
entering strict repository configuration mode!
2022-06-06 15:43:48.949 INFO 10356 --- [ main]
.s.d.r.c.RepositoryConfigurationDelegate : Bootstrapping Spring Data Redis
repositories in DEFAULT mode.
2022-06-06 15:43:48.958 INFO 10356 --- [ main]
.s.d.r.c.RepositoryConfigurationDelegate : Finished Spring Data repository
scanning in 2ms. Found 0 Redis repository interfaces.
2022-06-06 15:43:49.213 INFO 10356 --- [ main]
trationDelegate$BeanPostProcessorChecker : Bean
'stringToNoneShardingStrategyConfigurationConverter' of type
[org.apache.shardingsphere.spring.boot.converter.StringToNoneShardingStrategyConfigurationConverter]
is not eligible for getting processed by all BeanPostProcessors (for example:
not eligible for auto-proxying)
2022-06-06 15:43:49.217 INFO 10356 --- [ main]
trationDelegate$BeanPostProcessorChecker : Bean
'spring.shardingsphere-org.apache.shardingsphere.spring.boot.prop.SpringBootPropertiesConfiguration'
of type
[org.apache.shardingsphere.spring.boot.prop.SpringBootPropertiesConfiguration]
is not eligible for getting processed by all BeanPostProcessors (for example:
not eligible for auto-proxying)
2022-06-06 15:43:49.383 WARN 10356 --- [ main]
ConfigServletWebServerApplicationContext : Exception encountered during context
initialization - cancelling refresh attempt:
org.springframework.beans.factory.BeanCreationException: Error creating bean
with name
'org.apache.shardingsphere.spring.boot.ShardingSphereAutoConfiguration':
Initialization of bean failed; nested exception is
java.lang.IllegalArgumentException: argument type mismatch
2022-06-06 15:43:49.389 INFO 10356 --- [ main]
ConditionEvaluationReportLoggingListener :
Error starting ApplicationContext. To display the conditions report re-run
your application with 'debug' enabled.
2022-06-06 15:43:49.437 ERROR 10356 --- [ main]
o.s.boot.SpringApplication : Application run failed
org.springframework.beans.factory.BeanCreationException: Error creating bean
with name
'org.apache.shardingsphere.spring.boot.ShardingSphereAutoConfiguration':
Initialization of bean failed; nested exception is
java.lang.IllegalArgumentException: argument type mismatch
at
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:602)
~[spring-beans-5.2.15.RELEASE.jar:5.2.15.RELEASE]
at
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:516)
~[spring-beans-5.2.15.RELEASE.jar:5.2.15.RELEASE]
at
org.springframework.beans.factory.support.AbstractBeanFactory.lambda$doGetBean$0(AbstractBeanFactory.java:324)
~[spring-beans-5.2.15.RELEASE.jar:5.2.15.RELEASE]
at
org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:234)
~[spring-beans-5.2.15.RELEASE.jar:5.2.15.RELEASE]
at
org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:322)
~[spring-beans-5.2.15.RELEASE.jar:5.2.15.RELEASE]
at
org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:202)
~[spring-beans-5.2.15.RELEASE.jar:5.2.15.RELEASE]
at
org.springframework.beans.factory.support.ConstructorResolver.instantiateUsingFactoryMethod(ConstructorResolver.java:409)
~[spring-beans-5.2.15.RELEASE.jar:5.2.15.RELEASE]
at
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.instantiateUsingFactoryMethod(AbstractAutowireCapableBeanFactory.java:1341)
~[spring-beans-5.2.15.RELEASE.jar:5.2.15.RELEASE]
at
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBeanInstance(AbstractAutowireCapableBeanFactory.java:1181)
~[spring-beans-5.2.15.RELEASE.jar:5.2.15.RELEASE]
at
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:556)
~[spring-beans-5.2.15.RELEASE.jar:5.2.15.RELEASE]
at
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:516)
~[spring-beans-5.2.15.RELEASE.jar:5.2.15.RELEASE]
at
org.springframework.beans.factory.support.AbstractBeanFactory.lambda$doGetBean$0(AbstractBeanFactory.java:324)
~[spring-beans-5.2.15.RELEASE.jar:5.2.15.RELEASE]
at
org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:234)
~[spring-beans-5.2.15.RELEASE.jar:5.2.15.RELEASE]
at
org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:322)
~[spring-beans-5.2.15.RELEASE.jar:5.2.15.RELEASE]
at
org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:207)
~[spring-beans-5.2.15.RELEASE.jar:5.2.15.RELEASE]
at
org.springframework.context.support.PostProcessorRegistrationDelegate.registerBeanPostProcessors(PostProcessorRegistrationDelegate.java:229)
~[spring-context-5.2.15.RELEASE.jar:5.2.15.RELEASE]
at
org.springframework.context.support.AbstractApplicationContext.registerBeanPostProcessors(AbstractApplicationContext.java:723)
~[spring-context-5.2.15.RELEASE.jar:5.2.15.RELEASE]
at
org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:536)
~[spring-context-5.2.15.RELEASE.jar:5.2.15.RELEASE]
at
org.springframework.boot.web.servlet.context.ServletWebServerApplicationContext.refresh(ServletWebServerApplicationContext.java:143)
~[spring-boot-2.3.11.RELEASE.jar:2.3.11.RELEASE]
at
org.springframework.boot.SpringApplication.refresh(SpringApplication.java:755)
[spring-boot-2.3.11.RELEASE.jar:2.3.11.RELEASE]
at
org.springframework.boot.SpringApplication.refresh(SpringApplication.java:747)
[spring-boot-2.3.11.RELEASE.jar:2.3.11.RELEASE]
at
org.springframework.boot.SpringApplication.refreshContext(SpringApplication.java:402)
[spring-boot-2.3.11.RELEASE.jar:2.3.11.RELEASE]
at
org.springframework.boot.SpringApplication.run(SpringApplication.java:312)
[spring-boot-2.3.11.RELEASE.jar:2.3.11.RELEASE]
at
org.springframework.boot.SpringApplication.run(SpringApplication.java:1247)
[spring-boot-2.3.11.RELEASE.jar:2.3.11.RELEASE]
at
org.springframework.boot.SpringApplication.run(SpringApplication.java:1236)
[spring-boot-2.3.11.RELEASE.jar:2.3.11.RELEASE]
at
com.echao.echao.application.app.AppApplication.main(AppApplication.java:21)
[classes/:na]
Caused by: java.lang.IllegalArgumentException: argument type mismatch
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
~[na:1.8.0_332]
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
~[na:1.8.0_332]
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
~[na:1.8.0_332]
at java.lang.reflect.Method.invoke(Method.java:498) ~[na:1.8.0_332]
at
org.apache.shardingsphere.infra.datasource.pool.creator.DataSourceReflection.setField(DataSourceReflection.java:141)
~[shardingsphere-infra-common-5.1.0.jar:5.1.0]
at
org.apache.shardingsphere.infra.datasource.pool.creator.DataSourceReflection.lambda$setField$0(DataSourceReflection.java:120)
~[shardingsphere-infra-common-5.1.0.jar:5.1.0]
at java.util.Optional.ifPresent(Optional.java:159) ~[na:1.8.0_332]
at
org.apache.shardingsphere.infra.datasource.pool.creator.DataSourceReflection.setField(DataSourceReflection.java:120)
~[shardingsphere-infra-common-5.1.0.jar:5.1.0]
at
org.apache.shardingsphere.infra.datasource.pool.creator.DataSourcePoolCreator.setConfiguredFields(DataSourcePoolCreator.java:86)
~[shardingsphere-infra-common-5.1.0.jar:5.1.0]
at
org.apache.shardingsphere.infra.datasource.pool.creator.DataSourcePoolCreator.create(DataSourcePoolCreator.java:68)
~[shardingsphere-infra-common-5.1.0.jar:5.1.0]
at
org.apache.shardingsphere.spring.boot.datasource.DataSourceMapSetter.getDataSource(DataSourceMapSetter.java:92)
~[shardingsphere-jdbc-spring-boot-starter-infra-5.1.0.jar:5.1.0]
at
org.apache.shardingsphere.spring.boot.datasource.DataSourceMapSetter.getDataSourceMap(DataSourceMapSetter.java:65)
~[shardingsphere-jdbc-spring-boot-starter-infra-5.1.0.jar:5.1.0]
at
org.apache.shardingsphere.spring.boot.ShardingSphereAutoConfiguration.setEnvironment(ShardingSphereAutoConfiguration.java:122)
~[shardingsphere-jdbc-core-spring-boot-starter-5.1.0.jar:5.1.0]
at
org.springframework.context.support.ApplicationContextAwareProcessor.invokeAwareInterfaces(ApplicationContextAwareProcessor.java:108)
~[spring-context-5.2.15.RELEASE.jar:5.2.15.RELEASE]
at
org.springframework.context.support.ApplicationContextAwareProcessor.postProcessBeforeInitialization(ApplicationContextAwareProcessor.java:100)
~[spring-context-5.2.15.RELEASE.jar:5.2.15.RELEASE]
at
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.applyBeanPostProcessorsBeforeInitialization(AbstractAutowireCapableBeanFactory.java:415)
~[spring-beans-5.2.15.RELEASE.jar:5.2.15.RELEASE]
at
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1791)
~[spring-beans-5.2.15.RELEASE.jar:5.2.15.RELEASE]
at
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:594)
~[spring-beans-5.2.15.RELEASE.jar:5.2.15.RELEASE]
... 25 common frames omitted
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail:
[email protected]
For queries about this service, please contact Infrastructure at:
[email protected]