apache / shardingsphere

Empowering Data Intelligence with Distributed SQL for Sharding, Scalability, and Security Across All Databases.
Apache License 2.0
19.99k stars 6.75k forks source link

5.4.1 yaml Dependency #30318

Closed robben009 closed 9 months ago

robben009 commented 9 months ago
<dependencyManagement>
        <dependencies>
            <dependency>
                <groupId>org.springframework.boot</groupId>
                <artifactId>spring-boot-starter-parent</artifactId>
                <version>3.2.3</version>
                <type>pom</type>
                <scope>import</scope>
            </dependency>

            <dependency>
                <groupId>org.springframework.cloud</groupId>
                <artifactId>spring-cloud-dependencies</artifactId>
                <version>2023.0.0</version>
                <type>pom</type>
                <scope>import</scope>
            </dependency>
<dependencyManagement>

 <dependencies>
        <dependency>
            <groupId>org.springframework.cloud</groupId>
            <artifactId>spring-cloud-starter-bootstrap</artifactId>
        </dependency>
        <dependency>
            <groupId>org.springframework.boot</groupId>
            <artifactId>spring-boot-starter-web</artifactId>
        </dependency>

        <dependency>
            <groupId>mysql</groupId>
            <artifactId>mysql-connector-java</artifactId>
        </dependency>
        <dependency>
            <groupId>com.baomidou</groupId>
            <artifactId>mybatis-plus-boot-starter</artifactId>
        </dependency>
        <dependency>
            <groupId>org.mybatis</groupId>
            <artifactId>mybatis-spring</artifactId>
            <version>3.0.3</version>
        </dependency>

        <dependency>
            <groupId>org.apache.shardingsphere</groupId>
            <artifactId>shardingsphere-jdbc-core</artifactId>
            <version>5.4.1</version>
        </dependency>

        <dependency>
            <groupId>org.projectlombok</groupId>
            <artifactId>lombok</artifactId>
        </dependency>

        <dependency>
            <groupId>javax.xml.bind</groupId>
            <artifactId>jaxb-api</artifactId>
            <version>2.3.1</version>
        </dependency>
        <dependency>
            <groupId>org.glassfish.jaxb</groupId>
            <artifactId>jaxb-runtime</artifactId>
            <version>2.3.1</version>
            <scope>runtime</scope>
        </dependency>
        <dependency>
            <groupId>org.glassfish.jaxb</groupId>
            <artifactId>jaxb-runtime</artifactId>
            <version>2.3.1</version>
            <scope>runtime</scope>
        </dependency>

    </dependencies>

Error inserting data after startup

