一、该问题的重现步骤是什么?
1. 启动 device-simulator 服务 DeviceSimulatorApplication 异常
2. 没有任何改动
3.
二、你期待的结果是什么?实际看到的又是什么?
正常启动
三、你正在使用的是什么产品,什么版本?在什么操作系统上?
1.3.0 MacOS
四、请提供详细的错误堆栈信息,这很重要。
/Library/Java/JavaVirtualMachines/zulu-17.52.17.jdk/Contents/Home/bin/java -Dvisualvm.id=30704896760541 --add-opens java.base/java.lang=ALL-UNNAMED --add-opens java.base/java.lang.reflect=ALL-UNNAMED -XX:TieredStopAtLevel=1 -Dspring.profiles.active=dev -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:/Applications/IntelliJ IDEA.app/Contents/lib/idea_rt.jar=59257:/Applications/IntelliJ IDEA.app/Contents/bin -Dfile.encoding=UTF-8 -classpath /Users/zhangbo/Work/Jmcloud/Code/JmDevPlatform/bladex/BladeX-Links/blade-demo/target/classes:/Users/zhangbo/Developer/Repository/MvnRepositories/jm/net/dreamlu/mica-mqttx-client/3.1.9/mica-mqttx-client-3.1.9.jar:/Users/zhangbo/Developer/Repository/MvnRepositories/jm/net/dreamlu/mica-mqttx-common/3.1.9/mica-mqttx-common-3.1.9.jar:/Users/zhangbo/Developer/Repository/MvnRepositories/jm/net/dreamlu/mica-mqttx-codec/3.1.9/mica-mqttx-codec-3.1.9.jar:/Users/zhangbo/Developer/Repository/MvnRepositories/jm/net/dreamlu/mica-net-core/1.0.8/mica-net-core-1.0.8.jar:/Users/zhangbo/Developer/Repository/MvnRepositories/jm/net/dreamlu/mica-net-utils/1.0.8/mica-net-utils-1.0.8.jar:/Users/zhangbo/Work/Jmcloud/Code/JmDevPlatform/bladex/BladeX-Links/blade-core/target/classes:/Users/zhangbo/Developer/Repository/MvnRepositories/jm/org/springblade/blade-core-launch/4.4.0/blade-core-launch-4.4.0.jar:/Users/zhangbo/Developer/Repository/MvnRepositories/jm/org/springframework/boot/spring-boot-starter-web/3.2.12/spring-boot-starter-web-3.2.12.jar:/Users/zhangbo/Developer/Repository/MvnRepositories/jm/org/springframework/boot/spring-boot-starter-json/3.2.12/spring-boot-starter-json-3.2.12.jar:/Users/zhangbo/Developer/Repository/MvnRepositories/jm/com/fasterxml/jackson/datatype/jackson-datatype-jdk8/2.15.4/jackson-datatype-jdk8-2.15.4.jar:/Users/zhangbo/Developer/Repository/MvnRepositories/jm/com/fasterxml/jackson/module/jackson-module-parameter-names/2.15.4/jackson-module-parameter-names-2.15.4.jar:/Users/zhangbo/Developer/Repository/MvnRepositories/jm/org/springframework/spring-web/6.1.15/spring-web-6.1.15.jar:/Users/zhangbo/Developer/Repository/MvnRepositories/jm/org/springframework/spring-webmvc/6.1.15/spring-webmvc-6.1.15.jar:/Users/zhangbo/Developer/Repository/MvnRepositories/jm/org/springframework/spring-expression/6.1.15/spring-expression-6.1.15.jar:/Users/zhangbo/Developer/Repository/MvnRepositories/jm/org/springframework/boot/spring-boot-starter-undertow/3.2.12/spring-boot-starter-undertow-3.2.12.jar:/Users/zhangbo/Developer/Repository/MvnRepositories/jm/io/undertow/undertow-core/2.3.17.Final/undertow-core-2.3.17.Final.jar:/Users/zhangbo/Developer/Repository/MvnRepositories/jm/org/jboss/xnio/xnio-api/3.8.16.Final/xnio-api-3.8.16.Final.jar:/Users/zhangbo/Developer/Repository/MvnRepositories/jm/org/wildfly/common/wildfly-common/1.5.4.Final/wildfly-common-1.5.4.Final.jar:/Users/zhangbo/Developer/Repository/MvnRepositories/jm/org/wildfly/client/wildfly-client-config/1.0.1.Final/wildfly-client-config-1.0.1.Final.jar:/Users/zhangbo/Developer/Repository/MvnRepositories/jm/org/jboss/xnio/xnio-nio/3.8.16.Final/xnio-nio-3.8.16.Final.jar:/Users/zhangbo/Developer/Repository/MvnRepositories/jm/org/jboss/threads/jboss-threads/3.5.0.Final/jboss-threads-3.5.0.Final.jar:/Users/zhangbo/Developer/Repository/MvnRepositories/jm/io/undertow/undertow-servlet/2.3.17.Final/undertow-servlet-2.3.17.Final.jar:/Users/zhangbo/Developer/Repository/MvnRepositories/jm/io/undertow/undertow-websockets-jsr/2.3.17.Final/undertow-websockets-jsr-2.3.17.Final.jar:/Users/zhangbo/Developer/Repository/MvnRepositories/jm/jakarta/websocket/jakarta.websocket-api/2.1.1/jakarta.websocket-api-2.1.1.jar:/Users/zhangbo/Developer/Repository/MvnRepositories/jm/jakarta/websocket/jakarta.websocket-client-api/2.1.1/jakarta.websocket-client-api-2.1.1.jar:/Users/zhangbo/Developer/Repository/MvnRepositories/jm/org/apache/tomcat/embed/tomcat-embed-el/10.1.33/tomcat-embed-el-10.1.33.jar:/Users/zhangbo/Developer/Repository/MvnRepositories/jm/jakarta/servlet/jakarta.servlet-api/6.0.0/jakarta.servlet-api-6.0.0.jar:/Users/zhangbo/Developer/Repository/MvnRepositories/jm/javax/xml/bind/jaxb-api/2.3.1/jaxb-api-2.3.1.jar:/Users/zhangbo/Developer/Repository/MvnRepositories/jm/javax/activation/javax.activation-api/1.2.0/javax.activation-api-1.2.0.jar:/Users/zhangbo/Developer/Repository/MvnRepositories/jm/com/sun/xml/bind/jaxb-core/4.0.5/jaxb-core-4.0.5.jar:/Users/zhangbo/Developer/Repository/MvnRepositories/jm/jakarta/xml/bind/jakarta.xml.bind-api/4.0.2/jakarta.xml.bind-api-4.0.2.jar:/Users/zhangbo/Developer/Repository/MvnRepositories/jm/jakarta/activation/jakarta.activation-api/2.1.3/jakarta.activation-api-2.1.3.jar:/Users/zhangbo/Developer/Repository/MvnRepositories/jm/org/eclipse/angus/angus-activation/2.0.2/angus-activation-2.0.2.jar:/Users/zhangbo/Developer/Repository/MvnRepositories/jm/com/sun/xml/bind/jaxb-impl/4.0.5/jaxb-impl-4.0.5.jar:/Users/zhangbo/Developer/Repository/MvnRepositories/jm/javax/activation/activation/1.1.1/activation-1.1.1.jar:/Users/zhangbo/Developer/Repository/MvnRepositories/jm/org/springblade/blade-starter-mybatis/4.4.0/blade-starter-mybatis-4.4.0.jar:/Users/zhangbo/Developer/Repository/MvnRepositories/jm/org/mybatis/mybatis/3.5.16/mybatis-3.5.16.jar:/Users/zhangbo/Developer/Repository/MvnRepositories/jm/org/mybatis/mybatis-spring/3.0.4/mybatis-spring-3.0.4.jar:/Users/zhangbo/Developer/Repository/MvnRepositories/jm/com/baomidou/mybatis-plus/3.5.8/mybatis-plus-3.5.8.jar:/Users/zhangbo/Developer/Repository/MvnRepositories/jm/com/baomidou/mybatis-plus-core/3.5.8/mybatis-plus-core-3.5.8.jar:/Users/zhangbo/Developer/Repository/MvnRepositories/jm/com/baomidou/mybatis-plus-annotation/3.5.8/mybatis-plus-annotation-3.5.8.jar:/Users/zhangbo/Developer/Repository/MvnRepositories/jm/com/baomidou/mybatis-plus-extension/3.5.8/mybatis-plus-extension-3.5.8.jar:/Users/zhangbo/Developer/Repository/MvnRepositories/jm/com/github/jsqlparser/jsqlparser/5.0/jsqlparser-5.0.jar:/Users/zhangbo/Developer/Repository/MvnRepositories/jm/org/springframework/spring-core/6.1.15/spring-core-6.1.15.jar:/Users/zhangbo/Developer/Repository/MvnRepositories/jm/org/springframework/spring-jcl/6.1.15/spring-jcl-6.1.15.jar:/Users/zhangbo/Developer/Repository/MvnRepositories/jm/org/springblade/blade-core-boot/4.4.0/blade-core-boot-4.4.0.jar:/Users/zhangbo/Developer/Repository/MvnRepositories/jm/org/springframework/boot/spring-boot-starter-jdbc/3.2.12/spring-boot-starter-jdbc-3.2.12.jar:/Users/zhangbo/Developer/Repository/MvnRepositories/jm/org/springframework/boot/spring-boot-starter/3.2.12/spring-boot-starter-3.2.12.jar:/Users/zhangbo/Developer/Repository/MvnRepositories/jm/org/springframework/boot/spring-boot/3.2.12/spring-boot-3.2.12.jar:/Users/zhangbo/Developer/Repository/MvnRepositories/jm/org/springframework/boot/spring-boot-starter-logging/3.2.12/spring-boot-starter-logging-3.2.12.jar:/Users/zhangbo/Developer/Repository/MvnRepositories/jm/ch/qos/logback/logback-classic/1.4.14/logback-classic-1.4.14.jar:/Users/zhangbo/Developer/Repository/MvnRepositories/jm/ch/qos/logback/logback-core/1.4.14/logback-core-1.4.14.jar:/Users/zhangbo/Developer/Repository/MvnRepositories/jm/org/apache/logging/log4j/log4j-to-slf4j/2.21.1/log4j-to-slf4j-2.21.1.jar:/Users/zhangbo/Developer/Repository/MvnRepositories/jm/org/apache/logging/log4j/log4j-api/2.21.1/log4j-api-2.21.1.jar:/Users/zhangbo/Developer/Repository/MvnRepositories/jm/org/slf4j/jul-to-slf4j/2.0.16/jul-to-slf4j-2.0.16.jar:/Users/zhangbo/Developer/Repository/MvnRepositories/jm/jakarta/annotation/jakarta.annotation-api/2.1.1/jakarta.annotation-api-2.1.1.jar:/Users/zhangbo/Developer/Repository/MvnRepositories/jm/org/yaml/snakeyaml/2.2/snakeyaml-2.2.jar:/Users/zhangbo/Developer/Repository/MvnRepositories/jm/com/zaxxer/HikariCP/5.0.1/HikariCP-5.0.1.jar:/Users/zhangbo/Developer/Repository/MvnRepositories/jm/org/springframework/spring-jdbc/6.1.15/spring-jdbc-6.1.15.jar:/Users/zhangbo/Developer/Repository/MvnRepositories/jm/org/springframework/spring-beans/6.1.15/spring-beans-6.1.15.jar:/Users/zhangbo/Developer/Repository/MvnRepositories/jm/org/springframework/spring-tx/6.1.15/spring-tx-6.1.15.jar:/Users/zhangbo/Developer/Repository/MvnRepositories/jm/org/springframework/boot/spring-boot-starter-cache/3.2.12/spring-boot-starter-cache-3.2.12.jar:/Users/zhangbo/Developer/Repository/MvnRepositories/jm/org/springframework/spring-context-support/6.1.15/spring-context-support-6.1.15.jar:/Users/zhangbo/Developer/Repository/MvnRepositories/jm/org/springframework/spring-context/6.1.15/spring-context-6.1.15.jar:/Users/zhangbo/Developer/Repository/MvnRepositories/jm/org/springblade/blade-core-tool/4.4.0/blade-core-tool-4.4.0.jar:/Users/zhangbo/Developer/Repository/MvnRepositories/jm/com/fasterxml/jackson/datatype/jackson-datatype-jsr310/2.15.4/jackson-datatype-jsr310-2.15.4.jar:/Users/zhangbo/Developer/Repository/MvnRepositories/jm/com/fasterxml/jackson/core/jackson-annotations/2.15.4/jackson-annotations-2.15.4.jar:/Users/zhangbo/Developer/Repository/MvnRepositories/jm/com/fasterxml/jackson/core/jackson-core/2.15.4/jackson-core-2.15.4.jar:/Users/zhangbo/Developer/Repository/MvnRepositories/jm/com/fasterxml/jackson/core/jackson-databind/2.15.4/jackson-databind-2.15.4.jar:/Users/zhangbo/Developer/Repository/MvnRepositories/jm/com/google/guava/guava/33.1.0-jre/guava-33.1.0-jre.jar:/Users/zhangbo/Developer/Repository/MvnRepositories/jm/com/google/guava/failureaccess/1.0.2/failureaccess-1.0.2.jar:/Users/zhangbo/Developer/Repository/MvnRepositories/jm/com/google/guava/listenablefuture/9999.0-empty-to-avoid-conflict-with-guava/listenablefuture-9999.0-empty-to-avoid-conflict-with-guava.jar:/Users/zhangbo/Developer/Repository/MvnRepositories/jm/com/google/code/findbugs/jsr305/3.0.2/jsr305-3.0.2.jar:/Users/zhangbo/Developer/Repository/MvnRepositories/jm/org/checkerframework/checker-qual/3.42.0/checker-qual-3.42.0.jar:/Users/zhangbo/Developer/Repository/MvnRepositories/jm/com/google/errorprone/error_prone_annotations/2.26.1/error_prone_annotations-2.26.1.jar:/Users/zhangbo/Developer/Repository/MvnRepositories/jm/com/google/j2objc/j2objc-annotations/3.0.0/j2objc-annotations-3.0.0.jar:/Users/zhangbo/Developer/Repository/MvnRepositories/jm/com/squareup/okhttp3/okhttp/4.12.0/okhttp-4.12.0.jar:/Users/zhangbo/Developer/Repository/MvnRepositories/jm/com/squareup/okio/okio/3.6.0/okio-3.6.0.jar:/Users/zhangbo/Developer/Repository/MvnRepositories/jm/com/squareup/okio/okio-jvm/3.6.0/okio-jvm-3.6.0.jar:/Users/zhangbo/Developer/Repository/MvnRepositories/jm/org/jetbrains/kotlin/kotlin-stdlib-common/1.9.25/kotlin-stdlib-common-1.9.25.jar:/Users/zhangbo/Developer/Repository/MvnRepositories/jm/org/jetbrains/kotlin/kotlin-stdlib-jdk8/1.9.25/kotlin-stdlib-jdk8-1.9.25.jar:/Users/zhangbo/Developer/Repository/MvnRepositories/jm/org/jetbrains/kotlin/kotlin-stdlib/1.9.25/kotlin-stdlib-1.9.25.jar:/Users/zhangbo/Developer/Repository/MvnRepositories/jm/org/jetbrains/annotations/13.0/annotations-13.0.jar:/Users/zhangbo/Developer/Repository/MvnRepositories/jm/org/jetbrains/kotlin/kotlin-stdlib-jdk7/1.9.25/kotlin-stdlib-jdk7-1.9.25.jar:/Users/zhangbo/Developer/Repository/MvnRepositories/jm/io/swagger/core/v3/swagger-annotations-jakarta/2.2.19/swagger-annotations-jakarta-2.2.19.jar:/Users/zhangbo/Developer/Repository/MvnRepositories/jm/io/protostuff/protostuff-core/1.6.0/protostuff-core-1.6.0.jar:/Users/zhangbo/Developer/Repository/MvnRepositories/jm/io/protostuff/protostuff-api/1.6.0/protostuff-api-1.6.0.jar:/Users/zhangbo/Developer/Repository/MvnRepositories/jm/io/protostuff/protostuff-runtime/1.6.0/protostuff-runtime-1.6.0.jar:/Users/zhangbo/Developer/Repository/MvnRepositories/jm/io/protostuff/protostuff-collectionschema/1.6.0/protostuff-collectionschema-1.6.0.jar:/Users/zhangbo/Developer/Repository/MvnRepositories/jm/org/springframework/boot/spring-boot-starter-data-redis/3.2.12/spring-boot-starter-data-redis-3.2.12.jar:/Users/zhangbo/Developer/Repository/MvnRepositories/jm/io/lettuce/lettuce-core/6.3.2.RELEASE/lettuce-core-6.3.2.RELEASE.jar:/Users/zhangbo/Developer/Repository/MvnRepositories/jm/io/netty/netty-common/4.1.115.Final/netty-common-4.1.115.Final.jar:/Users/zhangbo/Developer/Repository/MvnRepositories/jm/io/netty/netty-handler/4.1.115.Final/netty-handler-4.1.115.Final.jar:/Users/zhangbo/Developer/Repository/MvnRepositories/jm/io/netty/netty-resolver/4.1.115.Final/netty-resolver-4.1.115.Final.jar:/Users/zhangbo/Developer/Repository/MvnRepositories/jm/io/netty/netty-buffer/4.1.115.Final/netty-buffer-4.1.115.Final.jar:/Users/zhangbo/Developer/Repository/MvnRepositories/jm/io/netty/netty-transport-native-unix-common/4.1.115.Final/netty-transport-native-unix-common-4.1.115.Final.jar:/Users/zhangbo/Developer/Repository/MvnRepositories/jm/io/netty/netty-codec/4.1.115.Final/netty-codec-4.1.115.Final.jar:/Users/zhangbo/Developer/Repository/MvnRepositories/jm/io/netty/netty-transport/4.1.115.Final/netty-transport-4.1.115.Final.jar:/Users/zhangbo/Developer/Repository/MvnRepositories/jm/io/projectreactor/reactor-core/3.6.12/reactor-core-3.6.12.jar:/Users/zhangbo/Developer/Repository/MvnRepositories/jm/org/reactivestreams/reactive-streams/1.0.4/reactive-streams-1.0.4.jar:/Users/zhangbo/Developer/Repository/MvnRepositories/jm/org/springframework/data/spring-data-redis/3.2.12/spring-data-redis-3.2.12.jar:/Users/zhangbo/Developer/Repository/MvnRepositories/jm/org/springframework/data/spring-data-keyvalue/3.2.12/spring-data-keyvalue-3.2.12.jar:/Users/zhangbo/Developer/Repository/MvnRepositories/jm/org/springframework/data/spring-data-commons/3.2.12/spring-data-commons-3.2.12.jar:/Users/zhangbo/Developer/Repository/MvnRepositories/jm/org/springframework/spring-oxm/6.1.15/spring-oxm-6.1.15.jar:/Users/zhangbo/Developer/Repository/MvnRepositories/jm/org/bouncycastle/bcprov-jdk18on/1.78.1/bcprov-jdk18on-1.78.1.jar:/Users/zhangbo/Developer/Repository/MvnRepositories/jm/org/springblade/blade-core-secure/4.4.0/blade-core-secure-4.4.0.jar:/Users/zhangbo/Developer/Repository/MvnRepositories/jm/io/jsonwebtoken/jjwt-impl/0.11.2/jjwt-impl-0.11.2.jar:/Users/zhangbo/Developer/Repository/MvnRepositories/jm/io/jsonwebtoken/jjwt-api/0.11.2/jjwt-api-0.11.2.jar:/Users/zhangbo/Developer/Repository/MvnRepositories/jm/io/jsonwebtoken/jjwt-jackson/0.11.2/jjwt-jackson-0.11.2.jar:/Users/zhangbo/Developer/Repository/MvnRepositories/jm/org/springblade/blade-starter-cache/4.4.0/blade-starter-cache-4.4.0.jar:/Users/zhangbo/Developer/Repository/MvnRepositories/jm/org/springblade/blade-starter-log/4.4.0/blade-starter-log-4.4.0.jar:/Users/zhangbo/Developer/Repository/MvnRepositories/jm/org/springblade/blade-starter-swagger/4.4.0/blade-starter-swagger-4.4.0.jar:/Users/zhangbo/Developer/Repository/MvnRepositories/jm/com/github/xiaoymin/knife4j-openapi3-jakarta-spring-boot-starter/4.5.0/knife4j-openapi3-jakarta-spring-boot-starter-4.5.0.jar:/Users/zhangbo/Developer/Repository/MvnRepositories/jm/com/github/xiaoymin/knife4j-core/4.5.0/knife4j-core-4.5.0.jar:/Users/zhangbo/Developer/Repository/MvnRepositories/jm/com/github/xiaoymin/knife4j-openapi3-ui/4.5.0/knife4j-openapi3-ui-4.5.0.jar:/Users/zhangbo/Developer/Repository/MvnRepositories/jm/org/springdoc/springdoc-openapi-starter-webmvc-ui/2.3.0/springdoc-openapi-starter-webmvc-ui-2.3.0.jar:/Users/zhangbo/Developer/Repository/MvnRepositories/jm/org/springdoc/springdoc-openapi-starter-webmvc-api/2.3.0/springdoc-openapi-starter-webmvc-api-2.3.0.jar:/Users/zhangbo/Developer/Repository/MvnRepositories/jm/org/springdoc/springdoc-openapi-starter-common/2.3.0/springdoc-openapi-starter-common-2.3.0.jar:/Users/zhangbo/Developer/Repository/MvnRepositories/jm/io/swagger/core/v3/swagger-core-jakarta/2.2.19/swagger-core-jakarta-2.2.19.jar:/Users/zhangbo/Developer/Repository/MvnRepositories/jm/org/apache/commons/commons-lang3/3.13.0/commons-lang3-3.13.0.jar:/Users/zhangbo/Developer/Repository/MvnRepositories/jm/io/swagger/core/v3/swagger-models-jakarta/2.2.19/swagger-models-jakarta-2.2.19.jar:/Users/zhangbo/Developer/Repository/MvnRepositories/jm/com/fasterxml/jackson/dataformat/jackson-dataformat-yaml/2.15.4/jackson-dataformat-yaml-2.15.4.jar:/Users/zhangbo/Developer/Repository/MvnRepositories/jm/org/webjars/swagger-ui/5.10.3/swagger-ui-5.10.3.jar:/Users/zhangbo/Developer/Repository/MvnRepositories/jm/org/springblade/blade-starter-tenant/4.4.0/blade-starter-tenant-4.4.0.jar:/Users/zhangbo/Developer/Repository/MvnRepositories/jm/org/springblade/blade-starter-redis/4.4.0/blade-starter-redis-4.4.0.jar:/Users/zhangbo/Developer/Repository/MvnRepositories/jm/com/baomidou/mybatis-plus-spring-boot3-starter/3.5.8/mybatis-plus-spring-boot3-starter-3.5.8.jar:/Users/zhangbo/Developer/Repository/MvnRepositories/jm/com/baomidou/mybatis-plus-spring-boot-autoconfigure/3.5.8/mybatis-plus-spring-boot-autoconfigure-3.5.8.jar:/Users/zhangbo/Developer/Repository/MvnRepositories/jm/org/springframework/boot/spring-boot-autoconfigure/3.2.12/spring-boot-autoconfigure-3.2.12.jar:/Users/zhangbo/Developer/Repository/MvnRepositories/jm/org/mybatis/mybatis-typehandlers-jsr310/1.0.2/mybatis-typehandlers-jsr310-1.0.2.jar:/Users/zhangbo/Developer/Repository/MvnRepositories/jm/net/sf/ehcache/ehcache/2.10.5/ehcache-2.10.5.jar:/Users/zhangbo/Developer/Repository/MvnRepositories/jm/org/slf4j/slf4j-api/2.0.16/slf4j-api-2.0.16.jar:/Users/zhangbo/Developer/Repository/MvnRepositories/jm/com/alibaba/druid-spring-boot-3-starter/1.2.23/druid-spring-boot-3-starter-1.2.23.jar:/Users/zhangbo/Developer/Repository/MvnRepositories/jm/com/alibaba/druid/1.2.23/druid-1.2.23.jar:/Users/zhangbo/Developer/Repository/MvnRepositories/jm/com/mysql/mysql-connector-j/8.3.0/mysql-connector-j-8.3.0.jar:/Users/zhangbo/Developer/Repository/MvnRepositories/jm/com/google/protobuf/protobuf-java/3.25.1/protobuf-java-3.25.1.jar:/Users/zhangbo/Developer/Repository/MvnRepositories/jm/org/springframework/boot/spring-boot-starter-aop/3.2.12/spring-boot-starter-aop-3.2.12.jar:/Users/zhangbo/Developer/Repository/MvnRepositories/jm/org/springframework/spring-aop/6.1.15/spring-aop-6.1.15.jar:/Users/zhangbo/Developer/Repository/MvnRepositories/jm/org/aspectj/aspectjweaver/1.9.22.1/aspectjweaver-1.9.22.1.jar:/Users/zhangbo/Developer/Repository/MvnRepositories/jm/org/springframework/boot/spring-boot-starter-actuator/3.2.12/spring-boot-starter-actuator-3.2.12.jar:/Users/zhangbo/Developer/Repository/MvnRepositories/jm/org/springframework/boot/spring-boot-actuator-autoconfigure/3.2.12/spring-boot-actuator-autoconfigure-3.2.12.jar:/Users/zhangbo/Developer/Repository/MvnRepositories/jm/org/springframework/boot/spring-boot-actuator/3.2.12/spring-boot-actuator-3.2.12.jar:/Users/zhangbo/Developer/Repository/MvnRepositories/jm/io/micrometer/micrometer-observation/1.12.13/micrometer-observation-1.12.13.jar:/Users/zhangbo/Developer/Repository/MvnRepositories/jm/io/micrometer/micrometer-commons/1.12.13/micrometer-commons-1.12.13.jar:/Users/zhangbo/Developer/Repository/MvnRepositories/jm/io/micrometer/micrometer-jakarta9/1.12.13/micrometer-jakarta9-1.12.13.jar:/Users/zhangbo/Developer/Repository/MvnRepositories/jm/io/micrometer/micrometer-core/1.12.13/micrometer-core-1.12.13.jar:/Users/zhangbo/Developer/Repository/MvnRepositories/jm/org/hdrhistogram/HdrHistogram/2.1.12/HdrHistogram-2.1.12.jar:/Users/zhangbo/Developer/Repository/MvnRepositories/jm/org/latencyutils/LatencyUtils/2.0.3/LatencyUtils-2.0.3.jar:/Users/zhangbo/Developer/Repository/MvnRepositories/jm/org/springframework/retry/spring-retry/2.0.10/spring-retry-2.0.10.jar:/Users/zhangbo/Developer/Repository/MvnRepositories/jm/org/hibernate/validator/hibernate-validator/8.0.1.Final/hibernate-validator-8.0.1.Final.jar:/Users/zhangbo/Developer/Repository/MvnRepositories/jm/jakarta/validation/jakarta.validation-api/3.0.2/jakarta.validation-api-3.0.2.jar:/Users/zhangbo/Developer/Repository/MvnRepositories/jm/org/jboss/logging/jboss-logging/3.5.3.Final/jboss-logging-3.5.3.Final.jar:/Users/zhangbo/Developer/Repository/MvnRepositories/jm/com/fasterxml/classmate/1.6.0/classmate-1.6.0.jar:/Users/zhangbo/Developer/Repository/MvnRepositories/jm/org/projectlombok/lombok/1.18.34/lombok-1.18.34.jar org.springblade.device.simulator.DeviceSimulatorApplication
----启动中,读取到的环境变量:[dev],jar地址:[/Users/zhangbo/Work/Jmcloud/Code/JmDevPlatform/bladex/BladeX-Links/blade-demo/target/classes/]----
____ _ _ __ __ _ _ _
| _ \| | | | \ \ / / | | (_) | |
| |_) | | __ _ __| | ___ \ V / | | _ _ __ | | _____
| _ <| |/ _` |/ _` |/ _ \ > < | | | | '_ \| |/ / __|
| |_) | | (_| | (_| | __// . \ | |___| | | | | <\__ \
|____/|_|\__,_|\__,_|\___/_/ \_\ |_____|_|_| |_|_|\_\___/
:: BladeX :: device-simulator:dev :: Running SpringBoot 3.2.12 ::
2025-01-09 16:18:51.632 INFO 36069 --- [kground-preinit] o.h.validator.internal.util.Version : HV000001: Hibernate Validator 8.0.1.Final
2025-01-09 16:18:51.653 INFO 36069 --- [ main] o.s.d.s.DeviceSimulatorApplication : Starting DeviceSimulatorApplication using Java 17.0.12 with PID 36069 (/Users/zhangbo/Work/Jmcloud/Code/JmDevPlatform/bladex/BladeX-Links/blade-demo/target/classes started by zhangbo in /Users/zhangbo/Work/Jmcloud/Code/JmDevPlatform/bladex/BladeX-Links)
2025-01-09 16:18:51.653 DEBUG 36069 --- [ main] o.s.d.s.DeviceSimulatorApplication : Running with Spring Boot v3.2.12, Spring v6.1.15
2025-01-09 16:18:51.653 INFO 36069 --- [ main] o.s.d.s.DeviceSimulatorApplication : The following 1 profile is active: "dev"
2025-01-09 16:18:51.997 WARN 36069 --- [ main] ConfigServletWebServerApplicationContext : Exception encountered during context initialization - cancelling refresh attempt: java.lang.IllegalStateException: Error processing condition on org.springdoc.core.configuration.SpringDocConfiguration$QuerydslProvider.queryDslQuerydslPredicateOperationCustomizer
2025-01-09 16:18:52.004 INFO 36069 --- [ main] .s.b.a.l.ConditionEvaluationReportLogger :
Error starting ApplicationContext. To display the condition evaluation report re-run your application with 'debug' enabled.
2025-01-09 16:18:52.014 ERROR 36069 --- [ main] o.s.boot.SpringApplication : Application run failed
java.lang.IllegalStateException: Error processing condition on org.springdoc.core.configuration.SpringDocConfiguration$QuerydslProvider.queryDslQuerydslPredicateOperationCustomizer
at org.springframework.boot.autoconfigure.condition.SpringBootCondition.matches(SpringBootCondition.java:60)
at org.springframework.context.annotation.ConditionEvaluator.shouldSkip(ConditionEvaluator.java:108)
at org.springframework.context.annotation.ConfigurationClassBeanDefinitionReader.loadBeanDefinitionsForBeanMethod(ConfigurationClassBeanDefinitionReader.java:183)
at org.springframework.context.annotation.ConfigurationClassBeanDefinitionReader.loadBeanDefinitionsForConfigurationClass(ConfigurationClassBeanDefinitionReader.java:144)
at org.springframework.context.annotation.ConfigurationClassBeanDefinitionReader.loadBeanDefinitions(ConfigurationClassBeanDefinitionReader.java:120)
at org.springframework.context.annotation.ConfigurationClassPostProcessor.processConfigBeanDefinitions(ConfigurationClassPostProcessor.java:429)
at org.springframework.context.annotation.ConfigurationClassPostProcessor.postProcessBeanDefinitionRegistry(ConfigurationClassPostProcessor.java:290)
at org.springframework.context.support.PostProcessorRegistrationDelegate.invokeBeanDefinitionRegistryPostProcessors(PostProcessorRegistrationDelegate.java:349)
at org.springframework.context.support.PostProcessorRegistrationDelegate.invokeBeanFactoryPostProcessors(PostProcessorRegistrationDelegate.java:118)
at org.springframework.context.support.AbstractApplicationContext.invokeBeanFactoryPostProcessors(AbstractApplicationContext.java:789)
at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:607)
at org.springframework.boot.web.servlet.context.ServletWebServerApplicationContext.refresh(ServletWebServerApplicationContext.java:146)
at org.springframework.boot.SpringApplication.refresh(SpringApplication.java:754)
at org.springframework.boot.SpringApplication.refreshContext(SpringApplication.java:456)
at org.springframework.boot.SpringApplication.run(SpringApplication.java:335)
at org.springframework.boot.builder.SpringApplicationBuilder.run(SpringApplicationBuilder.java:149)
at org.springblade.core.launch.BladeApplication.run(BladeApplication.java:49)
at org.springblade.device.simulator.DeviceSimulatorApplication.main(DeviceSimulatorApplication.java:43)
Caused by: java.lang.IllegalStateException: Failed to introspect Class [org.springblade.iot.tsdb.config.IotTslCacheConfiguration] from ClassLoader [jdk.internal.loader.ClassLoaders$AppClassLoader@1dbd16a6]
at org.springframework.util.ReflectionUtils.getDeclaredMethods(ReflectionUtils.java:483)
at org.springframework.util.ReflectionUtils.doWithMethods(ReflectionUtils.java:360)
at org.springframework.util.ReflectionUtils.getUniqueDeclaredMethods(ReflectionUtils.java:417)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.lambda$getTypeForFactoryMethod$1(AbstractAutowireCapableBeanFactory.java:750)
at java.base/java.util.concurrent.ConcurrentHashMap.computeIfAbsent(ConcurrentHashMap.java:1740)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.getTypeForFactoryMethod(AbstractAutowireCapableBeanFactory.java:749)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.determineTargetType(AbstractAutowireCapableBeanFactory.java:682)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.predictBeanType(AbstractAutowireCapableBeanFactory.java:653)
at org.springframework.beans.factory.support.AbstractBeanFactory.isFactoryBean(AbstractBeanFactory.java:1687)
at org.springframework.beans.factory.support.DefaultListableBeanFactory.doGetBeanNamesForType(DefaultListableBeanFactory.java:562)
at org.springframework.beans.factory.support.DefaultListableBeanFactory.getBeanNamesForType(DefaultListableBeanFactory.java:534)
at org.springframework.boot.autoconfigure.condition.OnBeanCondition.collectBeanNamesForType(OnBeanCondition.java:247)
at org.springframework.boot.autoconfigure.condition.OnBeanCondition.getBeanNamesForType(OnBeanCondition.java:240)
at org.springframework.boot.autoconfigure.condition.OnBeanCondition.getBeanNamesForType(OnBeanCondition.java:230)
at org.springframework.boot.autoconfigure.condition.OnBeanCondition.getMatchingBeans(OnBeanCondition.java:183)
at org.springframework.boot.autoconfigure.condition.OnBeanCondition.getMatchOutcome(OnBeanCondition.java:158)
at org.springframework.boot.autoconfigure.condition.SpringBootCondition.matches(SpringBootCondition.java:47)
... 17 common frames omitted
Caused by: java.lang.NoClassDefFoundError: com/github/benmanes/caffeine/cache/Cache
at java.base/java.lang.Class.getDeclaredMethods0(Native Method)
at java.base/java.lang.Class.privateGetDeclaredMethods(Class.java:3402)
at java.base/java.lang.Class.getDeclaredMethods(Class.java:2504)
at org.springframework.util.ReflectionUtils.getDeclaredMethods(ReflectionUtils.java:465)
... 33 common frames omitted
Caused by: java.lang.ClassNotFoundException: com.github.benmanes.caffeine.cache.Cache
at java.base/jdk.internal.loader.BuiltinClassLoader.loadClass(BuiltinClassLoader.java:641)
at java.base/jdk.internal.loader.ClassLoaders$AppClassLoader.loadClass(ClassLoaders.java:188)
at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:525)
... 37 common frames omitted
Process finished with exit code 1
五、若有更多详细信息,请在下面提供。
这个错误是类找不到,新版本引入了caffeine依赖,你给工程重新构建一下看看呢,另外master分支今天也有更新,你再拉取下最新的代码。然后运行试试看。
拉取了最新代码起不来了,之前是可以启动的,项目也重新构建了,本地仓库对应的依赖也存在。
最新代码中 blade.tool.version 为 4.4.1 依赖加载有问题,我改成 4.4.0 依赖正常,模拟器起不来了
4.4.1版本可能中央仓库还没刷新,你先下载这个工程:https://gitee.com/smallc/blade-tool
然后工程根目录自行mvn clean install就可以安装4.4.1的依赖了
解决了,依赖的问题,tool 使用开源版打包后正常了 感谢
扫一扫访问 Blade技术社区 移动端