报错:An attempt was made to call a method that does not exist. The attempt was made from the following

引入依赖后,springcloud启动不起来,报如下错误。

"C:\Program Files\Java\jdk1.8.0_261\bin\java.exe" -agentlib:jdwp=transport=dt_socket,address=127.0.0.1:2937,suspend=y,server=n -XX:TieredStopAtLevel=1 -noverify -Dspring.output.ansi.enabled=always -Dcom.sun.management.jmxremote -Dspring.jmx.enabled=true -Dspring.liveBeansView.mbeanDomain -Dspring.application.admin.enabled=true "-Dmanagement.endpoints.jmx.exposure.include=*" -javaagent:C:\Users\zilong\AppData\Local\JetBrains\IntelliJIdea2023.1\captureAgent\debugger-agent.jar -Dfile.encoding=UTF-8 -classpath "C:\Program Files\Java\jdk1.8.0_261\jre\lib\charsets.jar;C:\Program Files\Java\jdk1.8.0_261\jre\lib\deploy.jar;C:\Program Files\Java\jdk1.8.0_261\jre\lib\ext\access-bridge-64.jar;C:\Program Files\Java\jdk1.8.0_261\jre\lib\ext\cldrdata.jar;C:\Program Files\Java\jdk1.8.0_261\jre\lib\ext\dnsns.jar;C:\Program Files\Java\jdk1.8.0_261\jre\lib\ext\jaccess.jar;C:\Program Files\Java\jdk1.8.0_261\jre\lib\ext\jfxrt.jar;C:\Program Files\Java\jdk1.8.0_261\jre\lib\ext\localedata.jar;C:\Program Files\Java\jdk1.8.0_261\jre\lib\ext\nashorn.jar;C:\Program Files\Java\jdk1.8.0_261\jre\lib\ext\sunec.jar;C:\Program Files\Java\jdk1.8.0_261\jre\lib\ext\sunjce_provider.jar;C:\Program Files\Java\jdk1.8.0_261\jre\lib\ext\sunmscapi.jar;C:\Program Files\Java\jdk1.8.0_261\jre\lib\ext\sunpkcs11.jar;C:\Program Files\Java\jdk1.8.0_261\jre\lib\ext\zipfs.jar;C:\Program Files\Java\jdk1.8.0_261\jre\lib\javaws.jar;C:\Program Files\Java\jdk1.8.0_261\jre\lib\jce.jar;C:\Program Files\Java\jdk1.8.0_261\jre\lib\jfr.jar;C:\Program Files\Java\jdk1.8.0_261\jre\lib\jfxswt.jar;C:\Program Files\Java\jdk1.8.0_261\jre\lib\jsse.jar;C:\Program Files\Java\jdk1.8.0_261\jre\lib\management-agent.jar;C:\Program Files\Java\jdk1.8.0_261\jre\lib\plugin.jar;C:\Program Files\Java\jdk1.8.0_261\jre\lib\resources.jar;C:\Program Files\Java\jdk1.8.0_261\jre\lib\rt.jar;D:\IdeaProjects\iot-plat\iot-common\target\classes;D:\maven-iot\repository\org\springframework\boot\spring-boot-starter\2.3.8.RELEASE\spring-boot-starter-2.3.8.RELEASE.jar;D:\maven-iot\repository\org\springframework\boot\spring-boot\2.3.8.RELEASE\spring-boot-2.3.8.RELEASE.jar;D:\maven-iot\repository\org\springframework\spring-context\5.2.12.RELEASE\spring-context-5.2.12.RELEASE.jar;D:\maven-iot\repository\org\springframework\boot\spring-boot-autoconfigure\2.3.8.RELEASE\spring-boot-autoconfigure-2.3.8.RELEASE.jar;D:\maven-iot\repository\org\springframework\boot\spring-boot-starter-logging\2.3.8.RELEASE\spring-boot-starter-logging-2.3.8.RELEASE.jar;D:\maven-iot\repository\ch\qos\logback\logback-classic\1.2.3\logback-classic-1.2.3.jar;D:\maven-iot\repository\ch\qos\logback\logback-core\1.2.3\logback-core-1.2.3.jar;D:\maven-iot\repository\org\apache\logging\log4j\log4j-to-slf4j\2.13.3\log4j-to-slf4j-2.13.3.jar;D:\maven-iot\repository\org\apache\logging\log4j\log4j-api\2.13.3\log4j-api-2.13.3.jar;D:\maven-iot\repository\org\slf4j\jul-to-slf4j\1.7.30\jul-to-slf4j-1.7.30.jar;D:\maven-iot\repository\jakarta\annotation\jakarta.annotation-api\1.3.5\jakarta.annotation-api-1.3.5.jar;D:\maven-iot\repository\org\yaml\snakeyaml\1.26\snakeyaml-1.26.jar;D:\maven-iot\repository\org\springframework\boot\spring-boot-starter-web\2.3.8.RELEASE\spring-boot-starter-web-2.3.8.RELEASE.jar;D:\maven-iot\repository\org\springframework\boot\spring-boot-starter-json\2.3.8.RELEASE\spring-boot-starter-json-2.3.8.RELEASE.jar;D:\maven-iot\repository\com\fasterxml\jackson\datatype\jackson-datatype-jdk8\2.11.4\jackson-datatype-jdk8-2.11.4.jar;D:\maven-iot\repository\com\fasterxml\jackson\datatype\jackson-datatype-jsr310\2.11.4\jackson-datatype-jsr310-2.11.4.jar;D:\maven-iot\repository\com\fasterxml\jackson\module\jackson-module-parameter-names\2.11.4\jackson-module-parameter-names-2.11.4.jar;D:\maven-iot\repository\org\springframework\boot\spring-boot-starter-tomcat\2.3.8.RELEASE\spring-boot-starter-tomcat-2.3.8.RELEASE.jar;D:\maven-iot\repository\org\apache\tomcat\embed\tomcat-embed-core\9.0.41\tomcat-embed-core-9.0.41.jar;D:\maven-iot\repository\org\glassfish\jakarta.el\3.0.3\jakarta.el-3.0.3.jar;D:\maven-iot\repository\org\apache\tomcat\embed\tomcat-embed-websocket\9.0.41\tomcat-embed-websocket-9.0.41.jar;D:\maven-iot\repository\org\springframework\spring-webmvc\5.2.12.RELEASE\spring-webmvc-5.2.12.RELEASE.jar;D:\maven-iot\repository\org\springframework\spring-aop\5.2.12.RELEASE\spring-aop-5.2.12.RELEASE.jar;D:\maven-iot\repository\org\springframework\spring-expression\5.2.12.RELEASE\spring-expression-5.2.12.RELEASE.jar;D:\maven-iot\repository\org\springframework\boot\spring-boot-starter-webflux\2.3.8.RELEASE\spring-boot-starter-webflux-2.3.8.RELEASE.jar;D:\maven-iot\repository\org\springframework\boot\spring-boot-starter-reactor-netty\2.3.8.RELEASE\spring-boot-starter-reactor-netty-2.3.8.RELEASE.jar;D:\maven-iot\repository\io\projectreactor\netty\reactor-netty\0.9.16.RELEASE\reactor-netty-0.9.16.RELEASE.jar;D:\maven-iot\repository\io\netty\netty-codec-http\4.1.58.Final\netty-codec-http-4.1.58.Final.jar;D:\maven-iot\repository\io\netty\netty-codec-http2\4.1.58.Final\netty-codec-http2-4.1.58.Final.jar;D:\maven-iot\repository\io\netty\netty-handler-proxy\4.1.58.Final\netty-handler-proxy-4.1.58.Final.jar;D:\maven-iot\repository\io\netty\netty-codec-socks\4.1.58.Final\netty-codec-socks-4.1.58.Final.jar;D:\maven-iot\repository\io\netty\netty-transport-native-epoll\4.1.58.Final\netty-transport-native-epoll-4.1.58.Final-linux-x86_64.jar;D:\maven-iot\repository\io\netty\netty-transport-native-unix-common\4.1.58.Final\netty-transport-native-unix-common-4.1.58.Final.jar;D:\maven-iot\repository\org\springframework\spring-webflux\5.2.12.RELEASE\spring-webflux-5.2.12.RELEASE.jar;D:\maven-iot\repository\io\projectreactor\reactor-core\3.3.13.RELEASE\reactor-core-3.3.13.RELEASE.jar;D:\maven-iot\repository\org\reactivestreams\reactive-streams\1.0.3\reactive-streams-1.0.3.jar;D:\maven-iot\repository\org\synchronoss\cloud\nio-multipart-parser\1.1.0\nio-multipart-parser-1.1.0.jar;D:\maven-iot\repository\org\synchronoss\cloud\nio-stream-storage\1.1.3\nio-stream-storage-1.1.3.jar;D:\maven-iot\repository\org\springframework\spring-web\5.3.18\spring-web-5.3.18.jar;D:\maven-iot\repository\org\springframework\spring-beans\5.2.12.RELEASE\spring-beans-5.2.12.RELEASE.jar;D:\maven-iot\repository\org\springframework\spring-core\5.3.18\spring-core-5.3.18.jar;D:\maven-iot\repository\org\springframework\spring-jcl\5.2.12.RELEASE\spring-jcl-5.2.12.RELEASE.jar;D:\maven-iot\repository\org\springframework\boot\spring-boot-starter-data-redis\2.3.8.RELEASE\spring-boot-starter-data-redis-2.3.8.RELEASE.jar;D:\maven-iot\repository\org\springframework\data\spring-data-redis\2.3.6.RELEASE\spring-data-redis-2.3.6.RELEASE.jar;D:\maven-iot\repository\org\springframework\data\spring-data-keyvalue\2.3.6.RELEASE\spring-data-keyvalue-2.3.6.RELEASE.jar;D:\maven-iot\repository\org\springframework\data\spring-data-commons\2.3.6.RELEASE\spring-data-commons-2.3.6.RELEASE.jar;D:\maven-iot\repository\org\springframework\spring-tx\5.2.12.RELEASE\spring-tx-5.2.12.RELEASE.jar;D:\maven-iot\repository\org\springframework\spring-oxm\5.2.12.RELEASE\spring-oxm-5.2.12.RELEASE.jar;D:\maven-iot\repository\org\springframework\spring-context-support\5.2.12.RELEASE\spring-context-support-5.2.12.RELEASE.jar;D:\maven-iot\repository\io\lettuce\lettuce-core\5.3.6.RELEASE\lettuce-core-5.3.6.RELEASE.jar;D:\maven-iot\repository\io\netty\netty-common\4.1.58.Final\netty-common-4.1.58.Final.jar;D:\maven-iot\repository\io\netty\netty-handler\4.1.58.Final\netty-handler-4.1.58.Final.jar;D:\maven-iot\repository\io\netty\netty-resolver\4.1.58.Final\netty-resolver-4.1.58.Final.jar;D:\maven-iot\repository\io\netty\netty-buffer\4.1.58.Final\netty-buffer-4.1.58.Final.jar;D:\maven-iot\repository\io\netty\netty-codec\4.1.58.Final\netty-codec-4.1.58.Final.jar;D:\maven-iot\repository\io\netty\netty-transport\4.1.58.Final\netty-transport-4.1.58.Final.jar;D:\maven-iot\repository\com\alibaba\cloud\spring-cloud-starter-alibaba-nacos-discovery\2.2.5.RELEASE\spring-cloud-starter-alibaba-nacos-discovery-2.2.5.RELEASE.jar;D:\maven-iot\repository\com\alibaba\cloud\spring-cloud-alibaba-commons\2.2.5.RELEASE\spring-cloud-alibaba-commons-2.2.5.RELEASE.jar;D:\maven-iot\repository\com\alibaba\nacos\nacos-client\1.4.1\nacos-client-1.4.1.jar;D:\maven-iot\repository\com\alibaba\nacos\nacos-common\1.4.1\nacos-common-1.4.1.jar;D:\maven-iot\repository\org\apache\httpcomponents\httpasyncclient\4.1.4\httpasyncclient-4.1.4.jar;D:\maven-iot\repository\org\apache\httpcomponents\httpcore-nio\4.4.14\httpcore-nio-4.4.14.jar;D:\maven-iot\repository\com\alibaba\nacos\nacos-api\1.4.1\nacos-api-1.4.1.jar;D:\maven-iot\repository\io\prometheus\simpleclient\0.5.0\simpleclient-0.5.0.jar;D:\maven-iot\repository\com\alibaba\spring\spring-context-support\1.0.10\spring-context-support-1.0.10.jar;D:\maven-iot\repository\org\springframework\cloud\spring-cloud-commons\2.2.5.RELEASE\spring-cloud-commons-2.2.5.RELEASE.jar;D:\maven-iot\repository\org\springframework\security\spring-security-crypto\5.3.6.RELEASE\spring-security-crypto-5.3.6.RELEASE.jar;D:\maven-iot\repository\org\springframework\cloud\spring-cloud-context\2.2.5.RELEASE\spring-cloud-context-2.2.5.RELEASE.jar;D:\maven-iot\repository\org\springframework\cloud\spring-cloud-starter-netflix-ribbon\2.2.5.RELEASE\spring-cloud-starter-netflix-ribbon-2.2.5.RELEASE.jar;D:\maven-iot\repository\org\springframework\cloud\spring-cloud-starter\2.2.5.RELEASE\spring-cloud-starter-2.2.5.RELEASE.jar;D:\maven-iot\repository\org\springframework\security\spring-security-rsa\1.0.9.RELEASE\spring-security-rsa-1.0.9.RELEASE.jar;D:\maven-iot\repository\org\bouncycastle\bcpkix-jdk15on\1.64\bcpkix-jdk15on-1.64.jar;D:\maven-iot\repository\org\bouncycastle\bcprov-jdk15on\1.64\bcprov-jdk15on-1.64.jar;D:\maven-iot\repository\org\springframework\cloud\spring-cloud-netflix-ribbon\2.2.5.RELEASE\spring-cloud-netflix-ribbon-2.2.5.RELEASE.jar;D:\maven-iot\repository\org\springframework\cloud\spring-cloud-netflix-archaius\2.2.5.RELEASE\spring-cloud-netflix-archaius-2.2.5.RELEASE.jar;D:\maven-iot\repository\org\springframework\cloud\spring-cloud-starter-netflix-archaius\2.2.5.RELEASE\spring-cloud-starter-netflix-archaius-2.2.5.RELEASE.jar;D:\maven-iot\repository\com\netflix\archaius\archaius-core\0.7.6\archaius-core-0.7.6.jar;D:\maven-iot\repository\commons-configuration\commons-configuration\1.8\commons-configuration-1.8.jar;D:\maven-iot\repository\com\netflix\ribbon\ribbon\2.3.0\ribbon-2.3.0.jar;D:\maven-iot\repository\com\netflix\ribbon\ribbon-transport\2.3.0\ribbon-transport-2.3.0.jar;D:\maven-iot\repository\io\reactivex\rxnetty-contexts\0.4.9\rxnetty-contexts-0.4.9.jar;D:\maven-iot\repository\io\reactivex\rxnetty-servo\0.4.9\rxnetty-servo-0.4.9.jar;D:\maven-iot\repository\com\netflix\hystrix\hystrix-core\1.5.18\hystrix-core-1.5.18.jar;D:\maven-iot\repository\org\hdrhistogram\HdrHistogram\2.1.9\HdrHistogram-2.1.9.jar;D:\maven-iot\repository\javax\inject\javax.inject\1\javax.inject-1.jar;D:\maven-iot\repository\io\reactivex\rxnetty\0.4.9\rxnetty-0.4.9.jar;D:\maven-iot\repository\com\netflix\ribbon\ribbon-core\2.3.0\ribbon-core-2.3.0.jar;D:\maven-iot\repository\commons-lang\commons-lang\2.6\commons-lang-2.6.jar;D:\maven-iot\repository\com\netflix\ribbon\ribbon-httpclient\2.3.0\ribbon-httpclient-2.3.0.jar;D:\maven-iot\repository\com\sun\jersey\jersey-client\1.19.1\jersey-client-1.19.1.jar;D:\maven-iot\repository\com\sun\jersey\jersey-core\1.19.1\jersey-core-1.19.1.jar;D:\maven-iot\repository\javax\ws\rs\jsr311-api\1.1.1\jsr311-api-1.1.1.jar;D:\maven-iot\repository\com\sun\jersey\contribs\jersey-apache-client4\1.19.1\jersey-apache-client4-1.19.1.jar;D:\maven-iot\repository\com\netflix\servo\servo-core\0.12.21\servo-core-0.12.21.jar;D:\maven-iot\repository\com\netflix\netflix-commons\netflix-commons-util\0.3.0\netflix-commons-util-0.3.0.jar;D:\maven-iot\repository\com\netflix\ribbon\ribbon-loadbalancer\2.3.0\ribbon-loadbalancer-2.3.0.jar;D:\maven-iot\repository\com\netflix\netflix-commons\netflix-statistics\0.1.1\netflix-statistics-0.1.1.jar;D:\maven-iot\repository\io\reactivex\rxjava\1.3.8\rxjava-1.3.8.jar;D:\maven-iot\repository\com\alibaba\cloud\spring-cloud-starter-alibaba-nacos-config\2.2.5.RELEASE\spring-cloud-starter-alibaba-nacos-config-2.2.5.RELEASE.jar;D:\maven-iot\repository\io\springfox\springfox-swagger2\2.9.2\springfox-swagger2-2.9.2.jar;D:\maven-iot\repository\io\springfox\springfox-spi\2.9.2\springfox-spi-2.9.2.jar;D:\maven-iot\repository\io\springfox\springfox-core\2.9.2\springfox-core-2.9.2.jar;D:\maven-iot\repository\net\bytebuddy\byte-buddy\1.10.19\byte-buddy-1.10.19.jar;D:\maven-iot\repository\io\springfox\springfox-schema\2.9.2\springfox-schema-2.9.2.jar;D:\maven-iot\repository\io\springfox\springfox-swagger-common\2.9.2\springfox-swagger-common-2.9.2.jar;D:\maven-iot\repository\io\springfox\springfox-spring-web\2.9.2\springfox-spring-web-2.9.2.jar;D:\maven-iot\repository\com\google\guava\guava\29.0-jre\guava-29.0-jre.jar;D:\maven-iot\repository\com\google\guava\failureaccess\1.0.1\failureaccess-1.0.1.jar;D:\maven-iot\repository\com\google\guava\listenablefuture\9999.0-empty-to-avoid-conflict-with-guava\listenablefuture-9999.0-empty-to-avoid-conflict-with-guava.jar;D:\maven-iot\repository\com\google\code\findbugs\jsr305\3.0.2\jsr305-3.0.2.jar;D:\maven-iot\repository\com\google\errorprone\error_prone_annotations\2.3.4\error_prone_annotations-2.3.4.jar;D:\maven-iot\repository\com\google\j2objc\j2objc-annotations\1.3\j2objc-annotations-1.3.jar;D:\maven-iot\repository\com\fasterxml\classmate\1.5.1\classmate-1.5.1.jar;D:\maven-iot\repository\org\slf4j\slf4j-api\1.7.30\slf4j-api-1.7.30.jar;D:\maven-iot\repository\org\springframework\plugin\spring-plugin-core\1.2.0.RELEASE\spring-plugin-core-1.2.0.RELEASE.jar;D:\maven-iot\repository\org\springframework\plugin\spring-plugin-metadata\1.2.0.RELEASE\spring-plugin-metadata-1.2.0.RELEASE.jar;D:\maven-iot\repository\org\mapstruct\mapstruct\1.2.0.Final\mapstruct-1.2.0.Final.jar;D:\maven-iot\repository\io\springfox\springfox-swagger-ui\2.9.2\springfox-swagger-ui-2.9.2.jar;D:\maven-iot\repository\com\github\xiaoymin\swagger-bootstrap-ui\1.9.6\swagger-bootstrap-ui-1.9.6.jar;D:\maven-iot\repository\org\javassist\javassist\3.25.0-GA\javassist-3.25.0-GA.jar;D:\maven-iot\repository\io\swagger\swagger-annotations\1.5.22\swagger-annotations-1.5.22.jar;D:\maven-iot\repository\io\swagger\swagger-models\1.5.22\swagger-models-1.5.22.jar;D:\maven-iot\repository\com\fasterxml\jackson\core\jackson-annotations\2.11.4\jackson-annotations-2.11.4.jar;D:\maven-iot\repository\org\projectlombok\lombok\1.18.16\lombok-1.18.16.jar;D:\maven-iot\repository\com\alibaba\fastjson\1.2.83\fastjson-1.2.83.jar;D:\maven-iot\repository\org\jsoup\jsoup\1.11.3\jsoup-1.11.3.jar;D:\maven-iot\repository\com\baomidou\mybatis-plus-boot-starter\3.5.1\mybatis-plus-boot-starter-3.5.1.jar;D:\maven-iot\repository\com\baomidou\mybatis-plus\3.5.1\mybatis-plus-3.5.1.jar;D:\maven-iot\repository\com\baomidou\mybatis-plus-extension\3.4.0\mybatis-plus-extension-3.4.0.jar;D:\maven-iot\repository\com\baomidou\mybatis-plus-core\3.4.0\mybatis-plus-core-3.4.0.jar;D:\maven-iot\repository\com\baomidou\mybatis-plus-annotation\3.4.0\mybatis-plus-annotation-3.4.0.jar;D:\maven-iot\repository\com\github\jsqlparser\jsqlparser\3.2\jsqlparser-3.2.jar;D:\maven-iot\repository\org\mybatis\mybatis\3.5.5\mybatis-3.5.5.jar;D:\maven-iot\repository\org\mybatis\mybatis-spring\2.0.5\mybatis-spring-2.0.5.jar;D:\maven-iot\repository\org\springframework\boot\spring-boot-starter-jdbc\2.3.8.RELEASE\spring-boot-starter-jdbc-2.3.8.RELEASE.jar;D:\maven-iot\repository\com\zaxxer\HikariCP\3.4.5\HikariCP-3.4.5.jar;D:\maven-iot\repository\org\springframework\spring-jdbc\5.2.12.RELEASE\spring-jdbc-5.2.12.RELEASE.jar;D:\maven-iot\repository\com\alibaba\druid-spring-boot-starter\1.1.22\druid-spring-boot-starter-1.1.22.jar;D:\maven-iot\repository\com\alibaba\druid\1.1.22\druid-1.1.22.jar;D:\maven-iot\repository\com\baomidou\dynamic-datasource-spring-boot-starter\3.2.0\dynamic-datasource-spring-boot-starter-3.2.0.jar;D:\maven-iot\repository\org\springframework\boot\spring-boot-starter-aop\2.3.8.RELEASE\spring-boot-starter-aop-2.3.8.RELEASE.jar;D:\maven-iot\repository\org\aspectj\aspectjweaver\1.9.6\aspectjweaver-1.9.6.jar;D:\maven-iot\repository\mysql\mysql-connector-java\8.0.27\mysql-connector-java-8.0.27.jar;D:\maven-iot\repository\com\microsoft\sqlserver\sqljdbc4\4.0\sqljdbc4-4.0.jar;D:\maven-iot\repository\com\oracle\ojdbc6\11.2.0.3\ojdbc6-11.2.0.3.jar;D:\maven-iot\repository\org\postgresql\postgresql\42.2.25\postgresql-42.2.25.jar;D:\maven-iot\repository\org\checkerframework\checker-qual\3.5.0\checker-qual-3.5.0.jar;D:\maven-iot\repository\org\jeecgframework\autopoi-web\1.3.6\autopoi-web-1.3.6.jar;D:\maven-iot\repository\org\jeecgframework\autopoi\1.3.6\autopoi-1.3.6.jar;D:\maven-iot\repository\org\apache\poi\poi\4.1.2\poi-4.1.2.jar;D:\maven-iot\repository\org\apache\commons\commons-collections4\4.4\commons-collections4-4.4.jar;D:\maven-iot\repository\org\apache\commons\commons-math3\3.6.1\commons-math3-3.6.1.jar;D:\maven-iot\repository\com\zaxxer\SparseBitSet\1.2\SparseBitSet-1.2.jar;D:\maven-iot\repository\org\apache\poi\poi-ooxml\4.1.2\poi-ooxml-4.1.2.jar;D:\maven-iot\repository\org\apache\commons\commons-compress\1.19\commons-compress-1.19.jar;D:\maven-iot\repository\com\github\virtuald\curvesapi\1.06\curvesapi-1.06.jar;D:\maven-iot\repository\org\apache\poi\poi-ooxml-schemas\4.1.2\poi-ooxml-schemas-4.1.2.jar;D:\maven-iot\repository\org\apache\xmlbeans\xmlbeans\3.1.0\xmlbeans-3.1.0.jar;D:\maven-iot\repository\xerces\xercesImpl\2.9.1\xercesImpl-2.9.1.jar;D:\maven-iot\repository\xml-apis\xml-apis\1.3.04\xml-apis-1.3.04.jar;D:\maven-iot\repository\org\apache\poi\poi-scratchpad\4.1.2\poi-scratchpad-4.1.2.jar;D:\maven-iot\repository\org\apache\commons\commons-lang3\3.10\commons-lang3-3.10.jar;D:\maven-iot\repository\net\sf\jmimemagic\jmimemagic\0.1.5\jmimemagic-0.1.5.jar;D:\maven-iot\repository\commons-logging\commons-logging\1.0.4\commons-logging-1.0.4.jar;D:\maven-iot\repository\log4j\log4j\1.2.8\log4j-1.2.8.jar;D:\maven-iot\repository\io\minio\minio\8.0.3\minio-8.0.3.jar;D:\maven-iot\repository\com\carrotsearch\thirdparty\simple-xml-safe\2.7.1\simple-xml-safe-2.7.1.jar;D:\maven-iot\repository\com\fasterxml\jackson\core\jackson-core\2.11.4\jackson-core-2.11.4.jar;D:\maven-iot\repository\com\fasterxml\jackson\core\jackson-databind\2.11.4\jackson-databind-2.11.4.jar;D:\maven-iot\repository\com\squareup\okhttp3\okhttp\4.9.3\okhttp-4.9.3.jar;D:\maven-iot\repository\com\squareup\okio\okio\2.8.0\okio-2.8.0.jar;D:\maven-iot\repository\org\jetbrains\kotlin\kotlin-stdlib-common\1.3.72\kotlin-stdlib-common-1.3.72.jar;D:\maven-iot\repository\org\jetbrains\kotlin\kotlin-stdlib\1.3.72\kotlin-stdlib-1.3.72.jar;D:\maven-iot\repository\org\jetbrains\annotations\13.0\annotations-13.0.jar;D:\maven-iot\repository\com\aliyun\oss\aliyun-sdk-oss\3.11.2\aliyun-sdk-oss-3.11.2.jar;D:\maven-iot\repository\org\apache\httpcomponents\httpclient\4.5.13\httpclient-4.5.13.jar;D:\maven-iot\repository\org\apache\httpcomponents\httpcore\4.4.14\httpcore-4.4.14.jar;D:\maven-iot\repository\org\jdom\jdom2\2.0.6\jdom2-2.0.6.jar;D:\maven-iot\repository\org\codehaus\jettison\jettison\1.1\jettison-1.1.jar;D:\maven-iot\repository\stax\stax-api\1.0.1\stax-api-1.0.1.jar;D:\maven-iot\repository\com\aliyun\aliyun-java-sdk-core\4.5.10\aliyun-java-sdk-core-4.5.10.jar;D:\maven-iot\repository\com\google\code\gson\gson\2.8.6\gson-2.8.6.jar;D:\maven-iot\repository\javax\xml\bind\jaxb-api\2.3.1\jaxb-api-2.3.1.jar;D:\maven-iot\repository\javax\activation\javax.activation-api\1.2.0\javax.activation-api-1.2.0.jar;D:\maven-iot\repository\org\jacoco\org.jacoco.agent\0.8.5\org.jacoco.agent-0.8.5-runtime.jar;D:\maven-iot\repository\org\ini4j\ini4j\0.5.4\ini4j-0.5.4.jar;D:\maven-iot\repository\io\opentracing\opentracing-api\0.33.0\opentracing-api-0.33.0.jar;D:\maven-iot\repository\io\opentracing\opentracing-util\0.33.0\opentracing-util-0.33.0.jar;D:\maven-iot\repository\io\opentracing\opentracing-noop\0.33.0\opentracing-noop-0.33.0.jar;D:\maven-iot\repository\com\aliyun\aliyun-java-sdk-ram\3.1.0\aliyun-java-sdk-ram-3.1.0.jar;D:\maven-iot\repository\com\aliyun\aliyun-java-sdk-kms\2.11.0\aliyun-java-sdk-kms-2.11.0.jar;D:\maven-iot\repository\commons-fileupload\commons-fileupload\1.4\commons-fileupload-1.4.jar;D:\maven-iot\repository\commons-io\commons-io\2.6\commons-io-2.6.jar;D:\maven-iot\repository\commons-beanutils\commons-beanutils\1.9.4\commons-beanutils-1.9.4.jar;D:\maven-iot\repository\commons-collections\commons-collections\3.2.2\commons-collections-3.2.2.jar;D:\maven-iot\repository\cn\hutool\hutool-all\5.3.8\hutool-all-5.3.8.jar;D:\maven-iot\repository\com\auth0\java-jwt\3.11.0\java-jwt-3.11.0.jar;D:\maven-iot\repository\commons-codec\commons-codec\1.14\commons-codec-1.14.jar;D:\maven-iot\repository\org\apache\shiro\shiro-core\1.10.0\shiro-core-1.10.0.jar;D:\maven-iot\repository\org\apache\shiro\shiro-lang\1.10.0\shiro-lang-1.10.0.jar;D:\maven-iot\repository\org\apache\shiro\shiro-cache\1.10.0\shiro-cache-1.10.0.jar;D:\maven-iot\repository\org\apache\shiro\shiro-crypto-hash\1.10.0\shiro-crypto-hash-1.10.0.jar;D:\maven-iot\repository\org\apache\shiro\shiro-crypto-core\1.10.0\shiro-crypto-core-1.10.0.jar;D:\maven-iot\repository\org\apache\shiro\shiro-crypto-cipher\1.10.0\shiro-crypto-cipher-1.10.0.jar;D:\maven-iot\repository\org\apache\shiro\shiro-config-core\1.10.0\shiro-config-core-1.10.0.jar;D:\maven-iot\repository\org\apache\shiro\shiro-config-ogdl\1.10.0\shiro-config-ogdl-1.10.0.jar;D:\maven-iot\repository\org\apache\shiro\shiro-event\1.10.0\shiro-event-1.10.0.jar;C:\Program Files\JetBrains\IntelliJ IDEA 2023.1.2\lib\idea_rt.jar" com.iot.common.CommonApplication
Connected to the target VM, address: '127.0.0.1:2937', transport: 'socket'

  .   ____          _            __ _ _
 /\\ / ___'_ __ _ _(_)_ __  __ _ \ \ \ \
( ( )\___ | '_ | '_| | '_ \/ _` | \ \ \ \
 \\/  ___)| |_)| | | | | || (_| |  ) ) ) )
  '  |____| .__|_| |_|_| |_\__, | / / / /
 =========|_|==============|___/=/_/_/_/
 :: Spring Boot ::        (v2.3.8.RELEASE)

2023-09-13 14:49:36.175  INFO 10712 --- [           main] c.a.n.c.c.impl.LocalConfigInfoProcessor  : LOCAL_SNAPSHOT_PATH:C:\Users\zilong\nacos\config
2023-09-13 14:49:36.314  INFO 10712 --- [           main] c.a.nacos.client.config.impl.Limiter     : limitTime:5.0
2023-09-13 14:49:36.592  WARN 10712 --- [           main] c.a.c.n.c.NacosPropertySourceBuilder     : Ignore the empty nacos configuration and get it based on dataId[iot-product] & group[DEFAULT_GROUP]
2023-09-13 14:49:36.629  WARN 10712 --- [           main] c.a.c.n.c.NacosPropertySourceBuilder     : Ignore the empty nacos configuration and get it based on dataId[iot-product.yaml] & group[DEFAULT_GROUP]
2023-09-13 14:49:36.630  INFO 10712 --- [           main] b.c.PropertySourceBootstrapConfiguration : Located property source: [BootstrapPropertySource {name='bootstrapProperties-iot-product.yaml,DEFAULT_GROUP'}, BootstrapPropertySource {name='bootstrapProperties-iot-product,DEFAULT_GROUP'}]
2023-09-13 14:49:36.636  INFO 10712 --- [           main] com.iot.common.CommonApplication         : No active profile set, falling back to default profiles: default
2023-09-13 14:49:39.868  INFO 10712 --- [           main] .s.d.r.c.RepositoryConfigurationDelegate : Multiple Spring Data modules found, entering strict repository configuration mode!
2023-09-13 14:49:39.872  INFO 10712 --- [           main] .s.d.r.c.RepositoryConfigurationDelegate : Bootstrapping Spring Data Redis repositories in DEFAULT mode.
2023-09-13 14:49:39.938  INFO 10712 --- [           main] .s.d.r.c.RepositoryConfigurationDelegate : Finished Spring Data repository scanning in 18ms. Found 0 Redis repository interfaces.
2023-09-13 14:49:40.317  WARN 10712 --- [           main] o.m.s.mapper.ClassPathMapperScanner      : No MyBatis mapper was found in '[com.iot.common]' package. Please check your configuration.
2023-09-13 14:49:40.458  INFO 10712 --- [           main] o.s.cloud.context.scope.GenericScope     : BeanFactory id=1996514e-e306-3630-ac4d-ca1a7f1b1cd4
2023-09-13 14:49:40.890  INFO 10712 --- [           main] trationDelegate$BeanPostProcessorChecker : Bean 'spring.datasource.dynamic-com.baomidou.dynamic.datasource.spring.boot.autoconfigure.DynamicDataSourceProperties' of type [com.baomidou.dynamic.datasource.spring.boot.autoconfigure.DynamicDataSourceProperties] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
2023-09-13 14:49:40.892  INFO 10712 --- [           main] trationDelegate$BeanPostProcessorChecker : Bean 'com.baomidou.dynamic.datasource.spring.boot.autoconfigure.DynamicDataSourceAutoConfiguration' of type [com.baomidou.dynamic.datasource.spring.boot.autoconfigure.DynamicDataSourceAutoConfiguration$$EnhancerBySpringCGLIB$$17f0690] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
2023-09-13 14:49:40.911  INFO 10712 --- [           main] trationDelegate$BeanPostProcessorChecker : Bean 'dsProcessor' of type [com.baomidou.dynamic.datasource.processor.DsHeaderProcessor] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
2023-09-13 14:49:40.976  INFO 10712 --- [           main] trationDelegate$BeanPostProcessorChecker : Bean 'org.springframework.cloud.client.loadbalancer.reactive.LoadBalancerBeanPostProcessorAutoConfiguration' of type [org.springframework.cloud.client.loadbalancer.reactive.LoadBalancerBeanPostProcessorAutoConfiguration] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
2023-09-13 14:49:40.978  INFO 10712 --- [           main] trationDelegate$BeanPostProcessorChecker : Bean 'org.springframework.cloud.client.loadbalancer.reactive.LoadBalancerBeanPostProcessorAutoConfiguration$ReactiveLoadBalancerConfig' of type [org.springframework.cloud.client.loadbalancer.reactive.LoadBalancerBeanPostProcessorAutoConfiguration$ReactiveLoadBalancerConfig] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
2023-09-13 14:49:40.996  INFO 10712 --- [           main] trationDelegate$BeanPostProcessorChecker : Bean 'deferringLoadBalancerExchangeFilterFunction' of type [org.springframework.cloud.client.loadbalancer.reactive.DeferringLoadBalancerExchangeFilterFunction] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
2023-09-13 14:49:41.441  INFO 10712 --- [           main] o.s.b.w.embedded.tomcat.TomcatWebServer  : Tomcat initialized with port(s): 9090 (http)
2023-09-13 14:49:41.454  INFO 10712 --- [           main] o.apache.catalina.core.StandardService   : Starting service [Tomcat]
2023-09-13 14:49:41.455  INFO 10712 --- [           main] org.apache.catalina.core.StandardEngine  : Starting Servlet engine: [Apache Tomcat/9.0.41]
2023-09-13 14:49:41.748  INFO 10712 --- [           main] o.a.c.c.C.[Tomcat].[localhost].[/]       : Initializing Spring embedded WebApplicationContext
2023-09-13 14:49:41.749  INFO 10712 --- [           main] w.s.c.ServletWebServerApplicationContext : Root WebApplicationContext: initialization completed in 5050 ms
2023-09-13 14:49:47.077  INFO 10712 --- [           main] com.alibaba.druid.pool.DruidDataSource   : {dataSource-1,master} inited
2023-09-13 14:49:47.078  INFO 10712 --- [           main] c.b.d.d.DynamicRoutingDataSource         : dynamic-datasource - load a datasource named [master] success
2023-09-13 14:49:47.078  INFO 10712 --- [           main] c.b.d.d.DynamicRoutingDataSource         : dynamic-datasource initial loaded [1] datasource,primary datasource named [master]
2023-09-13 14:49:49.099  INFO 10712 --- [           main] pertySourcedRequestMappingHandlerMapping : Mapped URL path [/v2/api-docs] onto method [springfox.documentation.swagger2.web.Swagger2Controller#getDocumentation(String, HttpServletRequest)]
2023-09-13 14:49:49.198  WARN 10712 --- [           main] c.n.c.sources.URLConfigurationSource     : No URLs will be polled as dynamic configuration sources.
2023-09-13 14:49:49.198  INFO 10712 --- [           main] c.n.c.sources.URLConfigurationSource     : To enable URLs as dynamic configuration sources, define System property archaius.configurationSource.additionalUrls or make config.properties available on classpath.
2023-09-13 14:49:49.218  WARN 10712 --- [           main] c.n.c.sources.URLConfigurationSource     : No URLs will be polled as dynamic configuration sources.
2023-09-13 14:49:49.219  INFO 10712 --- [           main] c.n.c.sources.URLConfigurationSource     : To enable URLs as dynamic configuration sources, define System property archaius.configurationSource.additionalUrls or make config.properties available on classpath.
2023-09-13 14:49:49.420  INFO 10712 --- [           main] o.s.s.concurrent.ThreadPoolTaskExecutor  : Initializing ExecutorService 'applicationTaskExecutor'
2023-09-13 14:49:51.907  INFO 10712 --- [           main] o.s.cloud.commons.util.InetUtils         : Cannot determine local hostname
2023-09-13 14:49:51.912  INFO 10712 --- [           main] o.s.s.c.ThreadPoolTaskScheduler          : Initializing ExecutorService 'Nacos-Watch-Task-Scheduler'
2023-09-13 14:49:54.129  INFO 10712 --- [           main] o.s.cloud.commons.util.InetUtils         : Cannot determine local hostname
2023-09-13 14:49:55.279  WARN 10712 --- [           main] ConfigServletWebServerApplicationContext : Exception encountered during context initialization - cancelling refresh attempt: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'identifierGenerator' defined in class path resource [com/baomidou/mybatisplus/autoconfigure/IdentifierGeneratorAutoConfiguration$InetUtilsAutoConfig.class]: Bean instantiation via factory method failed; nested exception is org.springframework.beans.BeanInstantiationException: Failed to instantiate [com.baomidou.mybatisplus.core.incrementer.IdentifierGenerator]: Factory method 'identifierGenerator' threw exception; nested exception is java.lang.NoSuchMethodError: com.baomidou.mybatisplus.core.incrementer.DefaultIdentifierGenerator.(Ljava/net/InetAddress;)V
2023-09-13 14:49:55.280  WARN 10712 --- [           main] o.s.b.f.support.DisposableBeanAdapter    : Destroy method 'close' on bean with name 'nacosServiceRegistry' threw an exception: java.lang.NullPointerException
2023-09-13 14:49:55.282  INFO 10712 --- [           main] o.s.s.concurrent.ThreadPoolTaskExecutor  : Shutting down ExecutorService 'applicationTaskExecutor'
2023-09-13 14:49:55.345  INFO 10712 --- [           main] c.b.d.d.DynamicRoutingDataSource         : dynamic-datasource start closing ....
2023-09-13 14:49:55.366  INFO 10712 --- [           main] com.alibaba.druid.pool.DruidDataSource   : {dataSource-1} closing ...
2023-09-13 14:49:55.679  INFO 10712 --- [           main] com.alibaba.druid.pool.DruidDataSource   : {dataSource-1} closed
2023-09-13 14:49:55.680  INFO 10712 --- [           main] c.b.d.d.DynamicRoutingDataSource         : dynamic-datasource all closed success,bye
2023-09-13 14:49:55.682  INFO 10712 --- [           main] o.apache.catalina.core.StandardService   : Stopping service [Tomcat]
2023-09-13 14:49:55.701  INFO 10712 --- [           main] ConditionEvaluationReportLoggingListener : 

Error starting ApplicationContext. To display the conditions report re-run your application with 'debug' enabled.
2023-09-13 14:49:55.744 ERROR 10712 --- [           main] o.s.b.d.LoggingFailureAnalysisReporter   : 

***************************
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:

    com.baomidou.mybatisplus.autoconfigure.IdentifierGeneratorAutoConfiguration$InetUtilsAutoConfig.identifierGenerator(IdentifierGeneratorAutoConfiguration.java:44)

The following method did not exist:

    com.baomidou.mybatisplus.core.incrementer.DefaultIdentifierGenerator.(Ljava/net/InetAddress;)V

The method's class, com.baomidou.mybatisplus.core.incrementer.DefaultIdentifierGenerator, is available from the following locations:

    jar:file:/D:/maven-iot/repository/com/baomidou/mybatis-plus-core/3.4.0/mybatis-plus-core-3.4.0.jar!/com/baomidou/mybatisplus/core/incrementer/DefaultIdentifierGenerator.class

The class hierarchy was loaded from the following locations:

    com.baomidou.mybatisplus.core.incrementer.DefaultIdentifierGenerator: file:/D:/maven-iot/repository/com/baomidou/mybatis-plus-core/3.4.0/mybatis-plus-core-3.4.0.jar


Action:

Correct the classpath of your application so that it contains a single, compatible version of com.baomidou.mybatisplus.core.incrementer.DefaultIdentifierGenerator

2023-09-13 14:49:56.355  WARN 10712 --- [      Thread-10] c.a.n.common.http.HttpClientBeanHolder   : [HttpClientBeanHolder] Start destroying common HttpClient
2023-09-13 14:49:56.357  WARN 10712 --- [      Thread-10] c.a.n.common.http.HttpClientBeanHolder   : [HttpClientBeanHolder] Destruction of the end
Disconnected from the target VM, address: '127.0.0.1:2937', transport: 'socket'

Process finished with exit code 1

解决方法:

根据提示,说是不存在依赖的包的方法。经检查发现,依赖包是存在的。

是因为微服务的pom文件配置依赖重复或者版本号不一致导致的。删除重复的相关的依赖,启动成功。

你可能感兴趣的:(java,spring,cloud)