/Library/Java/JavaVirtualMachines/zulu-17.jdk/Contents/Home/bin/java -agentlib:jdwp=transport=dt_socket,address=127.0.0.1:62455,suspend=y,server=n -XX:TieredStopAtLevel=1 -Dspring.output.ansi.enabled=always -Dcom.sun.management.jmxremote -Dspring.jmx.enabled=true -Dspring.liveBeansView.mbeanDomain -Dspring.application.admin.enabled=true -Dmanagement.endpoints.jmx.exposure.include=* -javaagent:/Users/hjz/Library/Caches/JetBrains/IntelliJIdea2023.3/captureAgent/debugger-agent.jar=file:/private/var/folders/6c/qzyf2sc57xzgtyb82d3nmwhc0000gn/T/capture1.props -Dfile.encoding=UTF-8 -classpath /Users/hjz/IdeaProjects/springboot-agg/middleware/shardingJDBC/target/classes:/Users/hjz/maven/repository/com/github/xiaoymin/knife4j-openapi3-jakarta-spring-boot-starter/4.3.0/knife4j-openapi3-jakarta-spring-boot-starter-4.3.0.jar:/Users/hjz/maven/repository/com/github/xiaoymin/knife4j-core/4.3.0/knife4j-core-4.3.0.jar:/Users/hjz/maven/repository/com/github/xiaoymin/knife4j-openapi3-ui/4.3.0/knife4j-openapi3-ui-4.3.0.jar:/Users/hjz/maven/repository/org/springdoc/springdoc-openapi-starter-webmvc-ui/2.0.4/springdoc-openapi-starter-webmvc-ui-2.0.4.jar:/Users/hjz/maven/repository/org/springdoc/springdoc-openapi-starter-webmvc-api/2.0.4/springdoc-openapi-starter-webmvc-api-2.0.4.jar:/Users/hjz/maven/repository/org/springdoc/springdoc-openapi-starter-common/2.0.4/springdoc-openapi-starter-common-2.0.4.jar:/Users/hjz/maven/repository/io/swagger/core/v3/swagger-core-jakarta/2.2.8/swagger-core-jakarta-2.2.8.jar:/Users/hjz/maven/repository/io/swagger/core/v3/swagger-annotations-jakarta/2.2.8/swagger-annotations-jakarta-2.2.8.jar:/Users/hjz/maven/repository/io/swagger/core/v3/swagger-models-jakarta/2.2.8/swagger-models-jakarta-2.2.8.jar:/Users/hjz/maven/repository/jakarta/validation/jakarta.validation-api/3.0.2/jakarta.validation-api-3.0.2.jar:/Users/hjz/maven/repository/org/webjars/swagger-ui/4.18.1/swagger-ui-4.18.1.jar:/Users/hjz/maven/repository/org/webjars/webjars-locator-core/0.55/webjars-locator-core-0.55.jar:/Users/hjz/maven/repository/io/github/classgraph/classgraph/4.8.149/classgraph-4.8.149.jar:/Users/hjz/maven/repository/org/springframework/cloud/spring-cloud-starter-bootstrap/4.1.0/spring-cloud-starter-bootstrap-4.1.0.jar:/Users/hjz/maven/repository/org/springframework/cloud/spring-cloud-starter/4.1.0/spring-cloud-starter-4.1.0.jar:/Users/hjz/maven/repository/org/springframework/cloud/spring-cloud-context/4.1.0/spring-cloud-context-4.1.0.jar:/Users/hjz/maven/repository/org/springframework/security/spring-security-crypto/6.2.2/spring-security-crypto-6.2.2.jar:/Users/hjz/maven/repository/org/springframework/cloud/spring-cloud-commons/4.1.0/spring-cloud-commons-4.1.0.jar:/Users/hjz/maven/repository/org/springframework/security/spring-security-rsa/1.1.1/spring-security-rsa-1.1.1.jar:/Users/hjz/maven/repository/org/bouncycastle/bcprov-jdk18on/1.74/bcprov-jdk18on-1.74.jar:/Users/hjz/maven/repository/org/springframework/boot/spring-boot-starter-web/3.2.3/spring-boot-starter-web-3.2.3.jar:/Users/hjz/maven/repository/org/springframework/boot/spring-boot-starter/3.2.3/spring-boot-starter-3.2.3.jar:/Users/hjz/maven/repository/org/springframework/boot/spring-boot/3.2.3/spring-boot-3.2.3.jar:/Users/hjz/maven/repository/org/springframework/boot/spring-boot-starter-logging/3.2.3/spring-boot-starter-logging-3.2.3.jar:/Users/hjz/maven/repository/org/apache/logging/log4j/log4j-to-slf4j/2.21.1/log4j-to-slf4j-2.21.1.jar:/Users/hjz/maven/repository/org/apache/logging/log4j/log4j-api/2.21.1/log4j-api-2.21.1.jar:/Users/hjz/maven/repository/jakarta/annotation/jakarta.annotation-api/2.1.1/jakarta.annotation-api-2.1.1.jar:/Users/hjz/maven/repository/org/springframework/spring-core/6.1.4/spring-core-6.1.4.jar:/Users/hjz/maven/repository/org/springframework/spring-jcl/6.1.4/spring-jcl-6.1.4.jar:/Users/hjz/maven/repository/org/yaml/snakeyaml/2.2/snakeyaml-2.2.jar:/Users/hjz/maven/repository/org/springframework/boot/spring-boot-starter-json/3.2.3/spring-boot-starter-json-3.2.3.jar:/Users/hjz/maven/repository/com/fasterxml/jackson/core/jackson-databind/2.15.4/jackson-databind-2.15.4.jar:/Users/hjz/maven/repository/com/fasterxml/jackson/core/jackson-annotations/2.15.4/jackson-annotations-2.15.4.jar:/Users/hjz/maven/repository/com/fasterxml/jackson/core/jackson-core/2.15.4/jackson-core-2.15.4.jar:/Users/hjz/maven/repository/com/fasterxml/jackson/datatype/jackson-datatype-jdk8/2.15.4/jackson-datatype-jdk8-2.15.4.jar:/Users/hjz/maven/repository/com/fasterxml/jackson/datatype/jackson-datatype-jsr310/2.15.4/jackson-datatype-jsr310-2.15.4.jar:/Users/hjz/maven/repository/com/fasterxml/jackson/module/jackson-module-parameter-names/2.15.4/jackson-module-parameter-names-2.15.4.jar:/Users/hjz/maven/repository/org/springframework/boot/spring-boot-starter-tomcat/3.2.3/spring-boot-starter-tomcat-3.2.3.jar:/Users/hjz/maven/repository/org/apache/tomcat/embed/tomcat-embed-core/10.1.19/tomcat-embed-core-10.1.19.jar:/Users/hjz/maven/repository/org/apache/tomcat/embed/tomcat-embed-el/10.1.19/tomcat-embed-el-10.1.19.jar:/Users/hjz/maven/repository/org/apache/tomcat/embed/tomcat-embed-websocket/10.1.19/tomcat-embed-websocket-10.1.19.jar:/Users/hjz/maven/repository/org/springframework/spring-web/6.1.4/spring-web-6.1.4.jar:/Users/hjz/maven/repository/org/springframework/spring-beans/6.1.4/spring-beans-6.1.4.jar:/Users/hjz/maven/repository/io/micrometer/micrometer-observation/1.12.3/micrometer-observation-1.12.3.jar:/Users/hjz/maven/repository/io/micrometer/micrometer-commons/1.12.3/micrometer-commons-1.12.3.jar:/Users/hjz/maven/repository/org/springframework/spring-webmvc/6.1.4/spring-webmvc-6.1.4.jar:/Users/hjz/maven/repository/org/springframework/spring-aop/6.1.4/spring-aop-6.1.4.jar:/Users/hjz/maven/repository/org/springframework/spring-context/6.1.4/spring-context-6.1.4.jar:/Users/hjz/maven/repository/org/springframework/spring-expression/6.1.4/spring-expression-6.1.4.jar:/Users/hjz/maven/repository/com/mysql/mysql-connector-j/8.0.33/mysql-connector-j-8.0.33.jar:/Users/hjz/maven/repository/com/baomidou/mybatis-plus-boot-starter/3.5.5/mybatis-plus-boot-starter-3.5.5.jar:/Users/hjz/maven/repository/com/baomidou/mybatis-plus/3.5.5/mybatis-plus-3.5.5.jar:/Users/hjz/maven/repository/com/baomidou/mybatis-plus-core/3.5.5/mybatis-plus-core-3.5.5.jar:/Users/hjz/maven/repository/com/baomidou/mybatis-plus-annotation/3.5.5/mybatis-plus-annotation-3.5.5.jar:/Users/hjz/maven/repository/com/baomidou/mybatis-plus-extension/3.5.5/mybatis-plus-extension-3.5.5.jar:/Users/hjz/maven/repository/org/mybatis/mybatis/3.5.15/mybatis-3.5.15.jar:/Users/hjz/maven/repository/com/github/jsqlparser/jsqlparser/4.6/jsqlparser-4.6.jar:/Users/hjz/maven/repository/com/baomidou/mybatis-plus-spring-boot-autoconfigure/3.5.5/mybatis-plus-spring-boot-autoconfigure-3.5.5.jar:/Users/hjz/maven/repository/org/springframework/boot/spring-boot-autoconfigure/3.2.3/spring-boot-autoconfigure-3.2.3.jar:/Users/hjz/maven/repository/org/springframework/boot/spring-boot-starter-jdbc/3.2.3/spring-boot-starter-jdbc-3.2.3.jar:/Users/hjz/maven/repository/com/zaxxer/HikariCP/5.0.1/HikariCP-5.0.1.jar:/Users/hjz/maven/repository/org/springframework/spring-jdbc/6.1.4/spring-jdbc-6.1.4.jar:/Users/hjz/maven/repository/org/springframework/spring-tx/6.1.4/spring-tx-6.1.4.jar:/Users/hjz/maven/repository/org/mybatis/mybatis-spring/3.0.3/mybatis-spring-3.0.3.jar:/Users/hjz/maven/repository/org/apache/shardingsphere/shardingsphere-jdbc-core/5.4.1/shardingsphere-jdbc-core-5.4.1.jar:/Users/hjz/maven/repository/org/apache/shardingsphere/shardingsphere-transaction-core/5.4.1/shardingsphere-transaction-core-5.4.1.jar:/Users/hjz/maven/repository/org/apache/shardingsphere/shardingsphere-transaction-api/5.4.1/shardingsphere-transaction-api-5.4.1.jar:/Users/hjz/maven/repository/org/apache/shardingsphere/shardingsphere-infra-executor/5.4.1/shardingsphere-infra-executor-5.4.1.jar:/Users/hjz/maven/repository/com/alibaba/transmittable-thread-local/2.14.2/transmittable-thread-local-2.14.2.jar:/Users/hjz/maven/repository/org/apache/shardingsphere/shardingsphere-global-clock-core/5.4.1/shardingsphere-global-clock-core-5.4.1.jar:/Users/hjz/maven/repository/org/apache/shardingsphere/shardingsphere-global-clock-api/5.4.1/shardingsphere-global-clock-api-5.4.1.jar:/Users/hjz/maven/repository/org/apache/shardingsphere/shardingsphere-infra-common/5.4.1/shardingsphere-infra-common-5.4.1.jar:/Users/hjz/maven/repository/org/apache/shardingsphere/shardingsphere-infra-util/5.4.1/shardingsphere-infra-util-5.4.1.jar:/Users/hjz/maven/repository/org/apache/shardingsphere/shardingsphere-infra-spi/5.4.1/shardingsphere-infra-spi-5.4.1.jar:/Users/hjz/maven/repository/org/apache/shardingsphere/shardingsphere-infra-database-mariadb/5.4.1/shardingsphere-infra-database-mariadb-5.4.1.jar:/Users/hjz/maven/repository/org/apache/shardingsphere/shardingsphere-infra-database-h2/5.4.1/shardingsphere-infra-database-h2-5.4.1.jar:/Users/hjz/maven/repository/org/apache/shardingsphere/shardingsphere-infra-data-source-pool-hikari/5.4.1/shardingsphere-infra-data-source-pool-hikari-5.4.1.jar:/Users/hjz/maven/repository/org/apache/shardingsphere/shardingsphere-infra-data-source-pool-core/5.4.1/shardingsphere-infra-data-source-pool-core-5.4.1.jar:/Users/hjz/maven/repository/org/apache/shardingsphere/shardingsphere-mode-core/5.4.1/shardingsphere-mode-core-5.4.1.jar:/Users/hjz/maven/repository/org/apache/shardingsphere/shardingsphere-global-clock-tso-core/5.4.1/shardingsphere-global-clock-tso-core-5.4.1.jar:/Users/hjz/maven/repository/org/apache/shardingsphere/shardingsphere-global-clock-tso-spi/5.4.1/shardingsphere-global-clock-tso-spi-5.4.1.jar:/Users/hjz/maven/repository/org/apache/shardingsphere/shardingsphere-parser-sql-sql92/5.4.1/shardingsphere-parser-sql-sql92-5.4.1.jar:/Users/hjz/maven/repository/org/apache/shardingsphere/shardingsphere-infra-database-sql92/5.4.1/shardingsphere-infra-database-sql92-5.4.1.jar:/Users/hjz/maven/repository/org/apache/shardingsphere/shardingsphere-infra-database-core/5.4.1/shardingsphere-infra-database-core-5.4.1.jar:/Users/hjz/maven/repository/org/apache/shardingsphere/shardingsphere-infra-exception-core/5.4.1/shardingsphere-infra-exception-core-5.4.1.jar:/Users/hjz/maven/repository/org/apache/shardingsphere/shardingsphere-parser-sql-engine/5.4.1/shardingsphere-parser-sql-engine-5.4.1.jar:/Users/hjz/maven/repository/org/apache/shardingsphere/shardingsphere-parser-sql-spi/5.4.1/shardingsphere-parser-sql-spi-5.4.1.jar:/Users/hjz/maven/repository/org/apache/shardingsphere/shardingsphere-parser-sql-statement/5.4.1/shardingsphere-parser-sql-statement-5.4.1.jar:/Users/hjz/maven/repository/org/antlr/antlr4-runtime/4.10.1/antlr4-runtime-4.10.1.jar:/Users/hjz/maven/repository/com/github/ben-manes/caffeine/caffeine/3.1.8/caffeine-3.1.8.jar:/Users/hjz/maven/repository/org/apache/shardingsphere/shardingsphere-parser-sql-mysql/5.4.1/shardingsphere-parser-sql-mysql-5.4.1.jar:/Users/hjz/maven/repository/org/apache/shardingsphere/shardingsphere-infra-database-mysql/5.4.1/shardingsphere-infra-database-mysql-5.4.1.jar:/Users/hjz/maven/repository/org/apache/shardingsphere/shardingsphere-parser-sql-postgresql/5.4.1/shardingsphere-parser-sql-postgresql-5.4.1.jar:/Users/hjz/maven/repository/org/apache/shardingsphere/shardingsphere-infra-database-postgresql/5.4.1/shardingsphere-infra-database-postgresql-5.4.1.jar:/Users/hjz/maven/repository/org/apache/shardingsphere/shardingsphere-parser-sql-oracle/5.4.1/shardingsphere-parser-sql-oracle-5.4.1.jar:/Users/hjz/maven/repository/org/apache/shardingsphere/shardingsphere-infra-database-oracle/5.4.1/shardingsphere-infra-database-oracle-5.4.1.jar:/Users/hjz/maven/repository/org/apache/shardingsphere/shardingsphere-parser-sql-sqlserver/5.4.1/shardingsphere-parser-sql-sqlserver-5.4.1.jar:/Users/hjz/maven/repository/org/apache/shardingsphere/shardingsphere-infra-database-sqlserver/5.4.1/shardingsphere-infra-database-sqlserver-5.4.1.jar:/Users/hjz/maven/repository/org/apache/shardingsphere/shardingsphere-parser-sql-opengauss/5.4.1/shardingsphere-parser-sql-opengauss-5.4.1.jar:/Users/hjz/maven/repository/org/apache/shardingsphere/shardingsphere-infra-database-opengauss/5.4.1/shardingsphere-infra-database-opengauss-5.4.1.jar:/Users/hjz/maven/repository/org/apache/shardingsphere/shardingsphere-mysql-dialect-exception/5.4.1/shardingsphere-mysql-dialect-exception-5.4.1.jar:/Users/hjz/maven/repository/org/apache/shardingsphere/shardingsphere-infra-exception-dialect-core/5.4.1/shardingsphere-infra-exception-dialect-core-5.4.1.jar:/Users/hjz/maven/repository/org/apache/shardingsphere/shardingsphere-postgresql-dialect-exception/5.4.1/shardingsphere-postgresql-dialect-exception-5.4.1.jar:/Users/hjz/maven/repository/org/apache/shardingsphere/shardingsphere-authority-core/5.4.1/shardingsphere-authority-core-5.4.1.jar:/Users/hjz/maven/repository/org/apache/shardingsphere/shardingsphere-authority-api/5.4.1/shardingsphere-authority-api-5.4.1.jar:/Users/hjz/maven/repository/org/apache/shardingsphere/shardingsphere-mode-api/5.4.1/shardingsphere-mode-api-5.4.1.jar:/Users/hjz/maven/repository/org/apache/shardingsphere/shardingsphere-single-core/5.4.1/shardingsphere-single-core-5.4.1.jar:/Users/hjz/maven/repository/org/apache/shardingsphere/shardingsphere-single-api/5.4.1/shardingsphere-single-api-5.4.1.jar:/Users/hjz/maven/repository/org/apache/shardingsphere/shardingsphere-sql-federation-api/5.4.1/shardingsphere-sql-federation-api-5.4.1.jar:/Users/hjz/maven/repository/org/apache/shardingsphere/shardingsphere-infra-route/5.4.1/shardingsphere-infra-route-5.4.1.jar:/Users/hjz/maven/repository/org/apache/shardingsphere/shardingsphere-traffic-core/5.4.1/shardingsphere-traffic-core-5.4.1.jar:/Users/hjz/maven/repository/org/apache/shardingsphere/shardingsphere-infra-binder/5.4.1/shardingsphere-infra-binder-5.4.1.jar:/Users/hjz/maven/repository/org/apache/shardingsphere/shardingsphere-traffic-api/5.4.1/shardingsphere-traffic-api-5.4.1.jar:/Users/hjz/maven/repository/org/apache/shardingsphere/shardingsphere-infra-context/5.4.1/shardingsphere-infra-context-5.4.1.jar:/Users/hjz/maven/repository/org/apache/shardingsphere/shardingsphere-infra-session/5.4.1/shardingsphere-infra-session-5.4.1.jar:/Users/hjz/maven/repository/org/apache/shardingsphere/shardingsphere-parser-distsql-engine/5.4.1/shardingsphere-parser-distsql-engine-5.4.1.jar:/Users/hjz/maven/repository/org/apache/shardingsphere/shardingsphere-parser-distsql-statement/5.4.1/shardingsphere-parser-distsql-statement-5.4.1.jar:/Users/hjz/maven/repository/org/apache/shardingsphere/shardingsphere-sql-translator-core/5.4.1/shardingsphere-sql-translator-core-5.4.1.jar:/Users/hjz/maven/repository/org/apache/shardingsphere/shardingsphere-sql-translator-api/5.4.1/shardingsphere-sql-translator-api-5.4.1.jar:/Users/hjz/maven/repository/org/apache/shardingsphere/shardingsphere-standalone-mode-core/5.4.1/shardingsphere-standalone-mode-core-5.4.1.jar:/Users/hjz/maven/repository/org/apache/shardingsphere/shardingsphere-standalone-mode-repository-api/5.4.1/shardingsphere-standalone-mode-repository-api-5.4.1.jar:/Users/hjz/maven/repository/org/apache/shardingsphere/shardingsphere-standalone-mode-repository-jdbc/5.4.1/shardingsphere-standalone-mode-repository-jdbc-5.4.1.jar:/Users/hjz/maven/repository/com/sun/xml/bind/jaxb-core/4.0.4/jaxb-core-4.0.4.jar:/Users/hjz/maven/repository/jakarta/xml/bind/jakarta.xml.bind-api/4.0.1/jakarta.xml.bind-api-4.0.1.jar:/Users/hjz/maven/repository/org/eclipse/angus/angus-activation/2.0.1/angus-activation-2.0.1.jar:/Users/hjz/maven/repository/com/sun/xml/bind/jaxb-impl/4.0.4/jaxb-impl-4.0.4.jar:/Users/hjz/maven/repository/org/apache/shardingsphere/shardingsphere-cluster-mode-core/5.4.1/shardingsphere-cluster-mode-core-5.4.1.jar:/Users/hjz/maven/repository/org/apache/shardingsphere/shardingsphere-cluster-mode-repository-api/5.4.1/shardingsphere-cluster-mode-repository-api-5.4.1.jar:/Users/hjz/maven/repository/org/apache/shardingsphere/shardingsphere-metadata-core/5.4.1/shardingsphere-metadata-core-5.4.1.jar:/Users/hjz/maven/repository/org/apache/shardingsphere/shardingsphere-sharding-core/5.4.1/shardingsphere-sharding-core-5.4.1.jar:/Users/hjz/maven/repository/org/apache/shardingsphere/shardingsphere-sharding-api/5.4.1/shardingsphere-sharding-api-5.4.1.jar:/Users/hjz/maven/repository/org/apache/shardingsphere/shardingsphere-data-pipeline-api/5.4.1/shardingsphere-data-pipeline-api-5.4.1.jar:/Users/hjz/maven/repository/org/apache/shardingsphere/shardingsphere-infra-rewrite/5.4.1/shardingsphere-infra-rewrite-5.4.1.jar:/Users/hjz/maven/repository/org/apache/shardingsphere/shardingsphere-sql-translator-native-provider/5.4.1/shardingsphere-sql-translator-native-provider-5.4.1.jar:/Users/hjz/maven/repository/org/apache/shardingsphere/shardingsphere-infra-merge/5.4.1/shardingsphere-infra-merge-5.4.1.jar:/Users/hjz/maven/repository/org/apache/shardingsphere/shardingsphere-time-service-core/5.4.1/shardingsphere-time-service-core-5.4.1.jar:/Users/hjz/maven/repository/org/apache/shardingsphere/shardingsphere-time-service-api/5.4.1/shardingsphere-time-service-api-5.4.1.jar:/Users/hjz/maven/repository/org/apache/shardingsphere/shardingsphere-system-time-service/5.4.1/shardingsphere-system-time-service-5.4.1.jar:/Users/hjz/maven/repository/org/apache/shardingsphere/shardingsphere-infra-expr-core/5.4.1/shardingsphere-infra-expr-core-5.4.1.jar:/Users/hjz/maven/repository/org/apache/shardingsphere/shardingsphere-infra-expr-spi/5.4.1/shardingsphere-infra-expr-spi-5.4.1.jar:/Users/hjz/maven/repository/org/apache/shardingsphere/shardingsphere-infra-expr-groovy/5.4.1/shardingsphere-infra-expr-groovy-5.4.1.jar:/Users/hjz/maven/repository/org/apache/shardingsphere/shardingsphere-infra-expr-literal/5.4.1/shardingsphere-infra-expr-literal-5.4.1.jar:/Users/hjz/maven/repository/org/apache/shardingsphere/shardingsphere-broadcast-core/5.4.1/shardingsphere-broadcast-core-5.4.1.jar:/Users/hjz/maven/repository/org/apache/shardingsphere/shardingsphere-broadcast-api/5.4.1/shardingsphere-broadcast-api-5.4.1.jar:/Users/hjz/maven/repository/org/apache/shardingsphere/shardingsphere-readwrite-splitting-core/5.4.1/shardingsphere-readwrite-splitting-core-5.4.1.jar:/Users/hjz/maven/repository/org/apache/shardingsphere/shardingsphere-readwrite-splitting-api/5.4.1/shardingsphere-readwrite-splitting-api-5.4.1.jar:/Users/hjz/maven/repository/org/apache/shardingsphere/shardingsphere-encrypt-core/5.4.1/shardingsphere-encrypt-core-5.4.1.jar:/Users/hjz/maven/repository/org/apache/shardingsphere/shardingsphere-encrypt-api/5.4.1/shardingsphere-encrypt-api-5.4.1.jar:/Users/hjz/maven/repository/commons-codec/commons-codec/1.16.1/commons-codec-1.16.1.jar:/Users/hjz/maven/repository/org/apache/shardingsphere/shardingsphere-mask-core/5.4.1/shardingsphere-mask-core-5.4.1.jar:/Users/hjz/maven/repository/org/apache/shardingsphere/shardingsphere-mask-api/5.4.1/shardingsphere-mask-api-5.4.1.jar:/Users/hjz/maven/repository/org/apache/shardingsphere/shardingsphere-shadow-core/5.4.1/shardingsphere-shadow-core-5.4.1.jar:/Users/hjz/maven/repository/org/apache/shardingsphere/shardingsphere-shadow-api/5.4.1/shardingsphere-shadow-api-5.4.1.jar:/Users/hjz/maven/repository/org/apache/shardingsphere/shardingsphere-sql-federation-core/5.4.1/shardingsphere-sql-federation-core-5.4.1.jar:/Users/hjz/maven/repository/com/google/code/gson/gson/2.10.1/gson-2.10.1.jar:/Users/hjz/maven/repository/org/apache/calcite/calcite-core/1.35.0/calcite-core-1.35.0.jar:/Users/hjz/maven/repository/org/apache/calcite/calcite-linq4j/1.35.0/calcite-linq4j-1.35.0.jar:/Users/hjz/maven/repository/org/locationtech/jts/jts-core/1.19.0/jts-core-1.19.0.jar:/Users/hjz/maven/repository/org/locationtech/jts/io/jts-io-common/1.19.0/jts-io-common-1.19.0.jar:/Users/hjz/maven/repository/com/googlecode/json-simple/json-simple/1.1.1/json-simple-1.1.1.jar:/Users/hjz/maven/repository/org/locationtech/proj4j/proj4j/1.2.2/proj4j-1.2.2.jar:/Users/hjz/maven/repository/org/apache/calcite/avatica/avatica-core/1.23.0/avatica-core-1.23.0.jar:/Users/hjz/maven/repository/org/apache/calcite/avatica/avatica-metrics/1.23.0/avatica-metrics-1.23.0.jar:/Users/hjz/maven/repository/com/google/protobuf/protobuf-java/3.21.9/protobuf-java-3.21.9.jar:/Users/hjz/maven/repository/org/apache/httpcomponents/client5/httpclient5/5.2.3/httpclient5-5.2.3.jar:/Users/hjz/maven/repository/org/apache/httpcomponents/core5/httpcore5-h2/5.2.4/httpcore5-h2-5.2.4.jar:/Users/hjz/maven/repository/org/apache/httpcomponents/core5/httpcore5/5.2.4/httpcore5-5.2.4.jar:/Users/hjz/maven/repository/org/apiguardian/apiguardian-api/1.1.2/apiguardian-api-1.1.2.jar:/Users/hjz/maven/repository/com/fasterxml/jackson/dataformat/jackson-dataformat-yaml/2.15.4/jackson-dataformat-yaml-2.15.4.jar:/Users/hjz/maven/repository/com/google/uzaygezen/uzaygezen-core/0.2/uzaygezen-core-0.2.jar:/Users/hjz/maven/repository/com/yahoo/datasketches/sketches-core/0.9.0/sketches-core-0.9.0.jar:/Users/hjz/maven/repository/com/yahoo/datasketches/memory/0.9.0/memory-0.9.0.jar:/Users/hjz/maven/repository/net/hydromatic/aggdesigner-algorithm/6.0/aggdesigner-algorithm-6.0.jar:/Users/hjz/maven/repository/commons-lang/commons-lang/2.4/commons-lang-2.4.jar:/Users/hjz/maven/repository/commons-logging/commons-logging/1.1.3/commons-logging-1.1.3.jar:/Users/hjz/maven/repository/org/apache/commons/commons-dbcp2/2.10.0/commons-dbcp2-2.10.0.jar:/Users/hjz/maven/repository/org/apache/commons/commons-pool2/2.12.0/commons-pool2-2.12.0.jar:/Users/hjz/maven/repository/jakarta/transaction/jakarta.transaction-api/2.0.1/jakarta.transaction-api-2.0.1.jar:/Users/hjz/maven/repository/org/apache/commons/commons-math3/3.6.1/commons-math3-3.6.1.jar:/Users/hjz/maven/repository/commons-io/commons-io/2.11.0/commons-io-2.11.0.jar:/Users/hjz/maven/repository/org/codehaus/janino/commons-compiler/3.1.12/commons-compiler-3.1.12.jar:/Users/hjz/maven/repository/org/codehaus/janino/janino/3.1.12/janino-3.1.12.jar:/Users/hjz/maven/repository/com/jayway/jsonpath/json-path/2.9.0/json-path-2.9.0.jar:/Users/hjz/maven/repository/net/minidev/json-smart/2.5.0/json-smart-2.5.0.jar:/Users/hjz/maven/repository/net/minidev/accessors-smart/2.5.0/accessors-smart-2.5.0.jar:/Users/hjz/maven/repository/org/ow2/asm/asm/9.3/asm-9.3.jar:/Users/hjz/maven/repository/org/apache/shardingsphere/shardingsphere-sql-parser-core/5.4.1/shardingsphere-sql-parser-core-5.4.1.jar:/Users/hjz/maven/repository/org/apache/shardingsphere/shardingsphere-sql-parser-api/5.4.1/shardingsphere-sql-parser-api-5.4.1.jar:/Users/hjz/maven/repository/org/apache/groovy/groovy/4.0.18/groovy-4.0.18.jar:/Users/hjz/maven/repository/org/apache/shardingsphere/shardingsphere-infra-parser/5.4.1/shardingsphere-infra-parser-5.4.1.jar:/Users/hjz/maven/repository/org/apache/shardingsphere/shardingsphere-logging-core/5.4.1/shardingsphere-logging-core-5.4.1.jar:/Users/hjz/maven/repository/org/apache/shardingsphere/shardingsphere-logging-api/5.4.1/shardingsphere-logging-api-5.4.1.jar:/Users/hjz/maven/repository/ch/qos/logback/logback-classic/1.4.14/logback-classic-1.4.14.jar:/Users/hjz/maven/repository/ch/qos/logback/logback-core/1.4.14/logback-core-1.4.14.jar:/Users/hjz/maven/repository/com/h2database/h2/2.2.224/h2-2.2.224.jar:/Users/hjz/maven/repository/org/checkerframework/checker-qual/3.39.0/checker-qual-3.39.0.jar:/Users/hjz/maven/repository/com/google/errorprone/error_prone_annotations/2.22.0/error_prone_annotations-2.22.0.jar:/Users/hjz/maven/repository/org/apache/commons/commons-collections4/4.4/commons-collections4-4.4.jar:/Users/hjz/maven/repository/org/slf4j/slf4j-api/2.0.12/slf4j-api-2.0.12.jar:/Users/hjz/maven/repository/org/slf4j/jcl-over-slf4j/2.0.12/jcl-over-slf4j-2.0.12.jar:/Users/hjz/maven/repository/org/slf4j/jul-to-slf4j/2.0.12/jul-to-slf4j-2.0.12.jar:/Users/hjz/maven/repository/org/projectlombok/lombok/1.18.28/lombok-1.18.28.jar:/Users/hjz/maven/repository/javax/xml/bind/jaxb-api/2.3.1/jaxb-api-2.3.1.jar:/Users/hjz/maven/repository/javax/activation/javax.activation-api/1.2.0/javax.activation-api-1.2.0.jar:/Users/hjz/maven/repository/org/glassfish/jaxb/jaxb-runtime/2.3.1/jaxb-runtime-2.3.1.jar:/Users/hjz/maven/repository/org/glassfish/jaxb/txw2/4.0.4/txw2-4.0.4.jar:/Users/hjz/maven/repository/com/sun/istack/istack-commons-runtime/4.1.2/istack-commons-runtime-4.1.2.jar:/Users/hjz/maven/repository/org/jvnet/staxex/stax-ex/2.1.0/stax-ex-2.1.0.jar:/Users/hjz/maven/repository/jakarta/activation/jakarta.activation-api/2.1.2/jakarta.activation-api-2.1.2.jar:/Users/hjz/maven/repository/com/sun/xml/fastinfoset/FastInfoset/2.1.0/FastInfoset-2.1.0.jar:/Users/hjz/maven/repository/com/alibaba/fastjson2/fastjson2/2.0.39/fastjson2-2.0.39.jar:/Users/hjz/maven/repository/com/google/guava/guava/32.1.2-jre/guava-32.1.2-jre.jar:/Users/hjz/maven/repository/com/google/guava/failureaccess/1.0.1/failureaccess-1.0.1.jar:/Users/hjz/maven/repository/com/google/guava/listenablefuture/9999.0-empty-to-avoid-conflict-with-guava/listenablefuture-9999.0-empty-to-avoid-conflict-with-guava.jar:/Users/hjz/maven/repository/com/google/code/findbugs/jsr305/3.0.2/jsr305-3.0.2.jar:/Users/hjz/maven/repository/com/google/j2objc/j2objc-annotations/2.8/j2objc-annotations-2.8.jar:/Users/hjz/maven/repository/cn/hutool/hutool-all/5.8.21/hutool-all-5.8.21.jar:/Users/hjz/maven/repository/org/mapstruct/mapstruct/1.5.5.Final/mapstruct-1.5.5.Final.jar:/Users/hjz/maven/repository/org/mapstruct/mapstruct-processor/1.5.5.Final/mapstruct-processor-1.5.5.Final.jar:/Users/hjz/maven/repository/com/carrotsearch/java-sizeof/0.0.5/java-sizeof-0.0.5.jar:/Users/hjz/maven/repository/org/apache/commons/commons-lang3/3.13.0/commons-lang3-3.13.0.jar:/Users/hjz/Applications/IntelliJ IDEA Ultimate.app/Contents/lib/idea_rt.jar com.hjz.sharding.ShardingJDBCApplication
已连接到地址为 ''127.0.0.1:62455',传输: '套接字'' 的目标虚拟机

  .   ____          _            __ _ _
 /\\ / ___'_ __ _ _(_)_ __  __ _ \ \ \ \
( ( )\___ | '_ | '_| | '_ \/ _` | \ \ \ \
 \\/  ___)| |_)| | | | | || (_| |  ) ) ) )
  '  |____| .__|_| |_|_| |_\__, | / / / /
 =========|_|==============|___/=/_/_/_/
 :: Spring Boot ::                (v3.2.3)

2024-02-27T18:08:47.998+08:00  INFO 92239 --- [shardingJDBC1] [           main] c.hjz.sharding.ShardingJDBCApplication   : No active profile set, falling back to 1 default profile: "default"
2024-02-27T18:08:48.352+08:00  INFO 92239 --- [shardingJDBC1] [           main] o.s.cloud.context.scope.GenericScope     : BeanFactory id=d0eb6eef-ef99-34ed-9dd8-785b08cf310a
2024-02-27T18:08:48.484+08:00  INFO 92239 --- [shardingJDBC1] [           main] o.s.b.w.embedded.tomcat.TomcatWebServer  : Tomcat initialized with port 8080 (http)
2024-02-27T18:08:48.490+08:00  INFO 92239 --- [shardingJDBC1] [           main] o.apache.catalina.core.StandardService   : Starting service [Tomcat]
2024-02-27T18:08:48.490+08:00  INFO 92239 --- [shardingJDBC1] [           main] o.apache.catalina.core.StandardEngine    : Starting Servlet engine: [Apache Tomcat/10.1.19]
2024-02-27T18:08:48.526+08:00  INFO 92239 --- [shardingJDBC1] [           main] o.a.c.c.C.[Tomcat].[localhost].[/]       : Initializing Spring embedded WebApplicationContext
2024-02-27T18:08:48.527+08:00  INFO 92239 --- [shardingJDBC1] [           main] w.s.c.ServletWebServerApplicationContext : Root WebApplicationContext: initialization completed in 519 ms
 _ _   |_  _ _|_. ___ _ |    _ 
| | |\/|_)(_| | |_\  |_)||_|_\ 
     /               |         
                        3.5.5 
2024-02-27T18:08:49.243+08:00  INFO 92239 --- [shardingJDBC1] [           main] o.s.b.w.embedded.tomcat.TomcatWebServer  : Tomcat started on port 8080 (http) with context path ''
2024-02-27T18:08:49.252+08:00  INFO 92239 --- [shardingJDBC1] [           main] c.hjz.sharding.ShardingJDBCApplication   : Started ShardingJDBCApplication in 1.725 seconds (process running for 2.032)
2024-02-27T18:08:55.595+08:00  INFO 92239 --- [shardingJDBC1] [nio-8080-exec-1] o.a.c.c.C.[Tomcat].[localhost].[/]       : Initializing Spring DispatcherServlet 'dispatcherServlet'
2024-02-27T18:08:55.595+08:00  INFO 92239 --- [shardingJDBC1] [nio-8080-exec-1] o.s.web.servlet.DispatcherServlet        : Initializing Servlet 'dispatcherServlet'
2024-02-27T18:08:55.596+08:00  INFO 92239 --- [shardingJDBC1] [nio-8080-exec-1] o.s.web.servlet.DispatcherServlet        : Completed initialization in 1 ms
2024-02-27T18:08:55.678+08:00  INFO 92239 --- [shardingJDBC1] [nio-8080-exec-1] com.zaxxer.hikari.HikariDataSource       : HikariPool-1 - Starting...
2024-02-27T18:08:55.816+08:00  INFO 92239 --- [shardingJDBC1] [nio-8080-exec-1] com.zaxxer.hikari.HikariDataSource       : HikariPool-2 - Starting...
2024-02-27T18:08:55.919+08:00  INFO 92239 --- [shardingJDBC1] [nio-8080-exec-1] com.zaxxer.hikari.pool.HikariPool        : HikariPool-2 - Added connection conn0: url=jdbc:h2:mem:config user=SA
2024-02-27T18:08:55.920+08:00  INFO 92239 --- [shardingJDBC1] [nio-8080-exec-1] com.zaxxer.hikari.HikariDataSource       : HikariPool-2 - Start completed.
2024-02-27T18:08:55.992+08:00  INFO 92239 --- [shardingJDBC1] [nio-8080-exec-1] com.zaxxer.hikari.HikariDataSource       : HikariPool-3 - Starting...
2024-02-27T18:08:56.167+08:00  INFO 92239 --- [shardingJDBC1] [nio-8080-exec-1] com.zaxxer.hikari.pool.HikariPool        : HikariPool-3 - Added connection com.mysql.cj.jdbc.ConnectionImpl@5f72f860
2024-02-27T18:08:56.168+08:00  INFO 92239 --- [shardingJDBC1] [nio-8080-exec-1] com.zaxxer.hikari.HikariDataSource       : HikariPool-3 - Start completed.
2024-02-27T18:08:57.038+08:00 ERROR 92239 --- [shardingJDBC1] [nio-8080-exec-1] o.a.c.c.C.[.[.[/].[dispatcherServlet]    : Servlet.service() for servlet [dispatcherServlet] in context with path [] threw exception [Handler dispatch failed: java.lang.NoSuchMethodError: org.yaml.snakeyaml.representer.Representer: method 'void <init>()' not found] with root cause

java.lang.NoSuchMethodError: org.yaml.snakeyaml.representer.Representer: method 'void <init>()' not found
    at org.apache.shardingsphere.infra.util.yaml.representer.ShardingSphereYamlRepresenter.<init>(ShardingSphereYamlRepresenter.java:42) ~[shardingsphere-infra-util-5.4.1.jar:5.4.1]
    at org.apache.shardingsphere.infra.util.yaml.YamlEngine.marshal(YamlEngine.java:112) ~[shardingsphere-infra-util-5.4.1.jar:5.4.1]
    at org.apache.shardingsphere.metadata.persist.service.config.global.NewPropertiesPersistService.persist(NewPropertiesPersistService.java:51) ~[shardingsphere-metadata-core-5.4.1.jar:5.4.1]
    at org.apache.shardingsphere.metadata.persist.NewMetaDataPersistService.persistGlobalRuleConfiguration(NewMetaDataPersistService.java:97) ~[shardingsphere-metadata-core-5.4.1.jar:5.4.1]
    at org.apache.shardingsphere.mode.metadata.NewMetaDataContextsFactory.persistDatabaseConfigurations(NewMetaDataContextsFactory.java:147) ~[shardingsphere-mode-core-5.4.1.jar:5.4.1]
    at org.apache.shardingsphere.mode.metadata.NewMetaDataContextsFactory.create(NewMetaDataContextsFactory.java:102) ~[shardingsphere-mode-core-5.4.1.jar:5.4.1]
    at org.apache.shardingsphere.mode.metadata.NewMetaDataContextsFactory.create(NewMetaDataContextsFactory.java:71) ~[shardingsphere-mode-core-5.4.1.jar:5.4.1]
    at org.apache.shardingsphere.mode.manager.standalone.NewStandaloneContextManagerBuilder.build(NewStandaloneContextManagerBuilder.java:53) ~[shardingsphere-standalone-mode-core-5.4.1.jar:5.4.1]
    at org.apache.shardingsphere.driver.jdbc.core.datasource.ShardingSphereDataSource.createContextManager(ShardingSphereDataSource.java:78) ~[shardingsphere-jdbc-core-5.4.1.jar:5.4.1]
    at org.apache.shardingsphere.driver.jdbc.core.datasource.ShardingSphereDataSource.<init>(ShardingSphereDataSource.java:66) ~[shardingsphere-jdbc-core-5.4.1.jar:5.4.1]
    at org.apache.shardingsphere.driver.api.ShardingSphereDataSourceFactory.createDataSource(ShardingSphereDataSourceFactory.java:95) ~[shardingsphere-jdbc-core-5.4.1.jar:5.4.1]
    at org.apache.shardingsphere.driver.api.yaml.YamlShardingSphereDataSourceFactory.createDataSource(YamlShardingSphereDataSourceFactory.java:167) ~[shardingsphere-jdbc-core-5.4.1.jar:5.4.1]
    at org.apache.shardingsphere.driver.api.yaml.YamlShardingSphereDataSourceFactory.createDataSource(YamlShardingSphereDataSourceFactory.java:102) ~[shardingsphere-jdbc-core-5.4.1.jar:5.4.1]
    at org.apache.shardingsphere.driver.jdbc.core.driver.DriverDataSourceCache.createDataSource(DriverDataSourceCache.java:52) ~[shardingsphere-jdbc-core-5.4.1.jar:5.4.1]
    at org.apache.shardingsphere.driver.jdbc.core.driver.DriverDataSourceCache.lambda$get$0(DriverDataSourceCache.java:46) ~[shardingsphere-jdbc-core-5.4.1.jar:5.4.1]
    at java.base/java.util.concurrent.ConcurrentHashMap.computeIfAbsent(ConcurrentHashMap.java:1708) ~[na:na]
    at org.apache.shardingsphere.driver.jdbc.core.driver.DriverDataSourceCache.get(DriverDataSourceCache.java:46) ~[shardingsphere-jdbc-core-5.4.1.jar:5.4.1]
    at org.apache.shardingsphere.driver.ShardingSphereDriver.connect(ShardingSphereDriver.java:53) ~[shardingsphere-jdbc-core-5.4.1.jar:5.4.1]
    at com.zaxxer.hikari.util.DriverDataSource.getConnection(DriverDataSource.java:121) ~[HikariCP-5.0.1.jar:na]
    at com.zaxxer.hikari.pool.PoolBase.newConnection(PoolBase.java:359) ~[HikariCP-5.0.1.jar:na]
    at com.zaxxer.hikari.pool.PoolBase.newPoolEntry(PoolBase.java:201) ~[HikariCP-5.0.1.jar:na]
    at com.zaxxer.hikari.pool.HikariPool.createPoolEntry(HikariPool.java:470) ~[HikariCP-5.0.1.jar:na]
    at com.zaxxer.hikari.pool.HikariPool.checkFailFast(HikariPool.java:561) ~[HikariCP-5.0.1.jar:na]
    at com.zaxxer.hikari.pool.HikariPool.<init>(HikariPool.java:100) ~[HikariCP-5.0.1.jar:na]
    at com.zaxxer.hikari.HikariDataSource.getConnection(HikariDataSource.java:112) ~[HikariCP-5.0.1.jar:na]
    at org.springframework.jdbc.datasource.DataSourceUtils.fetchConnection(DataSourceUtils.java:160) ~[spring-jdbc-6.1.4.jar:6.1.4]
    at org.springframework.jdbc.datasource.DataSourceUtils.doGetConnection(DataSourceUtils.java:118) ~[spring-jdbc-6.1.4.jar:6.1.4]
    at org.springframework.jdbc.datasource.DataSourceUtils.getConnection(DataSourceUtils.java:81) ~[spring-jdbc-6.1.4.jar:6.1.4]
    at org.mybatis.spring.transaction.SpringManagedTransaction.openConnection(SpringManagedTransaction.java:80) ~[mybatis-spring-3.0.3.jar:3.0.3]
    at org.mybatis.spring.transaction.SpringManagedTransaction.getConnection(SpringManagedTransaction.java:67) ~[mybatis-spring-3.0.3.jar:3.0.3]
    at org.apache.ibatis.executor.BaseExecutor.getConnection(BaseExecutor.java:348) ~[mybatis-3.5.15.jar:3.5.15]
    at org.apache.ibatis.executor.SimpleExecutor.prepareStatement(SimpleExecutor.java:89) ~[mybatis-3.5.15.jar:3.5.15]
    at org.apache.ibatis.executor.SimpleExecutor.doUpdate(SimpleExecutor.java:49) ~[mybatis-3.5.15.jar:3.5.15]
    at org.apache.ibatis.executor.BaseExecutor.update(BaseExecutor.java:117) ~[mybatis-3.5.15.jar:3.5.15]
    at org.apache.ibatis.executor.CachingExecutor.update(CachingExecutor.java:76) ~[mybatis-3.5.15.jar:3.5.15]
    at org.apache.ibatis.session.defaults.DefaultSqlSession.update(DefaultSqlSession.java:197) ~[mybatis-3.5.15.jar:3.5.15]
    at org.apache.ibatis.session.defaults.DefaultSqlSession.insert(DefaultSqlSession.java:184) ~[mybatis-3.5.15.jar:3.5.15]
    at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[na:na]
    at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77) ~[na:na]
    at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[na:na]
    at java.base/java.lang.reflect.Method.invoke(Method.java:568) ~[na:na]
    at org.mybatis.spring.SqlSessionTemplate$SqlSessionInterceptor.invoke(SqlSessionTemplate.java:425) ~[mybatis-spring-3.0.3.jar:3.0.3]
    at jdk.proxy2/jdk.proxy2.$Proxy81.insert(Unknown Source) ~[na:na]
    at org.mybatis.spring.SqlSessionTemplate.insert(SqlSessionTemplate.java:272) ~[mybatis-spring-3.0.3.jar:3.0.3]
    at com.baomidou.mybatisplus.core.override.MybatisMapperMethod.execute(MybatisMapperMethod.java:59) ~[mybatis-plus-core-3.5.5.jar:3.5.5]
    at com.baomidou.mybatisplus.core.override.MybatisMapperProxy$PlainMethodInvoker.invoke(MybatisMapperProxy.java:152) ~[mybatis-plus-core-3.5.5.jar:3.5.5]
    at com.baomidou.mybatisplus.core.override.MybatisMapperProxy.invoke(MybatisMapperProxy.java:89) ~[mybatis-plus-core-3.5.5.jar:3.5.5]
    at jdk.proxy2/jdk.proxy2.$Proxy84.insert(Unknown Source) ~[na:na]
    at com.baomidou.mybatisplus.extension.service.IService.save(IService.java:60) ~[mybatis-plus-extension-3.5.5.jar:3.5.5]
    at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[na:na]
    at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77) ~[na:na]
    at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[na:na]
    at java.base/java.lang.reflect.Method.invoke(Method.java:568) ~[na:na]
    at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:351) ~[spring-aop-6.1.4.jar:6.1.4]
    at org.springframework.aop.framework.CglibAopProxy$DynamicAdvisedInterceptor.intercept(CglibAopProxy.java:713) ~[spring-aop-6.1.4.jar:6.1.4]
    at com.hjz.sharding.database.service.impl.OrderServiceImpl$$SpringCGLIB$$0.save(<generated>) ~[classes/:na]
    at com.hjz.sharding.controller.ShardingController.send(ShardingController.java:27) ~[classes/:na]
    at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[na:na]
    at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77) ~[na:na]
    at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[na:na]
    at java.base/java.lang.reflect.Method.invoke(Method.java:568) ~[na:na]
    at org.springframework.web.method.support.InvocableHandlerMethod.doInvoke(InvocableHandlerMethod.java:259) ~[spring-web-6.1.4.jar:6.1.4]
    at org.springframework.web.method.support.InvocableHandlerMethod.invokeForRequest(InvocableHandlerMethod.java:192) ~[spring-web-6.1.4.jar:6.1.4]
    at org.springframework.web.servlet.mvc.method.annotation.ServletInvocableHandlerMethod.invokeAndHandle(ServletInvocableHandlerMethod.java:118) ~[spring-webmvc-6.1.4.jar:6.1.4]
    at org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.invokeHandlerMethod(RequestMappingHandlerAdapter.java:920) ~[spring-webmvc-6.1.4.jar:6.1.4]
    at org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.handleInternal(RequestMappingHandlerAdapter.java:830) ~[spring-webmvc-6.1.4.jar:6.1.4]
    at org.springframework.web.servlet.mvc.method.AbstractHandlerMethodAdapter.handle(AbstractHandlerMethodAdapter.java:87) ~[spring-webmvc-6.1.4.jar:6.1.4]
    at org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:1089) ~[spring-webmvc-6.1.4.jar:6.1.4]
    at org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:979) ~[spring-webmvc-6.1.4.jar:6.1.4]
    at org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:1014) ~[spring-webmvc-6.1.4.jar:6.1.4]
    at org.springframework.web.servlet.FrameworkServlet.doPost(FrameworkServlet.java:914) ~[spring-webmvc-6.1.4.jar:6.1.4]
    at jakarta.servlet.http.HttpServlet.service(HttpServlet.java:590) ~[tomcat-embed-core-10.1.19.jar:6.0]
    at org.springframework.web.servlet.FrameworkServlet.service(FrameworkServlet.java:885) ~[spring-webmvc-6.1.4.jar:6.1.4]
    at jakarta.servlet.http.HttpServlet.service(HttpServlet.java:658) ~[tomcat-embed-core-10.1.19.jar:6.0]
    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:205) ~[tomcat-embed-core-10.1.19.jar:10.1.19]
    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:149) ~[tomcat-embed-core-10.1.19.jar:10.1.19]
    at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:51) ~[tomcat-embed-websocket-10.1.19.jar:10.1.19]
    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:174) ~[tomcat-embed-core-10.1.19.jar:10.1.19]
    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:149) ~[tomcat-embed-core-10.1.19.jar:10.1.19]
    at org.springframework.web.filter.RequestContextFilter.doFilterInternal(RequestContextFilter.java:100) ~[spring-web-6.1.4.jar:6.1.4]
    at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:116) ~[spring-web-6.1.4.jar:6.1.4]
    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:174) ~[tomcat-embed-core-10.1.19.jar:10.1.19]
    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:149) ~[tomcat-embed-core-10.1.19.jar:10.1.19]
    at org.springframework.web.filter.FormContentFilter.doFilterInternal(FormContentFilter.java:93) ~[spring-web-6.1.4.jar:6.1.4]
    at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:116) ~[spring-web-6.1.4.jar:6.1.4]
    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:174) ~[tomcat-embed-core-10.1.19.jar:10.1.19]
    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:149) ~[tomcat-embed-core-10.1.19.jar:10.1.19]
    at org.springframework.web.filter.CharacterEncodingFilter.doFilterInternal(CharacterEncodingFilter.java:201) ~[spring-web-6.1.4.jar:6.1.4]
    at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:116) ~[spring-web-6.1.4.jar:6.1.4]
    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:174) ~[tomcat-embed-core-10.1.19.jar:10.1.19]
    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:149) ~[tomcat-embed-core-10.1.19.jar:10.1.19]
    at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:167) ~[tomcat-embed-core-10.1.19.jar:10.1.19]
    at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:90) ~[tomcat-embed-core-10.1.19.jar:10.1.19]
    at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:482) ~[tomcat-embed-core-10.1.19.jar:10.1.19]
    at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:115) ~[tomcat-embed-core-10.1.19.jar:10.1.19]
    at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:93) ~[tomcat-embed-core-10.1.19.jar:10.1.19]
    at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:74) ~[tomcat-embed-core-10.1.19.jar:10.1.19]
    at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:344) ~[tomcat-embed-core-10.1.19.jar:10.1.19]
    at org.apache.coyote.http11.Http11Processor.service(Http11Processor.java:391) ~[tomcat-embed-core-10.1.19.jar:10.1.19]
    at org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:63) ~[tomcat-embed-core-10.1.19.jar:10.1.19]
    at org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:896) ~[tomcat-embed-core-10.1.19.jar:10.1.19]
    at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1744) ~[tomcat-embed-core-10.1.19.jar:10.1.19]
    at org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:52) ~[tomcat-embed-core-10.1.19.jar:10.1.19]
    at org.apache.tomcat.util.threads.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1191) ~[tomcat-embed-core-10.1.19.jar:10.1.19]
    at org.apache.tomcat.util.threads.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:659) ~[tomcat-embed-core-10.1.19.jar:10.1.19]
    at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:63) ~[tomcat-embed-core-10.1.19.jar:10.1.19]
    at java.base/java.lang.Thread.run(Thread.java:840) ~[na:na]

How should I solve it?

TherChenYang commented 9 months ago

@robben009 Please introduce the Maven dependency for SnakeYAML and try again.

<!-- https://mvnrepository.com/artifact/org.yaml/snakeyaml -->
<dependency>
    <groupId>org.yaml</groupId>
    <artifactId>snakeyaml</artifactId>
    <version>2.0</version>
</dependency>
robben009 commented 9 months ago

@robben009 Please introduce the Maven dependency for SnakeYAML and try again.请介绍 SnakeYAML 的 Maven 依赖,然后重试。

<!-- https://mvnrepository.com/artifact/org.yaml/snakeyaml -->
<dependency>
    <groupId>org.yaml</groupId>
    <artifactId>snakeyaml</artifactId>
    <version>2.0</version>
</dependency>

i try it,But still so

TherChenYang commented 9 months ago

@robben009 Please refer to this issue and try downgrading the snakeyaml version. https://github.com/spring-projects/spring-boot/issues/34405

linghengqian commented 9 months ago
robben009 commented 9 months ago
  • Updates ElasticJob to 3.0.4 to block CVEs for SnakeYAML delivery #28805

ok thanks,i get

lizhongyue248 commented 8 months ago
        <dependency>
            <groupId>org.apache.shardingsphere</groupId>
            <artifactId>shardingsphere-jdbc-core</artifactId>
            <version>5.4.1</version>
        </dependency>
        <dependency>
            <groupId>com.sun.xml.bind</groupId>
            <artifactId>jaxb-impl</artifactId>
            <version>2.3.9</version>
        </dependency>
        <dependency>
            <groupId>com.sun.xml.bind</groupId>
            <artifactId>jaxb-core</artifactId>
            <version>2.3.0.1</version>
        </dependency>
        <dependency>
            <groupId>org.glassfish.jaxb</groupId>
            <artifactId>jaxb-runtime</artifactId>
            <version>2.3.9</version>
            <scope>runtime</scope>
        </dependency>
        <dependency>
            <groupId>org.yaml</groupId>
            <artifactId>snakeyaml</artifactId>
            <version>1.33</version>
        </dependency>
  • For ShardingSphere JDBC 5.4.2-SNAPSHOT/5.5.0 of the master branch, only the following is required. Use of the JAXB API has been removed.
<dependency>
        <groupId>org.apache.shardingsphere</groupId>
        <artifactId>shardingsphere-jdbc</artifactId>
        <version>5.4.2-SNAPSHOT</version>
</dependency>
<dependency>
        <groupId>org.apache.shardingsphere</groupId>
        <artifactId>shardingsphere-jdbc</artifactId>
        <version>5.4.2-SNAPSHOT</version>
</dependency>

Excuse me, which repository is this version in?

linghengqian commented 8 months ago

git clone git@github.com:apache/shardingsphere.git cd ./shardingsphere/ git reset --hard e9f622b82de3e20a2d0fe74c87bd67e604e36140 ./mvnw clean install -Prelease -T1C -DskipTests -Djacoco.skip=true -Dcheckstyle.skip=true -Drat.skip=true -Dmaven.javadoc.skip=true


- If you need to upload the contents of the local maven repo to a private maven repo, this is not something ShardingSphere should handle. Assuming you are using the package registry for a private instance of gitlab, you should check out the documentation at https://docs.gitlab.com/16.9/ee/user/packages/maven_repository/ . This often involves redefining GAV information in private projects.