You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@shardingsphere.apache.org by GitBox <gi...@apache.org> on 2023/01/12 02:25:37 UTC

[GitHub] [shardingsphere] 790477691 opened a new issue, #23516: An error occurred in loading the data source using the java API

790477691 opened a new issue, #23516:
URL: https://github.com/apache/shardingsphere/issues/23516

   
   ### Which version of ShardingSphere did you use?
   5.3.1
   ### Which project did you use? ShardingSphere-JDBC or ShardingSphere-Proxy?
   shardingsphere-jdbc-core
   ### Expected behavior
   Normal load data source
   ### Actual behavior
   An error occurred loading the data source:
   ```text
   org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'dataSourceAwareService': Injection of autowired dependencies failed; nested exception is org.apache.shardingsphere.infra.util.spi.exception.ServiceProviderNotFoundException: SPI-00001: No implementation class load from SPI `org.apache.shardingsphere.infra.instance.metadata.InstanceMetaDataBuilder` with type `JDBC`.
   	at org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor.postProcessProperties(AutowiredAnnotationBeanPostProcessor.java:380)
   	at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:1411)
   	at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:592)
   	at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:515)
   	at org.springframework.beans.factory.support.AbstractBeanFactory.lambda$doGetBean$0(AbstractBeanFactory.java:320)
   	at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:222)
   	at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:318)
   	at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:199)
   	at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:845)
   	at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:877)
   	at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:549)
   	at org.springframework.boot.web.servlet.context.ServletWebServerApplicationContext.refresh(ServletWebServerApplicationContext.java:140)
   	at org.springframework.boot.SpringApplication.refresh(SpringApplication.java:775)
   	at org.springframework.boot.SpringApplication.refreshContext(SpringApplication.java:397)
   	at org.springframework.boot.SpringApplication.run(SpringApplication.java:316)
   	at org.springframework.boot.builder.SpringApplicationBuilder.run(SpringApplicationBuilder.java:139)
   	at com.hnmjm.vehicle.spring.SpringBoot.startWeb(SpringBoot.java:46)
   	at com.hnmjm.vehicle.midsrv.MiddleServer.main(MiddleServer.java:53)
   Caused by: org.apache.shardingsphere.infra.util.spi.exception.ServiceProviderNotFoundException: SPI-00001: No implementation class load from SPI `org.apache.shardingsphere.infra.instance.metadata.InstanceMetaDataBuilder` with type `JDBC`.
   	at org.apache.shardingsphere.infra.util.spi.type.typed.TypedSPIRegistry.getRegisteredService(TypedSPIRegistry.java:100)
   	at org.apache.shardingsphere.driver.jdbc.core.datasource.ShardingSphereDataSource.createContextManager(ShardingSphereDataSource.java:72)
   	at org.apache.shardingsphere.driver.jdbc.core.datasource.ShardingSphereDataSource.<init>(ShardingSphereDataSource.java:66)
   	at org.apache.shardingsphere.driver.api.ShardingSphereDataSourceFactory.createDataSource(ShardingSphereDataSourceFactory.java:93)
   	at com.hnmjm.vehicle.db.DataSourceAwareService.setDataSourceInitAware(DataSourceAwareService.java:136)
   	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
   	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
   	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
   	at java.lang.reflect.Method.invoke(Method.java:498)
   	at org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor$AutowiredMethodElement.inject(AutowiredAnnotationBeanPostProcessor.java:708)
   	at org.springframework.beans.factory.annotation.InjectionMetadata.inject(InjectionMetadata.java:90)
   	at org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor.postProcessProperties(AutowiredAnnotationBeanPostProcessor.java:374)
   	... 17 more
   ```
   ### Reason analyze (If you can)
   
   ### Steps to reproduce the behavior, such as: SQL to execute, sharding rule configuration, when exception occur etc.
   
   ### Example codes for reproduce this issue (such as a github link).
   ```xml
           <!-- https://mvnrepository.com/artifact/org.apache.shardingsphere/shardingsphere-jdbc-core -->
           <dependency>
               <groupId>org.apache.shardingsphere</groupId>
               <artifactId>shardingsphere-jdbc-core</artifactId>
               <version>5.3.1</version>
               <exclusions>
                   <exclusion>
                       <artifactId>shardingsphere-infra-util</artifactId>
                       <groupId>org.apache.shardingsphere</groupId>
                   </exclusion>
               </exclusions>
           </dependency>
           <!-- https://mvnrepository.com/artifact/org.apache.shardingsphere/shardingsphere-infra-util -->
           <dependency>
               <groupId>org.apache.shardingsphere</groupId>
               <artifactId>shardingsphere-infra-util</artifactId>
               <version>5.2.0</version>
           </dependency>
   ```
   ```text
   # ============= 数据源基础配置(这边配置所有数据源共享属性) =============
   # 连接池初始化大小,最小,最大
   default.initialSize=2
   default.minIdle=1
   default.maxActive=500
   # 配置获取连接等待超时的时间
   default.maxWait=60000
   # 配置间隔多久才进行一次检测,检测需要关闭的空闲连接,单位是毫秒
   default.timeBetweenEvictionRunsMillis=3000
   # 配置一个连接在池中最小生存的时间,单位是毫秒
   default.minEvictableIdleTimeMillis=300000
   default.validationQuery=SELECT 'x' FROM DUAL
   default.testWhileIdle=true
   default.testOnBorrow=false
   default.testOnReturn=false
   # 打开PSCache,并且指定每个连接上PSCache的大小
   default.poolPreparedStatements=true
   default.maxPoolPreparedStatementPerConnectionSize=20
   # 配置监控统计拦截的filters
   default.filters=stat
   # 默认数据源
   db.default=root
   # ============= 具体数据源配置(若有需要,可覆盖基础配置属性) =============
   # 数据源1
   root1.driverClassName=${root-driver:@jdbc.driverClassName1@}
   root1.url=${root-url:@jdbc.url1@}
   root1.username=${root-username:@jdbc.username1@}
   root1.password=${root-password:@jdbc.password1@}
   root1.initialSize=5
   root1.minIdle=2
   root1.maxActive=60
   
   # 数据源2
   root2.driverClassName=${root-driver:@jdbc.driverClassName2@}
   root2.url=${root-url:@jdbc.url2@}
   root2.username=${root-username:@jdbc.username2@}
   root2.password=${root-password:@jdbc.password2@}
   root2.initialSize=5
   root2.minIdle=2
   root2.maxActive=60
   # 数据源2
   root3.driverClassName=${root-driver:@jdbc.driverClassName3@}
   root3.url=${root-url:@jdbc.url3@}
   root3.username=${root-username:@jdbc.username3@}
   root3.password=${root-password:@jdbc.password3@}
   root3.initialSize=5
   root3.minIdle=2
   root3.maxActive=60
   
   # mysql数据源
   mysql.driverClassName=@mysql.jdbc.driverClassName@
   mysql.url=@mysql.jdbc.url@
   mysql.username=@mysql.jdbc.username@
   mysql.password=@mysql.jdbc.password@
   mysql.initialSize=5
   mysql.minIdle=2
   mysql.maxActive=60
   ```
   ```java
           Map<String, DataSource> dataSourceMap = new HashMap<>(); //设置分库映射
   
           for (String dataSourceName : dataSourceProperties.getDataSourceKeys()) {
               final Properties properties = DataSourceProperties.getPropertiesWithNewPrefix(dataSourceName, "druid");
               DruidDataSource dataSource = DataSourceProperties.getDataSourceTemplate();
               if(dataSourceName.contains("root")){
                   dataSource.setDriverClassName(properties.getProperty("druid.driverClassName" + dataSourceName.substring(dataSourceName.length() - 1)));
                   dataSource.setUrl(properties.getProperty("druid.url" + dataSourceName.substring(dataSourceName.length() - 1)));
                   dataSource.setUsername(properties.getProperty("druid.username" + dataSourceName.substring(dataSourceName.length() - 1)));
                   dataSource.setPassword(properties.getProperty("druid.password" + dataSourceName.substring(dataSourceName.length() - 1)));
                   dataSource.configFromPropety(properties);
                   dataSource.init();
                   dataSourceMap.put(dataSourceName, dataSource);
               }else{
                   dataSource.setDriverClassName(properties.getProperty("druid.driverClassName"));
                   dataSource.setUrl(properties.getProperty("druid.url"));
                   dataSource.setUsername(properties.getProperty("druid.username"));
                   dataSource.setPassword(properties.getProperty("druid.password"));
                   dataSource.configFromPropety(properties);
                   dataSource.init();
                   dataSourceRegistry.registerDataSource(dataSourceName, dataSource);
                   LOG.info("初始化基础数据源:" + dataSource.getName() + " => " + dataSource);
               }
           }
   
           if(dataSourceMap.size() > 0){
               //配置分片策略
               ShardingRuleConfiguration shardingRuleConfiguration = new ShardingRuleConfiguration();
               List<String> BroadcastTables = new ArrayList<>();
               BroadcastTables.add("MJM_REPORT_LAST_POSITION");
               BroadcastTables.add("MJM_8702");
               BroadcastTables.add("T_SERVER_DB");
               BroadcastTables.add("T_GPS_RECORD_LOG_JOB");
               BroadcastTables.add("MJM_PICTURE_MATCH");
               shardingRuleConfiguration.getBroadcastTables().addAll(BroadcastTables);
               List<String> TableRuleConfigs = new ArrayList<>();
               TableRuleConfigs.add("MJM_GPS_RECORD");
               TableRuleConfigs.add("MJM_JS_ATTACHMENT");
               TableRuleConfigs.add("MJM_JS_BLIND_AREA");
               TableRuleConfigs.add("MJM_JS_DRIVER_STATUS");
               TableRuleConfigs.add("MJM_JS_DRIVING_ASS");
               TableRuleConfigs.add("MJM_WARNING");
   //            TableRuleConfigs.add("WARNING_COLLECT_DAY");
               for (String tableName:TableRuleConfigs) {
                   ShardingTableRuleConfiguration tableRuleConfiguration = new ShardingTableRuleConfiguration(tableName,"root$->{1..3}." + tableName);
                   tableRuleConfiguration.setDatabaseShardingStrategy(new StandardShardingStrategyConfiguration("ID","inline"));
                   tableRuleConfiguration.setTableShardingStrategy(new NoneShardingStrategyConfiguration());
                   shardingRuleConfiguration.getTables().add(tableRuleConfiguration);
                   Properties props = new Properties();
                   props.setProperty("algorithm-expression", "root${ID % 3 + 1}");
                   shardingRuleConfiguration.getShardingAlgorithms().put("inline", new AlgorithmConfiguration("INLINE", props));
               }
   //            shardingRuleConfiguration.getBindingTableGroups().addAll(TableRuleConfigs);
   
               DataSource shardingDataSource = ShardingSphereDataSourceFactory.createDataSource("root",new ModeConfiguration("Standalone",new StandalonePersistRepositoryConfiguration("JDBC",new Properties())),dataSourceMap , Collections.singleton(shardingRuleConfiguration), getProperties());
               dataSourceRegistry.registerDataSource("root", shardingDataSource);
               LOG.info("初始化ShardingSphere-JDBC基础数据源:"  + shardingDataSource);
           }
   ```
   
   


