huifer commented on issue #23389:
URL:
https://github.com/apache/shardingsphere/issues/23389#issuecomment-1375331667
org.apache.shardingsphere:shardingsphere-jdbc-core-spring-boot-starter:5.2.1
What version of SpringBoot should be used
- My dependency information is as follows
```
dependencies {
implementation("org.springframework.boot:spring-boot-starter-data-jpa")
implementation("org.springframework.boot:spring-boot-starter-web") {
}
implementation("org.mybatis.spring.boot:mybatis-spring-boot-starter:2.3.0")
compileOnly("org.projectlombok:lombok")
developmentOnly("org.springframework.boot:spring-boot-devtools")
annotationProcessor("org.springframework.boot:spring-boot-configuration-processor")
annotationProcessor("org.projectlombok:lombok")
testImplementation("org.springframework.boot:spring-boot-starter-test")
implementation("com.baomidou:mybatis-plus-boot-starter:3.5.2")
implementation("mysql:mysql-connector-java")
implementation("org.apache.shardingsphere:shardingsphere-jdbc-core-spring-boot-starter:5.2.1")
{
}
implementation("cn.hutool:hutool-all:5.8.11")
implementation("com.baomidou:mybatis-plus-boot-starter:3.5.3.1")
implementation("org.mybatis:mybatis-typehandlers-jsr310:1.0.2")
}
```
error log
```
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:44)
The following method did not exist:
'void
org.apache.shardingsphere.infra.util.yaml.constructor.ShardingSphereYamlConstructor$1.setCodePointLimit(int)'
The calling method's class,
org.apache.shardingsphere.infra.util.yaml.constructor.ShardingSphereYamlConstructor$1,
was loaded from the following location:
jar:file:/Users/zhangsan/.gradle/caches/modules-2/files-2.1/org.apache.shardingsphere/shardingsphere-infra-util/5.2.1/3d2162c2fb79cd4ffe578bb7cff030ad3fc57312/shardingsphere-infra-util-5.2.1.jar!/org/apache/shardingsphere/infra/util/yaml/constructor/ShardingSphereYamlConstructor$1.class
The called method's class,
org.apache.shardingsphere.infra.util.yaml.constructor.ShardingSphereYamlConstructor$1,
is available from the following locations:
jar:file:/Users/zhangsan/.gradle/caches/modules-2/files-2.1/org.apache.shardingsphere/shardingsphere-infra-util/5.2.1/3d2162c2fb79cd4ffe578bb7cff030ad3fc57312/shardingsphere-infra-util-5.2.1.jar!/org/apache/shardingsphere/infra/util/yaml/constructor/ShardingSphereYamlConstructor$1.class
The called method's class hierarchy was loaded from the following locations:
null:
file:/Users/zhangsan/.gradle/caches/modules-2/files-2.1/org.apache.shardingsphere/shardingsphere-infra-util/5.2.1/3d2162c2fb79cd4ffe578bb7cff030ad3fc57312/shardingsphere-infra-util-5.2.1.jar
org.yaml.snakeyaml.LoaderOptions:
file:/Users/zhangsan/.gradle/caches/modules-2/files-2.1/org.yaml/snakeyaml/1.30/8fde7fe2586328ac3c68db92045e1c8759125000/snakeyaml-1.30.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: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]