-- 
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: notifications-unsubscribe@shardingsphere.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [shardingsphere] 790477691 commented on issue #23516: An error occurred in loading the data source using the java API

Posted by GitBox <gi...@apache.org>.
790477691 commented on issue #23516:
URL: https://github.com/apache/shardingsphere/issues/23516#issuecomment-1379773497

   ```text      
     <!-- https://mvnrepository.com/artifact/org.apache.shardingsphere/shardingsphere-jdbc-core -->
           <dependency>
               <groupId>org.apache.shardingsphere</groupId>
               <artifactId>shardingsphere-jdbc-core</artifactId>
               <version>5.3.1</version>
               <exclusions>
                   <exclusion>
                       <groupId>org.yaml</groupId>
                       <artifactId>snakeyaml</artifactId>
                   </exclusion>
               </exclusions>
           </dependency>
           <!-- https://mvnrepository.com/artifact/org.yaml/snakeyaml -->
           <dependency>
               <groupId>org.yaml</groupId>
               <artifactId>snakeyaml</artifactId>
               <version>1.33</version>
           </dependency>
   ```
   This problem still occurs after the Settings are used:
   ```text
   ***************************
   APPLICATION FAILED TO START
   ***************************
   
   Description:
   
   An attempt was made to call the method org.apache.shardingsphere.infra.util.yaml.constructor.ShardingSphereYamlConstructor$1.setCodePointLimit(I)V but it does not exist. Its class, org.apache.shardingsphere.infra.util.yaml.constructor.ShardingSphereYamlConstructor$1, is available from the following locations:
   
       jar:file:/D:/devtool/apache-maven-3.6.0/repository/org/apache/shardingsphere/shardingsphere-infra-util/5.3.1/shardingsphere-infra-util-5.3.1.jar!/org/apache/shardingsphere/infra/util/yaml/constructor/ShardingSphereYamlConstructor$1.class
   
   It was loaded from the following location:
   
       file:/D:/devtool/apache-maven-3.6.0/repository/org/apache/shardingsphere/shardingsphere-infra-util/5.3.1/shardingsphere-infra-util-5.3.1.jar
   
   
   Action:
   
   Correct the classpath of your application so that it contains a single, compatible version of org.apache.shardingsphere.infra.util.yaml.constructor.ShardingSphereYamlConstructor$1
   
   ```
   


-- 
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: notifications-unsubscribe@shardingsphere.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [shardingsphere] zhaojinchao95 commented on issue #23516: An error occurred in loading the data source using the java API

Posted by GitBox <gi...@apache.org>.
zhaojinchao95 commented on issue #23516:
URL: https://github.com/apache/shardingsphere/issues/23516#issuecomment-1379743878

   Remove 
   
   ```
    <dependency>
               <groupId>org.apache.shardingsphere</groupId>
               <artifactId>shardingsphere-infra-util</artifactId>
               <version>5.2.0</version>
           </dependency>
   ```
   And try again.


-- 
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: notifications-unsubscribe@shardingsphere.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [shardingsphere] TeslaCN commented on issue #23516: An error occurred in loading the data source using the java API

Posted by GitBox <gi...@apache.org>.
TeslaCN commented on issue #23516:
URL: https://github.com/apache/shardingsphere/issues/23516#issuecomment-1379894268

   The root cause is 
   ```
   The following method did not exist:
   
       org.apache.shardingsphere.infra.util.yaml.constructor.ShardingSphereYamlConstructor$1.setCodePointLimit(I)V
   ```
   
   https://github.com/apache/shardingsphere/blob/330022b06021e9c49953ac3d3dcc5b46e94be9d5/infra/util/src/main/java/org/apache/shardingsphere/infra/util/yaml/constructor/ShardingSphereYamlConstructor.java#L45
   
   The `setCodePointLimit` was introduced in snakeyaml 1.32. About the method you may refer to javadoc https://javadoc.io/static/org.yaml/snakeyaml/1.32/org/yaml/snakeyaml/LoaderOptions.html#setCodePointLimit-int-


-- 
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: notifications-unsubscribe@shardingsphere.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [shardingsphere] 790477691 commented on issue #23516: An error occurred in loading the data source using the java API

Posted by GitBox <gi...@apache.org>.
790477691 commented on issue #23516:
URL: https://github.com/apache/shardingsphere/issues/23516#issuecomment-1379760485

   When I removed shardingsphere-infra-util 5.2.0, I removed shardingsphere-jdbc-core exclusions and reloaded the project
   


-- 
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: notifications-unsubscribe@shardingsphere.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [shardingsphere] 790477691 commented on issue #23516: An error occurred in loading the data source using the java API

Posted by GitBox <gi...@apache.org>.
790477691 commented on issue #23516:
URL: https://github.com/apache/shardingsphere/issues/23516#issuecomment-1379887382

   ```text
   <?xml version="1.0" encoding="UTF-8"?>
   <project xmlns="http://maven.apache.org/POM/4.0.0"
            xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
            xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
       <modelVersion>4.0.0</modelVersion>
   
       <parent>
           <groupId>com.hnmjm</groupId>
           <artifactId>vehicle-parent</artifactId>
           <version>2.0-SNAPSHOT</version>
       </parent>
   
       <groupId>com.hnmjm</groupId>
       <artifactId>vehicle-midsrv</artifactId>
       <version>2.0-SNAPSHOT</version>
   
       <dependencies>
           <!-- https://mvnrepository.com/artifact/org.apache.shardingsphere/shardingsphere-jdbc-core -->
           <dependency>
               <groupId>org.apache.shardingsphere</groupId>
               <artifactId>shardingsphere-jdbc-core</artifactId>
               <version>5.3.1</version>
               <exclusions>
                   <exclusion>
                       <groupId>org.yaml</groupId>
                       <artifactId>snakeyaml</artifactId>
                   </exclusion>
               </exclusions>
           </dependency>
           <!-- https://mvnrepository.com/artifact/org.yaml/snakeyaml -->
           <dependency>
               <groupId>org.yaml</groupId>
               <artifactId>snakeyaml</artifactId>
               <version>1.33</version>
           </dependency>
           <dependency>
               <groupId>com.hnmjm</groupId>
               <artifactId>vehicle-common</artifactId>
           </dependency>
           <dependency>
               <groupId>org.springframework.boot</groupId>
               <artifactId>spring-boot-starter-web</artifactId>
               <exclusions>
                   <exclusion>
                       <groupId>org.springframework.boot</groupId>
                       <artifactId>spring-boot-starter-logging</artifactId>
                   </exclusion>
                   <exclusion>
                       <groupId>org.yaml</groupId>
                       <artifactId>snakeyaml</artifactId>
                   </exclusion>
               </exclusions>
           </dependency>
           <dependency>
               <groupId>org.projectlombok</groupId>
               <artifactId>lombok</artifactId>
               <optional>true</optional>
           </dependency>
           <!-- Swagger API文档 -->
           <dependency>
               <groupId>io.springfox</groupId>
               <artifactId>springfox-swagger-ui</artifactId>
               <version>2.7.0</version>
           </dependency>
           <dependency>
               <groupId>io.springfox</groupId>
               <artifactId>springfox-swagger2</artifactId>
               <version>2.7.0</version>
           </dependency>
           <dependency>
               <groupId>io.netty</groupId>
               <artifactId>netty-all</artifactId>
           </dependency>
           <dependency>
               <groupId>com.google.guava</groupId>
               <artifactId>guava</artifactId>
               <version>31.1-jre</version>
               <scope>compile</scope>
           </dependency>
       </dependencies>
   
       <profiles>
           <profile>
               <id>dev</id>
               <properties>
                   <db.dynamic>true</db.dynamic>
               </properties>
           </profile>
       </profiles>
   
       <build>
           <plugins>
               <plugin>
                   <groupId>org.springframework.boot</groupId>
                   <artifactId>spring-boot-maven-plugin</artifactId>
                   <version>1.4.1.RELEASE</version>
                   <executions>
                       <execution>
                           <goals>
                               <goal>repackage</goal>
                           </goals>
                       </execution>
                   </executions>
                   <configuration>
                       <mainClass>com.hnmjm.vehicle.midsrv.MiddleServer</mainClass>
                   </configuration>
               </plugin>
           </plugins>
       </build>
   </project>
   ```
   
   ```text
   [INFO] 
   [INFO] --- maven-dependency-plugin:3.1.1:tree (default-cli) @ vehicle-midsrv ---
   [INFO] com.hnmjm:vehicle-midsrv:jar:2.0-SNAPSHOT
   [INFO] +- org.apache.shardingsphere:shardingsphere-jdbc-core:jar:5.3.1:compile
   [INFO] |  +- org.apache.shardingsphere:shardingsphere-transaction-core:jar:5.3.1:compile
   [INFO] |  |  +- org.apache.shardingsphere:shardingsphere-transaction-api:jar:5.3.1:compile
   [INFO] |  |  \- org.apache.shardingsphere:shardingsphere-infra-executor:jar:5.3.1:compile
   [INFO] |  +- org.apache.shardingsphere:shardingsphere-sql-parser-sql92:jar:5.3.1:compile
   [INFO] |  |  \- org.apache.shardingsphere:shardingsphere-sql-parser-engine:jar:5.3.1:compile
   [INFO] |  |     +- org.apache.shardingsphere:shardingsphere-sql-parser-spi:jar:5.3.1:compile
   [INFO] |  |     +- org.apache.shardingsphere:shardingsphere-sql-parser-statement:jar:5.3.1:compile
   [INFO] |  |     \- org.antlr:antlr4-runtime:jar:4.9.2:compile
   [INFO] |  +- org.apache.shardingsphere:shardingsphere-sql-parser-mysql:jar:5.3.1:compile
   [INFO] |  +- org.apache.shardingsphere:shardingsphere-sql-parser-postgresql:jar:5.3.1:compile
   [INFO] |  +- org.apache.shardingsphere:shardingsphere-sql-parser-oracle:jar:5.3.1:compile
   [INFO] |  +- org.apache.shardingsphere:shardingsphere-sql-parser-sqlserver:jar:5.3.1:compile
   [INFO] |  +- org.apache.shardingsphere:shardingsphere-sql-parser-opengauss:jar:5.3.1:compile
   [INFO] |  +- org.apache.shardingsphere:shardingsphere-mysql-dialect-exception:jar:5.3.1:compile
   [INFO] |  |  \- org.apache.shardingsphere:shardingsphere-dialect-exception-core:jar:5.3.1:compile
   [INFO] |  +- org.apache.shardingsphere:shardingsphere-postgresql-dialect-exception:jar:5.3.1:compile
   [INFO] |  +- org.apache.shardingsphere:shardingsphere-authority-core:jar:5.3.1:compile
   [INFO] |  |  \- org.apache.shardingsphere:shardingsphere-authority-api:jar:5.3.1:compile
   [INFO] |  +- org.apache.shardingsphere:shardingsphere-single-core:jar:5.3.1:compile
   [INFO] |  |  +- org.apache.shardingsphere:shardingsphere-single-api:jar:5.3.1:compile
   [INFO] |  |  \- org.apache.shardingsphere:shardingsphere-infra-route:jar:5.3.1:compile
   [INFO] |  +- org.apache.shardingsphere:shardingsphere-traffic-core:jar:5.3.1:compile
   [INFO] |  |  +- org.apache.shardingsphere:shardingsphere-infra-common:jar:5.3.1:compile
   [INFO] |  |  |  \- org.apache.shardingsphere:shardingsphere-infra-util:jar:5.3.1:compile
   [INFO] |  |  |     \- org.apache.groovy:groovy:jar:4.0.6:compile
   [INFO] |  |  +- org.apache.shardingsphere:shardingsphere-infra-binder:jar:5.3.1:compile
   [INFO] |  |  \- org.apache.shardingsphere:shardingsphere-traffic-api:jar:5.3.1:compile
   [INFO] |  +- org.apache.shardingsphere:shardingsphere-infra-context:jar:5.3.1:compile
   [INFO] |  |  +- org.apache.shardingsphere:shardingsphere-distsql-parser:jar:5.3.1:compile
   [INFO] |  |  |  \- org.apache.shardingsphere:shardingsphere-distsql-statement:jar:5.3.1:compile
   [INFO] |  |  \- org.apache.shardingsphere:shardingsphere-sql-translator-core:jar:5.3.1:compile
   [INFO] |  |     \- org.apache.shardingsphere:shardingsphere-sql-translator-api:jar:5.3.1:compile
   [INFO] |  +- org.apache.shardingsphere:shardingsphere-standalone-mode-core:jar:5.3.1:compile
   [INFO] |  |  +- org.apache.shardingsphere:shardingsphere-mode-core:jar:5.3.1:compile
   [INFO] |  |  \- org.apache.shardingsphere:shardingsphere-standalone-mode-repository-api:jar:5.3.1:compile
   [INFO] |  +- org.apache.shardingsphere:shardingsphere-standalone-mode-repository-jdbc-h2:jar:5.3.1:compile
   [INFO] |  |  \- org.apache.shardingsphere:shardingsphere-standalone-mode-repository-jdbc-core:jar:5.3.1:compile
   [INFO] |  |     \- com.zaxxer:HikariCP:jar:3.2.0:compile
   [INFO] |  +- org.apache.shardingsphere:shardingsphere-cluster-mode-core:jar:5.3.1:compile
   [INFO] |  |  \- org.apache.shardingsphere:shardingsphere-cluster-mode-repository-api:jar:5.3.1:compile
   [INFO] |  +- org.apache.shardingsphere:shardingsphere-sharding-core:jar:5.3.1:compile
   [INFO] |  |  +- org.apache.shardingsphere:shardingsphere-sharding-api:jar:5.3.1:compile
   [INFO] |  |  +- org.apache.shardingsphere:shardingsphere-data-pipeline-api:jar:5.3.1:compile
   [INFO] |  |  +- org.apache.shardingsphere:shardingsphere-infra-rewrite:jar:5.3.1:compile
   [INFO] |  |  |  \- org.apache.shardingsphere:shardingsphere-sql-translator-native-provider:jar:5.3.1:compile
   [INFO] |  |  +- org.apache.shardingsphere:shardingsphere-infra-merge:jar:5.3.1:compile
   [INFO] |  |  |  \- org.apache.calcite:calcite-linq4j:jar:1.32.0:compile
   [INFO] |  |  |     +- org.apiguardian:apiguardian-api:jar:1.1.2:compile
   [INFO] |  |  |     \- org.apache.calcite.avatica:avatica-core:jar:1.22.0:compile
   [INFO] |  |  |        +- org.apache.calcite.avatica:avatica-metrics:jar:1.22.0:compile
   [INFO] |  |  |        +- org.apache.httpcomponents.client5:httpclient5:jar:5.1.3:runtime
   [INFO] |  |  |        |  \- org.apache.httpcomponents.core5:httpcore5-h2:jar:5.1.3:runtime
   [INFO] |  |  |        \- org.apache.httpcomponents.core5:httpcore5:jar:5.1.3:runtime
   [INFO] |  |  +- org.apache.shardingsphere:shardingsphere-system-datetime:jar:5.3.1:compile
   [INFO] |  |  |  \- org.apache.shardingsphere:shardingsphere-infra-datetime-spi:jar:5.3.1:compile
   [INFO] |  |  +- org.apache.shardingsphere:shardingsphere-sharding-cosid:jar:5.3.1:compile
   [INFO] |  |  |  \- me.ahoo.cosid:cosid-core:jar:1.16.0:compile
   [INFO] |  |  \- org.apache.shardingsphere:shardingsphere-sharding-nanoid:jar:5.3.1:compile
   [INFO] |  |     \- com.aventrix.jnanoid:jnanoid:jar:2.0.0:compile
   [INFO] |  +- org.apache.shardingsphere:shardingsphere-sharding-cache:jar:5.3.1:compile
   [INFO] |  +- org.apache.shardingsphere:shardingsphere-readwrite-splitting-core:jar:5.3.1:compile
   [INFO] |  |  \- org.apache.shardingsphere:shardingsphere-readwrite-splitting-api:jar:5.3.1:compile
   [INFO] |  +- org.apache.shardingsphere:shardingsphere-db-discovery-core:jar:5.3.1:compile
   [INFO] |  |  +- org.apache.shardingsphere:shardingsphere-db-discovery-api:jar:5.3.1:compile
   [INFO] |  |  +- org.apache.shardingsphere:shardingsphere-db-discovery-mysql:jar:5.3.1:compile
   [INFO] |  |  +- org.apache.shardingsphere:shardingsphere-db-discovery-opengauss:jar:5.3.1:compile
   [INFO] |  |  \- org.apache.shardingsphere:shardingsphere-schedule-core:jar:5.3.1:compile
   [INFO] |  |     +- org.apache.shardingsphere.elasticjob:elasticjob-lite-core:jar:3.0.2:compile
   [INFO] |  |     |  +- org.apache.shardingsphere.elasticjob:elasticjob-api:jar:3.0.2:compile
   [INFO] |  |     |  +- org.apache.shardingsphere.elasticjob:elasticjob-infra-common:jar:3.0.2:compile
   [INFO] |  |     |  +- org.apache.shardingsphere.elasticjob:elasticjob-registry-center-api:jar:3.0.2:compile
   [INFO] |  |     |  +- org.apache.shardingsphere.elasticjob:elasticjob-registry-center-zookeeper-curator:jar:3.0.2:compile
   [INFO] |  |     |  |  \- org.apache.curator:curator-recipes:jar:5.1.0:compile
   [INFO] |  |     |  +- org.apache.shardingsphere.elasticjob:elasticjob-simple-executor:jar:3.0.2:compile
   [INFO] |  |     |  |  \- org.apache.shardingsphere.elasticjob:elasticjob-executor-kernel:jar:3.0.2:compile
   [INFO] |  |     |  |     \- org.apache.shardingsphere.elasticjob:elasticjob-error-handler-general:jar:3.0.2:compile
   [INFO] |  |     |  |        \- org.apache.shardingsphere.elasticjob:elasticjob-error-handler-spi:jar:3.0.2:compile
   [INFO] |  |     |  +- org.apache.shardingsphere.elasticjob:elasticjob-dataflow-executor:jar:3.0.2:compile
   [INFO] |  |     |  +- org.apache.shardingsphere.elasticjob:elasticjob-script-executor:jar:3.0.2:compile
   [INFO] |  |     |  |  \- org.apache.commons:commons-exec:jar:1.3:compile
   [INFO] |  |     |  +- org.apache.shardingsphere.elasticjob:elasticjob-http-executor:jar:3.0.2:compile
   [INFO] |  |     |  +- org.apache.shardingsphere.elasticjob:elasticjob-tracing-rdb:jar:3.0.2:compile
   [INFO] |  |     |  |  \- org.apache.shardingsphere.elasticjob:elasticjob-tracing-api:jar:3.0.2:compile
   [INFO] |  |     |  +- com.google.code.gson:gson:jar:2.8.6:compile
   [INFO] |  |     |  \- org.quartz-scheduler:quartz:jar:2.3.2:compile
   [INFO] |  |     |     \- com.mchange:mchange-commons-java:jar:0.2.15:compile
   [INFO] |  |     \- org.apache.shardingsphere.elasticjob:elasticjob-lite-lifecycle:jar:3.0.2:compile
   [INFO] |  +- org.apache.shardingsphere:shardingsphere-encrypt-core:jar:5.3.1:compile
   [INFO] |  |  +- org.apache.shardingsphere:shardingsphere-encrypt-api:jar:5.3.1:compile
   [INFO] |  |  \- commons-codec:commons-codec:jar:1.11:compile
   [INFO] |  +- org.apache.shardingsphere:shardingsphere-encrypt-sm:jar:5.3.1:compile
   [INFO] |  |  \- org.bouncycastle:bcprov-jdk15on:jar:1.70:compile
   [INFO] |  +- org.apache.shardingsphere:shardingsphere-mask-core:jar:5.3.1:compile
   [INFO] |  |  \- org.apache.shardingsphere:shardingsphere-mask-api:jar:5.3.1:compile
   [INFO] |  +- org.apache.shardingsphere:shardingsphere-shadow-core:jar:5.3.1:compile
   [INFO] |  |  \- org.apache.shardingsphere:shardingsphere-shadow-api:jar:5.3.1:compile
   [INFO] |  +- org.apache.shardingsphere:shardingsphere-sql-federation-core:jar:5.3.1:compile
   [INFO] |  |  \- org.apache.shardingsphere:shardingsphere-sql-federation-api:jar:5.3.1:compile
   [INFO] |  +- org.apache.shardingsphere:shardingsphere-sql-federation-executor-advanced:jar:5.3.1:compile
   [INFO] |  |  \- org.apache.shardingsphere:shardingsphere-sql-federation-executor-core:jar:5.3.1:compile
   [INFO] |  |     \- org.apache.shardingsphere:shardingsphere-sql-federation-optimizer:jar:5.3.1:compile
   [INFO] |  |        \- org.apache.calcite:calcite-core:jar:1.32.0:compile
   [INFO] |  |           +- org.locationtech.jts:jts-core:jar:1.19.0:compile
   [INFO] |  |           +- org.locationtech.jts.io:jts-io-common:jar:1.19.0:compile
   [INFO] |  |           |  \- com.googlecode.json-simple:json-simple:jar:1.1.1:compile
   [INFO] |  |           +- org.locationtech.proj4j:proj4j:jar:1.1.5:compile
   [INFO] |  |           +- com.fasterxml.jackson.dataformat:jackson-dataformat-yaml:jar:2.9.10:runtime
   [INFO] |  |           +- com.google.uzaygezen:uzaygezen-core:jar:0.2:runtime
   [INFO] |  |           +- com.jayway.jsonpath:json-path:jar:2.4.0:runtime
   [INFO] |  |           |  \- net.minidev:json-smart:jar:2.3:runtime
   [INFO] |  |           |     \- net.minidev:accessors-smart:jar:1.2:runtime
   [INFO] |  |           |        \- org.ow2.asm:asm:jar:5.0.4:runtime
   [INFO] |  |           +- com.yahoo.datasketches:sketches-core:jar:0.9.0:runtime
   [INFO] |  |           |  \- com.yahoo.datasketches:memory:jar:0.9.0:runtime
   [INFO] |  |           +- net.hydromatic:aggdesigner-algorithm:jar:6.0:runtime
   [INFO] |  |           |  +- commons-lang:commons-lang:jar:2.6:runtime
   [INFO] |  |           |  \- commons-logging:commons-logging:jar:1.1.3:runtime
   [INFO] |  |           +- org.codehaus.janino:commons-compiler:jar:3.0.15:runtime
   [INFO] |  |           \- org.codehaus.janino:janino:jar:3.0.15:runtime
   [INFO] |  +- org.apache.shardingsphere:shardingsphere-sql-federation-executor-original:jar:5.3.1:compile
   [INFO] |  +- org.apache.shardingsphere:shardingsphere-parser-core:jar:5.3.1:compile
   [INFO] |  |  +- org.apache.shardingsphere:shardingsphere-parser-api:jar:5.3.1:compile
   [INFO] |  |  \- org.apache.shardingsphere:shardingsphere-infra-parser:jar:5.3.1:compile
   [INFO] |  +- org.apache.commons:commons-collections4:jar:4.4:compile
   [INFO] |  +- com.h2database:h2:jar:1.4.200:runtime
   [INFO] |  +- org.slf4j:slf4j-api:jar:1.7.29:compile
   [INFO] |  +- org.slf4j:jcl-over-slf4j:jar:1.7.29:compile
   [INFO] |  \- org.slf4j:jul-to-slf4j:jar:1.7.29:compile
   ### [INFO] +- org.yaml:snakeyaml:jar:1.33:compile
   [INFO] +- com.hnmjm:vehicle-common:jar:2.0-SNAPSHOT:compile
   [INFO] |  +- org.springframework.data:spring-data-redis:jar:2.1.14.RELEASE:compile
   [INFO] |  |  +- org.springframework.data:spring-data-keyvalue:jar:2.1.14.RELEASE:compile
   [INFO] |  |  |  \- org.springframework.data:spring-data-commons:jar:2.1.14.RELEASE:compile
   [INFO] |  |  +- org.springframework:spring-tx:jar:5.1.9.RELEASE:compile
   [INFO] |  |  +- org.springframework:spring-oxm:jar:5.1.9.RELEASE:compile
   [INFO] |  |  +- org.springframework:spring-aop:jar:5.1.9.RELEASE:compile
   [INFO] |  |  \- org.springframework:spring-context-support:jar:5.1.9.RELEASE:compile
   [INFO] |  +- org.springframework:spring-beans:jar:5.1.9.RELEASE:compile
   [INFO] |  |  \- org.springframework:spring-core:jar:5.1.9.RELEASE:compile
   [INFO] |  |     \- org.springframework:spring-jcl:jar:5.1.9.RELEASE:compile
   [INFO] |  +- org.springframework:spring-context:jar:5.1.9.RELEASE:compile
   [INFO] |  |  \- org.springframework:spring-expression:jar:5.1.9.RELEASE:compile
   [INFO] |  +- org.springframework.kafka:spring-kafka:jar:2.2.0.RELEASE:compile
   [INFO] |  |  +- org.springframework:spring-messaging:jar:5.1.9.RELEASE:compile
   [INFO] |  |  +- org.springframework.retry:spring-retry:jar:1.2.4.RELEASE:compile
   [INFO] |  |  \- org.apache.kafka:kafka-clients:jar:2.0.0:compile
   [INFO] |  |     +- org.lz4:lz4-java:jar:1.4.1:compile
   [INFO] |  |     \- org.xerial.snappy:snappy-java:jar:1.1.7.1:compile
   [INFO] |  +- org.apache.kafka:kafka_2.12:jar:2.0.0:compile
   [INFO] |  |  +- com.fasterxml.jackson.core:jackson-databind:jar:2.9.10.1:compile
   [INFO] |  |  |  \- com.fasterxml.jackson.core:jackson-core:jar:2.9.10:compile
   [INFO] |  |  +- net.sf.jopt-simple:jopt-simple:jar:5.0.4:compile
   [INFO] |  |  +- com.yammer.metrics:metrics-core:jar:2.2.0:compile
   [INFO] |  |  +- org.scala-lang:scala-library:jar:2.12.6:compile
   [INFO] |  |  +- org.scala-lang:scala-reflect:jar:2.12.6:compile
   [INFO] |  |  +- com.typesafe.scala-logging:scala-logging_2.12:jar:3.9.0:compile
   [INFO] |  |  +- com.101tec:zkclient:jar:0.10:compile
   [INFO] |  |  \- org.apache.zookeeper:zookeeper:jar:3.4.13:compile
   [INFO] |  |     \- org.apache.yetus:audience-annotations:jar:0.5.0:compile
   [INFO] |  +- redis.clients:jedis:jar:2.9.0:compile
   [INFO] |  |  \- org.apache.commons:commons-pool2:jar:2.6.2:compile
   [INFO] |  +- org.apache.commons:commons-dbcp2:jar:2.5.0:compile
   [INFO] |  +- org.mybatis.spring.boot:mybatis-spring-boot-starter:jar:2.2.1:compile
   [INFO] |  |  +- org.springframework.boot:spring-boot-starter-jdbc:jar:2.1.11.RELEASE:compile
   [INFO] |  |  |  \- org.springframework:spring-jdbc:jar:5.1.9.RELEASE:compile
   [INFO] |  |  +- org.mybatis.spring.boot:mybatis-spring-boot-autoconfigure:jar:2.2.1:compile
   [INFO] |  |  \- org.mybatis:mybatis-spring:jar:2.0.6:compile
   [INFO] |  +- mysql:mysql-connector-java:jar:8.0.15:compile
   [INFO] |  |  \- com.google.protobuf:protobuf-java:jar:3.6.1:compile
   [INFO] |  +- com.oracle.database.jdbc:ojdbc8:jar:12.2.0.1:compile
   [INFO] |  +- com.alibaba:druid:jar:1.1.22:compile
   [INFO] |  +- org.apache.logging.log4j:log4j-core:jar:2.15.0:compile
   [INFO] |  +- org.apache.logging.log4j:log4j-api:jar:2.15.0:compile
   [INFO] |  +- org.apache.logging.log4j:log4j-slf4j-impl:jar:2.15.0:compile
   [INFO] |  +- org.apache.curator:curator-framework:jar:3.0.0:compile
   [INFO] |  |  \- org.apache.curator:curator-client:jar:3.0.0:compile
   [INFO] |  +- org.mybatis:mybatis:jar:3.5.9:compile
   [INFO] |  +- com.github.pagehelper:pagehelper:jar:4.2.1:compile
   [INFO] |  |  \- com.github.jsqlparser:jsqlparser:jar:0.9.5:compile
   [INFO] |  +- com.alibaba:fastjson:jar:1.2.38:compile
   [INFO] |  +- commons-io:commons-io:jar:2.5:compile
   [INFO] |  +- org.apache.commons:commons-lang3:jar:3.9:compile
   [INFO] |  +- org.apache.mina:mina-core:jar:2.0.4:compile
   [INFO] |  +- org.apache.httpcomponents:httpclient:jar:4.5.10:compile
   [INFO] |  |  \- org.apache.httpcomponents:httpcore:jar:4.4.12:compile
   [INFO] |  +- tk.mybatis:mapper:jar:4.1.5:compile
   [INFO] |  |  \- javax.persistence:persistence-api:jar:1.0:compile
   [INFO] |  +- commons-net:commons-net:jar:3.6:compile
   [INFO] |  +- org.gavaghan:geodesy:jar:1.1.3:compile
   [INFO] |  +- org.springframework.boot:spring-boot-starter-cache:jar:2.4.4:compile
   [INFO] |  \- com.github.ben-manes.caffeine:caffeine:jar:2.9.0:compile
   [INFO] +- org.springframework.boot:spring-boot-starter-web:jar:2.1.11.RELEASE:compile
   [INFO] |  +- org.springframework.boot:spring-boot-starter:jar:2.1.11.RELEASE:compile
   [INFO] |  |  +- org.springframework.boot:spring-boot:jar:2.1.11.RELEASE:compile
   [INFO] |  |  +- org.springframework.boot:spring-boot-autoconfigure:jar:2.1.11.RELEASE:compile
   [INFO] |  |  \- javax.annotation:javax.annotation-api:jar:1.3.2:compile
   [INFO] |  +- org.springframework.boot:spring-boot-starter-json:jar:2.1.11.RELEASE:compile
   [INFO] |  |  +- com.fasterxml.jackson.datatype:jackson-datatype-jdk8:jar:2.9.10:compile
   [INFO] |  |  +- com.fasterxml.jackson.datatype:jackson-datatype-jsr310:jar:2.9.10:compile
   [INFO] |  |  \- com.fasterxml.jackson.module:jackson-module-parameter-names:jar:2.9.10:compile
   [INFO] |  +- org.springframework.boot:spring-boot-starter-tomcat:jar:2.1.11.RELEASE:compile
   [INFO] |  |  +- org.apache.tomcat.embed:tomcat-embed-core:jar:9.0.29:compile
   [INFO] |  |  +- org.apache.tomcat.embed:tomcat-embed-el:jar:9.0.29:compile
   [INFO] |  |  \- org.apache.tomcat.embed:tomcat-embed-websocket:jar:9.0.29:compile
   [INFO] |  +- org.hibernate.validator:hibernate-validator:jar:6.0.18.Final:compile
   [INFO] |  |  +- javax.validation:validation-api:jar:2.0.1.Final:compile
   [INFO] |  |  \- org.jboss.logging:jboss-logging:jar:3.3.3.Final:compile
   [INFO] |  +- org.springframework:spring-web:jar:5.1.9.RELEASE:compile
   [INFO] |  \- org.springframework:spring-webmvc:jar:5.1.9.RELEASE:compile
   [INFO] +- org.projectlombok:lombok:jar:1.18.10:compile (optional) 
   [INFO] +- io.springfox:springfox-swagger-ui:jar:2.7.0:compile
   [INFO] |  \- io.springfox:springfox-spring-web:jar:2.7.0:compile
   [INFO] |     \- org.reflections:reflections:jar:0.9.11:compile
   [INFO] |        \- org.javassist:javassist:jar:3.21.0-GA:compile
   [INFO] +- io.springfox:springfox-swagger2:jar:2.7.0:compile
   [INFO] |  +- io.swagger:swagger-annotations:jar:1.5.13:compile
   [INFO] |  +- io.swagger:swagger-models:jar:1.5.13:compile
   [INFO] |  |  \- com.fasterxml.jackson.core:jackson-annotations:jar:2.9.10:compile
   [INFO] |  +- io.springfox:springfox-spi:jar:2.7.0:compile
   [INFO] |  |  \- io.springfox:springfox-core:jar:2.7.0:compile
   [INFO] |  |     \- net.bytebuddy:byte-buddy:jar:1.9.16:compile
   [INFO] |  +- io.springfox:springfox-schema:jar:2.7.0:compile
   [INFO] |  +- io.springfox:springfox-swagger-common:jar:2.7.0:compile
   [INFO] |  +- com.fasterxml:classmate:jar:1.4.0:compile
   [INFO] |  +- org.springframework.plugin:spring-plugin-core:jar:1.2.0.RELEASE:compile
   [INFO] |  +- org.springframework.plugin:spring-plugin-metadata:jar:1.2.0.RELEASE:compile
   [INFO] |  \- org.mapstruct:mapstruct:jar:1.1.0.Final:compile
   [INFO] +- io.netty:netty-all:jar:4.1.43.Final:compile
   [INFO] \- com.google.guava:guava:jar:31.1-jre:compile
   [INFO]    +- com.google.guava:failureaccess:jar:1.0.1:compile
   [INFO]    +- com.google.guava:listenablefuture:jar:9999.0-empty-to-avoid-conflict-with-guava:compile
   [INFO]    +- com.google.code.findbugs:jsr305:jar:3.0.2:compile
   [INFO]    +- org.checkerframework:checker-qual:jar:3.12.0:compile
   [INFO]    +- com.google.errorprone:error_prone_annotations:jar:2.11.0:compile
   [INFO]    \- com.google.j2objc:j2objc-annotations:jar:1.3:compile
   [INFO] 
   ```
   
   ```text
   ***************************
   APPLICATION FAILED TO START
   ***************************
   
   Description:
   
   An attempt was made to call a method that does not exist. The attempt was made from the following location:
   
       org.apache.shardingsphere.infra.util.yaml.constructor.ShardingSphereYamlConstructor$1.<init>(ShardingSphereYamlConstructor.java:45)
   
   The following method did not exist:
   
       org.apache.shardingsphere.infra.util.yaml.constructor.ShardingSphereYamlConstructor$1.setCodePointLimit(I)V
   
   The method's class, org.apache.shardingsphere.infra.util.yaml.constructor.ShardingSphereYamlConstructor$1, is available from the following locations:
   
       jar:file:/D:/devtool/apache-maven-3.6.0/repository/org/apache/shardingsphere/shardingsphere-infra-util/5.3.1/shardingsphere-infra-util-5.3.1.jar!/org/apache/shardingsphere/infra/util/yaml/constructor/ShardingSphereYamlConstructor$1.class
   
   It was loaded from the following location:
   
       file:/D:/devtool/apache-maven-3.6.0/repository/org/apache/shardingsphere/shardingsphere-infra-util/5.3.1/shardingsphere-infra-util-5.3.1.jar
   
   
   Action:
   
   Correct the classpath of your application so that it contains a single, compatible version of org.apache.shardingsphere.infra.util.yaml.constructor.ShardingSphereYamlConstructor$1
   ```
   I really tried。...  The problem remains unresolved,   I wonder what the problem is
   


-- 
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: notifications-unsubscribe@shardingsphere.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [shardingsphere] 790477691 commented on issue #23516: An error occurred in loading the data source using the java API

Posted by GitBox <gi...@apache.org>.
790477691 commented on issue #23516:
URL: https://github.com/apache/shardingsphere/issues/23516#issuecomment-1379786881

   ![微信截图_20230112114902](https://user-images.githubusercontent.com/49638260/211973667-c554eb39-7d73-4c4a-b4c3-b3ecc86f330b.png)
   


-- 
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: notifications-unsubscribe@shardingsphere.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [shardingsphere] 790477691 commented on issue #23516: An error occurred in loading the data source using the java API

Posted by GitBox <gi...@apache.org>.
790477691 commented on issue #23516:
URL: https://github.com/apache/shardingsphere/issues/23516#issuecomment-1379797371

   
   Is there a complete test case for reference


-- 
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: notifications-unsubscribe@shardingsphere.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [shardingsphere] 790477691 commented on issue #23516: An error occurred in loading the data source using the java API

Posted by GitBox <gi...@apache.org>.
790477691 commented on issue #23516:
URL: https://github.com/apache/shardingsphere/issues/23516#issuecomment-1379791714

   The problem isn't solved, it's still going to come up:
   ```text
   ***************************
   APPLICATION FAILED TO START
   ***************************
   
   Description:
   
   An attempt was made to call the method org.apache.shardingsphere.infra.util.yaml.constructor.ShardingSphereYamlConstructor$1.setCodePointLimit(I)V but it does not exist. Its class, org.apache.shardingsphere.infra.util.yaml.constructor.ShardingSphereYamlConstructor$1, is available from the following locations:
   
       jar:file:/D:/devtool/apache-maven-3.6.0/repository/org/apache/shardingsphere/shardingsphere-infra-util/5.3.1/shardingsphere-infra-util-5.3.1.jar!/org/apache/shardingsphere/infra/util/yaml/constructor/ShardingSphereYamlConstructor$1.class
   
   It was loaded from the following location:
   
       file:/D:/devtool/apache-maven-3.6.0/repository/org/apache/shardingsphere/shardingsphere-infra-util/5.3.1/shardingsphere-infra-util-5.3.1.jar
   
   
   Action:
   
   Correct the classpath of your application so that it contains a single, compatible version of org.apache.shardingsphere.infra.util.yaml.constructor.ShardingSphereYamlConstructor$1
   ```
   shardingsphere-infra-util-5.3.1: It seems to be the latest version as well


-- 
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: notifications-unsubscribe@shardingsphere.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [shardingsphere] TeslaCN commented on issue #23516: An error occurred in loading the data source using the java API

Posted by GitBox <gi...@apache.org>.
TeslaCN commented on issue #23516:
URL: https://github.com/apache/shardingsphere/issues/23516#issuecomment-1379761627

   Please make sure you are using snakeyaml 1.33


-- 
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: notifications-unsubscribe@shardingsphere.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [shardingsphere] TeslaCN commented on issue #23516: An error occurred in loading the data source using the java API

Posted by GitBox <gi...@apache.org>.
TeslaCN commented on issue #23516:
URL: https://github.com/apache/shardingsphere/issues/23516#issuecomment-1379810126

   Just make sure you are using snakeyaml 1.33. To learn about how Maven manage dependencies, you may refer to https://maven.apache.org/guides/introduction/introduction-to-dependency-mechanism.html.


-- 
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: notifications-unsubscribe@shardingsphere.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [shardingsphere] Pace2Car commented on issue #23516: An error occurred in loading the data source using the java API

Posted by GitBox <gi...@apache.org>.
Pace2Car commented on issue #23516:
URL: https://github.com/apache/shardingsphere/issues/23516#issuecomment-1379752445

   plz change dependency to 
   ```YAML
   <dependency>
       <groupId>org.apache.shardingsphere</groupId>
       <artifactId>shardingsphere-jdbc-core</artifactId>
       <version>5.3.1</version>
   </dependency>
   ```
   reload your project and try it again.


-- 
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: notifications-unsubscribe@shardingsphere.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [shardingsphere] 790477691 closed issue #23516: An error occurred in loading the data source using the java API

Posted by GitBox <gi...@apache.org>.
790477691 closed issue #23516: An error occurred in loading the data source using the java API
URL: https://github.com/apache/shardingsphere/issues/23516


-- 
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: notifications-unsubscribe@shardingsphere.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [shardingsphere] TeslaCN commented on issue #23516: An error occurred in loading the data source using the java API

Posted by GitBox <gi...@apache.org>.
TeslaCN commented on issue #23516:
URL: https://github.com/apache/shardingsphere/issues/23516#issuecomment-1379778190

   > shardingsphere-jdbc-core 5.3.1 uses snakeyaml version 1.23
   
   That could be changed by your other dependencies. You may check it by `mvn dependency:tree`.


-- 
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: notifications-unsubscribe@shardingsphere.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [shardingsphere] 790477691 commented on issue #23516: An error occurred in loading the data source using the java API

Posted by GitBox <gi...@apache.org>.
790477691 commented on issue #23516:
URL: https://github.com/apache/shardingsphere/issues/23516#issuecomment-1379774240

   shardingsphere-jdbc-core 5.3.1 uses snakeyaml version 1.23


-- 
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: notifications-unsubscribe@shardingsphere.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [shardingsphere] 790477691 commented on issue #23516: An error occurred in loading the data source using the java API

Posted by GitBox <gi...@apache.org>.
790477691 commented on issue #23516:
URL: https://github.com/apache/shardingsphere/issues/23516#issuecomment-1379745648

   Remove
   ```text
   <dependency>
               <groupId>org.apache.shardingsphere</groupId>
               <artifactId>shardingsphere-infra-util</artifactId>
               <version>5.2.0</version>
           </dependency>
   ```
   Other problems arise:
   ```text
   ***************************
   APPLICATION FAILED TO START
   ***************************
   
   Description:
   
   An attempt was made to call the method org.apache.shardingsphere.infra.util.yaml.constructor.ShardingSphereYamlConstructor$1.setCodePointLimit(I)V but it does not exist. Its class, org.apache.shardingsphere.infra.util.yaml.constructor.ShardingSphereYamlConstructor$1, is available from the following locations:
   
       jar:file:/D:/devtool/apache-maven-3.6.0/repository/org/apache/shardingsphere/shardingsphere-infra-util/5.3.1/shardingsphere-infra-util-5.3.1.jar!/org/apache/shardingsphere/infra/util/yaml/constructor/ShardingSphereYamlConstructor$1.class
   
   It was loaded from the following location:
   
       file:/D:/devtool/apache-maven-3.6.0/repository/org/apache/shardingsphere/shardingsphere-infra-util/5.3.1/shardingsphere-infra-util-5.3.1.jar
   
   
   Action:
   
   Correct the classpath of your application so that it contains a single, compatible version of org.apache.shardingsphere.infra.util.yaml.constructor.ShardingSphereYamlConstructor$1
   ```


-- 
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: notifications-unsubscribe@shardingsphere.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [shardingsphere] 790477691 commented on issue #23516: An error occurred in loading the data source using the java API

Posted by GitBox <gi...@apache.org>.
790477691 commented on issue #23516:
URL: https://github.com/apache/shardingsphere/issues/23516#issuecomment-1379929234

   Problem solved: the other subservice didn't move out version 1.23 of snakeyaml completely; As a result, shardingsphere infra-util is still using version 1.23 of snakeyaml. After the removal of other sub-services, there is no problem


-- 
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: notifications-unsubscribe@shardingsphere.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org