boot单机版本要怎么设置启动的环境变量

Blade 已结 2 46

一、该问题的重现步骤是什么?


1. 使用默认配置启动成功


2. 日志显示:启动中,读取到的环境变量:[dev]


3. application.yml设置blade.env=test,启动成功,读取到的环境变量:[dev]没有变化



二、你期待的结果是什么?实际看到的又是什么?


我以为默认的是dev环境,手动设置blade.env=test之后会加载test环境变量;实际看到的还是dev环境




三、你正在使用的是什么产品,什么版本?在什么操作系统上?


IDEA2022.3.3;mac系统




四、请提供详细的错误堆栈信息,这很重要。

截屏2024-12-18 22.58.34.png



/Library/Java/JavaVirtualMachines/jdk-17.jdk/Contents/Home/bin/java -agentlib:jdwp=transport=dt_socket,address=127.0.0.1:62988,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/huchao/Library/Caches/JetBrains/IntelliJIdea2022.3/captureAgent/debugger-agent.jar=file:/private/var/folders/m_/hmq13rrs6zlfb00kljpfcgn00000gn/T/capture.props -Dfile.encoding=UTF-8 -classpath /Users/huchao/IdeaProjects/blade/boot/SpringBlade/target/classes:/Users/huchao/workspaces/maven/repository/org/springblade/blade-core-boot/4.3.0/blade-core-boot-4.3.0.jar:/Users/huchao/workspaces/maven/repository/org/springframework/boot/spring-boot-starter-jdbc/3.2.10/spring-boot-starter-jdbc-3.2.10.jar:/Users/huchao/workspaces/maven/repository/org/springframework/boot/spring-boot-starter/3.2.10/spring-boot-starter-3.2.10.jar:/Users/huchao/workspaces/maven/repository/org/springframework/boot/spring-boot/3.2.10/spring-boot-3.2.10.jar:/Users/huchao/workspaces/maven/repository/org/springframework/boot/spring-boot-starter-logging/3.2.10/spring-boot-starter-logging-3.2.10.jar:/Users/huchao/workspaces/maven/repository/ch/qos/logback/logback-classic/1.4.14/logback-classic-1.4.14.jar:/Users/huchao/workspaces/maven/repository/ch/qos/logback/logback-core/1.4.14/logback-core-1.4.14.jar:/Users/huchao/workspaces/maven/repository/org/apache/logging/log4j/log4j-to-slf4j/2.21.1/log4j-to-slf4j-2.21.1.jar:/Users/huchao/workspaces/maven/repository/org/apache/logging/log4j/log4j-api/2.21.1/log4j-api-2.21.1.jar:/Users/huchao/workspaces/maven/repository/org/slf4j/jul-to-slf4j/2.0.16/jul-to-slf4j-2.0.16.jar:/Users/huchao/workspaces/maven/repository/jakarta/annotation/jakarta.annotation-api/2.1.1/jakarta.annotation-api-2.1.1.jar:/Users/huchao/workspaces/maven/repository/org/yaml/snakeyaml/2.2/snakeyaml-2.2.jar:/Users/huchao/workspaces/maven/repository/com/zaxxer/HikariCP/5.0.1/HikariCP-5.0.1.jar:/Users/huchao/workspaces/maven/repository/org/springframework/spring-jdbc/6.1.14/spring-jdbc-6.1.14.jar:/Users/huchao/workspaces/maven/repository/org/springframework/spring-beans/6.1.14/spring-beans-6.1.14.jar:/Users/huchao/workspaces/maven/repository/org/springframework/spring-tx/6.1.14/spring-tx-6.1.14.jar:/Users/huchao/workspaces/maven/repository/org/springframework/boot/spring-boot-starter-cache/3.2.10/spring-boot-starter-cache-3.2.10.jar:/Users/huchao/workspaces/maven/repository/org/springframework/spring-context-support/6.1.14/spring-context-support-6.1.14.jar:/Users/huchao/workspaces/maven/repository/org/springframework/spring-context/6.1.14/spring-context-6.1.14.jar:/Users/huchao/workspaces/maven/repository/org/springframework/spring-expression/6.1.14/spring-expression-6.1.14.jar:/Users/huchao/workspaces/maven/repository/org/springblade/blade-core-launch/4.3.0/blade-core-launch-4.3.0.jar:/Users/huchao/workspaces/maven/repository/org/springframework/boot/spring-boot-starter-web/3.2.10/spring-boot-starter-web-3.2.10.jar:/Users/huchao/workspaces/maven/repository/org/springframework/boot/spring-boot-starter-json/3.2.10/spring-boot-starter-json-3.2.10.jar:/Users/huchao/workspaces/maven/repository/com/fasterxml/jackson/datatype/jackson-datatype-jdk8/2.15.4/jackson-datatype-jdk8-2.15.4.jar:/Users/huchao/workspaces/maven/repository/com/fasterxml/jackson/module/jackson-module-parameter-names/2.15.4/jackson-module-parameter-names-2.15.4.jar:/Users/huchao/workspaces/maven/repository/org/springframework/spring-webmvc/6.1.14/spring-webmvc-6.1.14.jar:/Users/huchao/workspaces/maven/repository/org/springframework/boot/spring-boot-starter-undertow/3.2.10/spring-boot-starter-undertow-3.2.10.jar:/Users/huchao/workspaces/maven/repository/io/undertow/undertow-core/2.3.17.Final/undertow-core-2.3.17.Final.jar:/Users/huchao/workspaces/maven/repository/org/jboss/xnio/xnio-api/3.8.16.Final/xnio-api-3.8.16.Final.jar:/Users/huchao/workspaces/maven/repository/org/wildfly/common/wildfly-common/1.5.4.Final/wildfly-common-1.5.4.Final.jar:/Users/huchao/workspaces/maven/repository/org/wildfly/client/wildfly-client-config/1.0.1.Final/wildfly-client-config-1.0.1.Final.jar:/Users/huchao/workspaces/maven/repository/org/jboss/xnio/xnio-nio/3.8.16.Final/xnio-nio-3.8.16.Final.jar:/Users/huchao/workspaces/maven/repository/org/jboss/threads/jboss-threads/3.5.0.Final/jboss-threads-3.5.0.Final.jar:/Users/huchao/workspaces/maven/repository/io/undertow/undertow-servlet/2.3.17.Final/undertow-servlet-2.3.17.Final.jar:/Users/huchao/workspaces/maven/repository/io/undertow/undertow-websockets-jsr/2.3.17.Final/undertow-websockets-jsr-2.3.17.Final.jar:/Users/huchao/workspaces/maven/repository/jakarta/websocket/jakarta.websocket-api/2.1.1/jakarta.websocket-api-2.1.1.jar:/Users/huchao/workspaces/maven/repository/jakarta/websocket/jakarta.websocket-client-api/2.1.1/jakarta.websocket-client-api-2.1.1.jar:/Users/huchao/workspaces/maven/repository/org/apache/tomcat/embed/tomcat-embed-el/10.1.30/tomcat-embed-el-10.1.30.jar:/Users/huchao/workspaces/maven/repository/jakarta/servlet/jakarta.servlet-api/6.0.0/jakarta.servlet-api-6.0.0.jar:/Users/huchao/workspaces/maven/repository/javax/xml/bind/jaxb-api/2.3.1/jaxb-api-2.3.1.jar:/Users/huchao/workspaces/maven/repository/javax/activation/javax.activation-api/1.2.0/javax.activation-api-1.2.0.jar:/Users/huchao/workspaces/maven/repository/com/sun/xml/bind/jaxb-core/4.0.5/jaxb-core-4.0.5.jar:/Users/huchao/workspaces/maven/repository/org/eclipse/angus/angus-activation/2.0.2/angus-activation-2.0.2.jar:/Users/huchao/workspaces/maven/repository/com/sun/xml/bind/jaxb-impl/4.0.5/jaxb-impl-4.0.5.jar:/Users/huchao/workspaces/maven/repository/javax/activation/activation/1.1.1/activation-1.1.1.jar:/Users/huchao/workspaces/maven/repository/org/springblade/blade-core-tool/4.3.0/blade-core-tool-4.3.0.jar:/Users/huchao/workspaces/maven/repository/com/fasterxml/jackson/datatype/jackson-datatype-jsr310/2.15.4/jackson-datatype-jsr310-2.15.4.jar:/Users/huchao/workspaces/maven/repository/com/google/guava/guava/33.1.0-jre/guava-33.1.0-jre.jar:/Users/huchao/workspaces/maven/repository/com/google/guava/failureaccess/1.0.2/failureaccess-1.0.2.jar:/Users/huchao/workspaces/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/huchao/workspaces/maven/repository/com/google/code/findbugs/jsr305/3.0.2/jsr305-3.0.2.jar:/Users/huchao/workspaces/maven/repository/org/checkerframework/checker-qual/3.42.0/checker-qual-3.42.0.jar:/Users/huchao/workspaces/maven/repository/com/google/errorprone/error_prone_annotations/2.26.1/error_prone_annotations-2.26.1.jar:/Users/huchao/workspaces/maven/repository/com/google/j2objc/j2objc-annotations/3.0.0/j2objc-annotations-3.0.0.jar:/Users/huchao/workspaces/maven/repository/com/squareup/okhttp3/okhttp/4.12.0/okhttp-4.12.0.jar:/Users/huchao/workspaces/maven/repository/com/squareup/okio/okio/3.6.0/okio-3.6.0.jar:/Users/huchao/workspaces/maven/repository/com/squareup/okio/okio-jvm/3.6.0/okio-jvm-3.6.0.jar:/Users/huchao/workspaces/maven/repository/org/jetbrains/kotlin/kotlin-stdlib-common/1.9.25/kotlin-stdlib-common-1.9.25.jar:/Users/huchao/workspaces/maven/repository/org/jetbrains/kotlin/kotlin-stdlib-jdk8/1.9.25/kotlin-stdlib-jdk8-1.9.25.jar:/Users/huchao/workspaces/maven/repository/org/jetbrains/kotlin/kotlin-stdlib/1.9.25/kotlin-stdlib-1.9.25.jar:/Users/huchao/workspaces/maven/repository/org/jetbrains/annotations/13.0/annotations-13.0.jar:/Users/huchao/workspaces/maven/repository/org/jetbrains/kotlin/kotlin-stdlib-jdk7/1.9.25/kotlin-stdlib-jdk7-1.9.25.jar:/Users/huchao/workspaces/maven/repository/io/swagger/core/v3/swagger-annotations-jakarta/2.2.19/swagger-annotations-jakarta-2.2.19.jar:/Users/huchao/workspaces/maven/repository/io/protostuff/protostuff-core/1.6.0/protostuff-core-1.6.0.jar:/Users/huchao/workspaces/maven/repository/io/protostuff/protostuff-api/1.6.0/protostuff-api-1.6.0.jar:/Users/huchao/workspaces/maven/repository/io/protostuff/protostuff-runtime/1.6.0/protostuff-runtime-1.6.0.jar:/Users/huchao/workspaces/maven/repository/io/protostuff/protostuff-collectionschema/1.6.0/protostuff-collectionschema-1.6.0.jar:/Users/huchao/workspaces/maven/repository/org/springframework/boot/spring-boot-starter-data-redis/3.2.10/spring-boot-starter-data-redis-3.2.10.jar:/Users/huchao/workspaces/maven/repository/io/lettuce/lettuce-core/6.3.2.RELEASE/lettuce-core-6.3.2.RELEASE.jar:/Users/huchao/workspaces/maven/repository/io/netty/netty-common/4.1.113.Final/netty-common-4.1.113.Final.jar:/Users/huchao/workspaces/maven/repository/io/netty/netty-handler/4.1.113.Final/netty-handler-4.1.113.Final.jar:/Users/huchao/workspaces/maven/repository/io/netty/netty-resolver/4.1.113.Final/netty-resolver-4.1.113.Final.jar:/Users/huchao/workspaces/maven/repository/io/netty/netty-buffer/4.1.113.Final/netty-buffer-4.1.113.Final.jar:/Users/huchao/workspaces/maven/repository/io/netty/netty-transport-native-unix-common/4.1.113.Final/netty-transport-native-unix-common-4.1.113.Final.jar:/Users/huchao/workspaces/maven/repository/io/netty/netty-codec/4.1.113.Final/netty-codec-4.1.113.Final.jar:/Users/huchao/workspaces/maven/repository/io/netty/netty-transport/4.1.113.Final/netty-transport-4.1.113.Final.jar:/Users/huchao/workspaces/maven/repository/io/projectreactor/reactor-core/3.6.10/reactor-core-3.6.10.jar:/Users/huchao/workspaces/maven/repository/org/reactivestreams/reactive-streams/1.0.4/reactive-streams-1.0.4.jar:/Users/huchao/workspaces/maven/repository/org/springframework/data/spring-data-redis/3.2.10/spring-data-redis-3.2.10.jar:/Users/huchao/workspaces/maven/repository/org/springframework/data/spring-data-keyvalue/3.2.10/spring-data-keyvalue-3.2.10.jar:/Users/huchao/workspaces/maven/repository/org/springframework/data/spring-data-commons/3.2.10/spring-data-commons-3.2.10.jar:/Users/huchao/workspaces/maven/repository/org/springframework/spring-oxm/6.1.14/spring-oxm-6.1.14.jar:/Users/huchao/workspaces/maven/repository/org/bouncycastle/bcprov-jdk18on/1.78.1/bcprov-jdk18on-1.78.1.jar:/Users/huchao/workspaces/maven/repository/org/springblade/blade-core-secure/4.3.0/blade-core-secure-4.3.0.jar:/Users/huchao/workspaces/maven/repository/io/jsonwebtoken/jjwt-impl/0.11.2/jjwt-impl-0.11.2.jar:/Users/huchao/workspaces/maven/repository/io/jsonwebtoken/jjwt-api/0.11.2/jjwt-api-0.11.2.jar:/Users/huchao/workspaces/maven/repository/io/jsonwebtoken/jjwt-jackson/0.11.2/jjwt-jackson-0.11.2.jar:/Users/huchao/workspaces/maven/repository/org/springblade/blade-starter-cache/4.3.0/blade-starter-cache-4.3.0.jar:/Users/huchao/workspaces/maven/repository/org/springblade/blade-starter-log/4.3.0/blade-starter-log-4.3.0.jar:/Users/huchao/workspaces/maven/repository/com/baomidou/mybatis-plus/3.5.8/mybatis-plus-3.5.8.jar:/Users/huchao/workspaces/maven/repository/com/baomidou/mybatis-plus-annotation/3.5.8/mybatis-plus-annotation-3.5.8.jar:/Users/huchao/workspaces/maven/repository/com/github/jsqlparser/jsqlparser/5.0/jsqlparser-5.0.jar:/Users/huchao/workspaces/maven/repository/org/springblade/blade-starter-swagger/4.3.0/blade-starter-swagger-4.3.0.jar:/Users/huchao/workspaces/maven/repository/com/github/xiaoymin/knife4j-openapi3-jakarta-spring-boot-starter/4.5.0/knife4j-openapi3-jakarta-spring-boot-starter-4.5.0.jar:/Users/huchao/workspaces/maven/repository/com/github/xiaoymin/knife4j-core/4.5.0/knife4j-core-4.5.0.jar:/Users/huchao/workspaces/maven/repository/org/springdoc/springdoc-openapi-starter-webmvc-ui/2.3.0/springdoc-openapi-starter-webmvc-ui-2.3.0.jar:/Users/huchao/workspaces/maven/repository/org/springdoc/springdoc-openapi-starter-webmvc-api/2.3.0/springdoc-openapi-starter-webmvc-api-2.3.0.jar:/Users/huchao/workspaces/maven/repository/org/springdoc/springdoc-openapi-starter-common/2.3.0/springdoc-openapi-starter-common-2.3.0.jar:/Users/huchao/workspaces/maven/repository/io/swagger/core/v3/swagger-core-jakarta/2.2.19/swagger-core-jakarta-2.2.19.jar:/Users/huchao/workspaces/maven/repository/io/swagger/core/v3/swagger-models-jakarta/2.2.19/swagger-models-jakarta-2.2.19.jar:/Users/huchao/workspaces/maven/repository/com/fasterxml/jackson/dataformat/jackson-dataformat-yaml/2.15.4/jackson-dataformat-yaml-2.15.4.jar:/Users/huchao/workspaces/maven/repository/org/webjars/swagger-ui/5.10.3/swagger-ui-5.10.3.jar:/Users/huchao/workspaces/maven/repository/org/springblade/blade-starter-tenant/4.3.0/blade-starter-tenant-4.3.0.jar:/Users/huchao/workspaces/maven/repository/org/springblade/blade-starter-mybatis/4.3.0/blade-starter-mybatis-4.3.0.jar:/Users/huchao/workspaces/maven/repository/org/mybatis/mybatis/3.5.16/mybatis-3.5.16.jar:/Users/huchao/workspaces/maven/repository/org/mybatis/mybatis-spring/3.0.4/mybatis-spring-3.0.4.jar:/Users/huchao/workspaces/maven/repository/com/baomidou/mybatis-plus-spring-boot3-starter/3.5.8/mybatis-plus-spring-boot3-starter-3.5.8.jar:/Users/huchao/workspaces/maven/repository/com/baomidou/mybatis-plus-spring-boot-autoconfigure/3.5.8/mybatis-plus-spring-boot-autoconfigure-3.5.8.jar:/Users/huchao/workspaces/maven/repository/org/springframework/boot/spring-boot-autoconfigure/3.2.10/spring-boot-autoconfigure-3.2.10.jar:/Users/huchao/workspaces/maven/repository/org/mybatis/mybatis-typehandlers-jsr310/1.0.2/mybatis-typehandlers-jsr310-1.0.2.jar:/Users/huchao/workspaces/maven/repository/net/sf/ehcache/ehcache/2.10.5/ehcache-2.10.5.jar:/Users/huchao/workspaces/maven/repository/com/alibaba/druid-spring-boot-3-starter/1.2.23/druid-spring-boot-3-starter-1.2.23.jar:/Users/huchao/workspaces/maven/repository/com/alibaba/druid/1.2.23/druid-1.2.23.jar:/Users/huchao/workspaces/maven/repository/com/mysql/mysql-connector-j/8.3.0/mysql-connector-j-8.3.0.jar:/Users/huchao/workspaces/maven/repository/com/google/protobuf/protobuf-java/3.25.1/protobuf-java-3.25.1.jar:/Users/huchao/workspaces/maven/repository/org/springframework/boot/spring-boot-starter-aop/3.2.10/spring-boot-starter-aop-3.2.10.jar:/Users/huchao/workspaces/maven/repository/org/springframework/spring-aop/6.1.14/spring-aop-6.1.14.jar:/Users/huchao/workspaces/maven/repository/org/aspectj/aspectjweaver/1.9.22.1/aspectjweaver-1.9.22.1.jar:/Users/huchao/workspaces/maven/repository/org/springframework/boot/spring-boot-starter-actuator/3.2.10/spring-boot-starter-actuator-3.2.10.jar:/Users/huchao/workspaces/maven/repository/org/springframework/boot/spring-boot-actuator-autoconfigure/3.2.10/spring-boot-actuator-autoconfigure-3.2.10.jar:/Users/huchao/workspaces/maven/repository/org/springframework/boot/spring-boot-actuator/3.2.10/spring-boot-actuator-3.2.10.jar:/Users/huchao/workspaces/maven/repository/io/micrometer/micrometer-observation/1.12.10/micrometer-observation-1.12.10.jar:/Users/huchao/workspaces/maven/repository/io/micrometer/micrometer-commons/1.12.10/micrometer-commons-1.12.10.jar:/Users/huchao/workspaces/maven/repository/io/micrometer/micrometer-jakarta9/1.12.10/micrometer-jakarta9-1.12.10.jar:/Users/huchao/workspaces/maven/repository/io/micrometer/micrometer-core/1.12.10/micrometer-core-1.12.10.jar:/Users/huchao/workspaces/maven/repository/org/hdrhistogram/HdrHistogram/2.1.12/HdrHistogram-2.1.12.jar:/Users/huchao/workspaces/maven/repository/org/latencyutils/LatencyUtils/2.0.3/LatencyUtils-2.0.3.jar:/Users/huchao/workspaces/maven/repository/org/springframework/retry/spring-retry/2.0.9/spring-retry-2.0.9.jar:/Users/huchao/workspaces/maven/repository/org/hibernate/validator/hibernate-validator/8.0.1.Final/hibernate-validator-8.0.1.Final.jar:/Users/huchao/workspaces/maven/repository/jakarta/validation/jakarta.validation-api/3.0.2/jakarta.validation-api-3.0.2.jar:/Users/huchao/workspaces/maven/repository/org/jboss/logging/jboss-logging/3.5.3.Final/jboss-logging-3.5.3.Final.jar:/Users/huchao/workspaces/maven/repository/com/fasterxml/classmate/1.6.0/classmate-1.6.0.jar:/Users/huchao/workspaces/maven/repository/org/springblade/blade-starter-develop/4.3.0/blade-starter-develop-4.3.0.jar:/Users/huchao/workspaces/maven/repository/com/baomidou/mybatis-plus-generator/3.5.8/mybatis-plus-generator-3.5.8.jar:/Users/huchao/workspaces/maven/repository/com/baomidou/mybatis-plus-extension/3.5.8/mybatis-plus-extension-3.5.8.jar:/Users/huchao/workspaces/maven/repository/com/baomidou/mybatis-plus-core/3.5.8/mybatis-plus-core-3.5.8.jar:/Users/huchao/workspaces/maven/repository/org/apache/velocity/velocity/1.7/velocity-1.7.jar:/Users/huchao/workspaces/maven/repository/commons-collections/commons-collections/3.2.1/commons-collections-3.2.1.jar:/Users/huchao/workspaces/maven/repository/commons-lang/commons-lang/2.4/commons-lang-2.4.jar:/Users/huchao/workspaces/maven/repository/org/springblade/blade-starter-oss/4.3.0/blade-starter-oss-4.3.0.jar:/Users/huchao/workspaces/maven/repository/com/aliyun/oss/aliyun-sdk-oss/3.14.0/aliyun-sdk-oss-3.14.0.jar:/Users/huchao/workspaces/maven/repository/org/jdom/jdom2/2.0.6.1/jdom2-2.0.6.1.jar:/Users/huchao/workspaces/maven/repository/org/codehaus/jettison/jettison/1.1/jettison-1.1.jar:/Users/huchao/workspaces/maven/repository/stax/stax-api/1.0.1/stax-api-1.0.1.jar:/Users/huchao/workspaces/maven/repository/com/aliyun/aliyun-java-sdk-core/4.5.30/aliyun-java-sdk-core-4.5.30.jar:/Users/huchao/workspaces/maven/repository/org/glassfish/jaxb/jaxb-runtime/4.0.5/jaxb-runtime-4.0.5.jar:/Users/huchao/workspaces/maven/repository/org/glassfish/jaxb/jaxb-core/4.0.5/jaxb-core-4.0.5.jar:/Users/huchao/workspaces/maven/repository/org/glassfish/jaxb/txw2/4.0.5/txw2-4.0.5.jar:/Users/huchao/workspaces/maven/repository/com/sun/istack/istack-commons-runtime/4.1.2/istack-commons-runtime-4.1.2.jar:/Users/huchao/workspaces/maven/repository/org/jacoco/org.jacoco.agent/0.8.7/org.jacoco.agent-0.8.7-runtime.jar:/Users/huchao/workspaces/maven/repository/org/ini4j/ini4j/0.5.4/ini4j-0.5.4.jar:/Users/huchao/workspaces/maven/repository/io/opentracing/opentracing-api/0.33.0/opentracing-api-0.33.0.jar:/Users/huchao/workspaces/maven/repository/io/opentracing/opentracing-util/0.33.0/opentracing-util-0.33.0.jar:/Users/huchao/workspaces/maven/repository/io/opentracing/opentracing-noop/0.33.0/opentracing-noop-0.33.0.jar:/Users/huchao/workspaces/maven/repository/com/aliyun/aliyun-java-sdk-ram/3.1.0/aliyun-java-sdk-ram-3.1.0.jar:/Users/huchao/workspaces/maven/repository/com/aliyun/aliyun-java-sdk-kms/2.11.0/aliyun-java-sdk-kms-2.11.0.jar:/Users/huchao/workspaces/maven/repository/io/minio/minio/8.3.7/minio-8.3.7.jar:/Users/huchao/workspaces/maven/repository/com/carrotsearch/thirdparty/simple-xml-safe/2.7.1/simple-xml-safe-2.7.1.jar:/Users/huchao/workspaces/maven/repository/com/fasterxml/jackson/core/jackson-annotations/2.15.4/jackson-annotations-2.15.4.jar:/Users/huchao/workspaces/maven/repository/com/fasterxml/jackson/core/jackson-core/2.15.4/jackson-core-2.15.4.jar:/Users/huchao/workspaces/maven/repository/com/fasterxml/jackson/core/jackson-databind/2.15.4/jackson-databind-2.15.4.jar:/Users/huchao/workspaces/maven/repository/org/bouncycastle/bcprov-jdk15on/1.69/bcprov-jdk15on-1.69.jar:/Users/huchao/workspaces/maven/repository/org/xerial/snappy/snappy-java/1.1.8.4/snappy-java-1.1.8.4.jar:/Users/huchao/workspaces/maven/repository/com/qiniu/qiniu-java-sdk/7.9.4/qiniu-java-sdk-7.9.4.jar:/Users/huchao/workspaces/maven/repository/com/google/code/gson/gson/2.10.1/gson-2.10.1.jar:/Users/huchao/workspaces/maven/repository/org/springblade/blade-starter-report/4.3.0/blade-starter-report-4.3.0.jar:/Users/huchao/workspaces/maven/repository/com/bstek/ureport/ureport2-console/2.2.9/ureport2-console-2.2.9.jar:/Users/huchao/workspaces/maven/repository/com/bstek/ureport/ureport2-font/2.0.1/ureport2-font-2.0.1.jar:/Users/huchao/workspaces/maven/repository/com/bstek/ureport/ureport2-core/2.2.9/ureport2-core-2.2.9.jar:/Users/huchao/workspaces/maven/repository/org/apache/commons/commons-lang3/3.13.0/commons-lang3-3.13.0.jar:/Users/huchao/workspaces/maven/repository/commons-beanutils/commons-beanutils-core/1.8.3/commons-beanutils-core-1.8.3.jar:/Users/huchao/workspaces/maven/repository/org/antlr/antlr4-runtime/4.9.2/antlr4-runtime-4.9.2.jar:/Users/huchao/workspaces/maven/repository/dom4j/dom4j/1.6.1/dom4j-1.6.1.jar:/Users/huchao/workspaces/maven/repository/xml-apis/xml-apis/1.0.b2/xml-apis-1.0.b2.jar:/Users/huchao/workspaces/maven/repository/org/springframework/spring-web/6.1.14/spring-web-6.1.14.jar:/Users/huchao/workspaces/maven/repository/com/itextpdf/itextpdf/5.5.13/itextpdf-5.5.13.jar:/Users/huchao/workspaces/maven/repository/com/google/zxing/core/3.3.1/core-3.3.1.jar:/Users/huchao/workspaces/maven/repository/org/codehaus/jackson/jackson-mapper-asl/1.9.11/jackson-mapper-asl-1.9.11.jar:/Users/huchao/workspaces/maven/repository/org/codehaus/jackson/jackson-core-asl/1.9.11/jackson-core-asl-1.9.11.jar:/Users/huchao/workspaces/maven/repository/commons-io/commons-io/2.5/commons-io-2.5.jar:/Users/huchao/workspaces/maven/repository/org/springblade/blade-starter-social/4.3.0/blade-starter-social-4.3.0.jar:/Users/huchao/workspaces/maven/repository/me/zhyd/oauth/JustAuth/1.16.6/JustAuth-1.16.6.jar:/Users/huchao/workspaces/maven/repository/com/xkcoding/http/simple-http/1.0.5/simple-http-1.0.5.jar:/Users/huchao/workspaces/maven/repository/com/alibaba/fastjson/2.0.47/fastjson-2.0.47.jar:/Users/huchao/workspaces/maven/repository/com/alibaba/fastjson2/fastjson2-extension/2.0.47/fastjson2-extension-2.0.47.jar:/Users/huchao/workspaces/maven/repository/com/alibaba/fastjson2/fastjson2/2.0.47/fastjson2-2.0.47.jar:/Users/huchao/workspaces/maven/repository/org/apache/httpcomponents/httpclient/4.5.14/httpclient-4.5.14.jar:/Users/huchao/workspaces/maven/repository/org/apache/httpcomponents/httpcore/4.4.16/httpcore-4.4.16.jar:/Users/huchao/workspaces/maven/repository/commons-logging/commons-logging/1.2/commons-logging-1.2.jar:/Users/huchao/workspaces/maven/repository/org/springblade/blade-starter-datascope/4.3.0/blade-starter-datascope-4.3.0.jar:/Users/huchao/workspaces/maven/repository/com/github/xiaoymin/knife4j-openapi3-ui/4.5.0/knife4j-openapi3-ui-4.5.0.jar:/Users/huchao/workspaces/maven/repository/com/github/whvcse/easy-captcha/1.6.2/easy-captcha-1.6.2.jar:/Users/huchao/workspaces/maven/repository/com/alibaba/easyexcel/3.3.4/easyexcel-3.3.4.jar:/Users/huchao/workspaces/maven/repository/com/alibaba/easyexcel-core/3.3.4/easyexcel-core-3.3.4.jar:/Users/huchao/workspaces/maven/repository/com/alibaba/easyexcel-support/3.3.4/easyexcel-support-3.3.4.jar:/Users/huchao/workspaces/maven/repository/org/apache/commons/commons-csv/1.8/commons-csv-1.8.jar:/Users/huchao/workspaces/maven/repository/org/ehcache/ehcache/3.10.8/ehcache-3.10.8.jar:/Users/huchao/workspaces/maven/repository/javax/cache/cache-api/1.1.1/cache-api-1.1.1.jar:/Users/huchao/workspaces/maven/repository/org/slf4j/slf4j-api/2.0.16/slf4j-api-2.0.16.jar:/Users/huchao/workspaces/maven/repository/org/apache/poi/poi/4.1.2/poi-4.1.2.jar:/Users/huchao/workspaces/maven/repository/commons-codec/commons-codec/1.16.1/commons-codec-1.16.1.jar:/Users/huchao/workspaces/maven/repository/org/apache/commons/commons-collections4/4.4/commons-collections4-4.4.jar:/Users/huchao/workspaces/maven/repository/org/apache/commons/commons-math3/3.6.1/commons-math3-3.6.1.jar:/Users/huchao/workspaces/maven/repository/com/zaxxer/SparseBitSet/1.2/SparseBitSet-1.2.jar:/Users/huchao/workspaces/maven/repository/org/apache/poi/poi-ooxml/4.1.2/poi-ooxml-4.1.2.jar:/Users/huchao/workspaces/maven/repository/org/apache/commons/commons-compress/1.19/commons-compress-1.19.jar:/Users/huchao/workspaces/maven/repository/com/github/virtuald/curvesapi/1.06/curvesapi-1.06.jar:/Users/huchao/workspaces/maven/repository/org/apache/poi/poi-ooxml-schemas/4.1.2/poi-ooxml-schemas-4.1.2.jar:/Users/huchao/workspaces/maven/repository/org/apache/xmlbeans/xmlbeans/3.1.0/xmlbeans-3.1.0.jar:/Users/huchao/workspaces/maven/repository/org/apache/poi/poi-scratchpad/4.1.2/poi-scratchpad-4.1.2.jar:/Users/huchao/workspaces/maven/repository/org/apache/poi/ooxml-schemas/1.4/ooxml-schemas-1.4.jar:/Users/huchao/workspaces/maven/repository/org/projectlombok/lombok/1.18.34/lombok-1.18.34.jar:/Users/huchao/workspaces/maven/repository/jakarta/xml/bind/jakarta.xml.bind-api/4.0.2/jakarta.xml.bind-api-4.0.2.jar:/Users/huchao/workspaces/maven/repository/jakarta/activation/jakarta.activation-api/2.1.3/jakarta.activation-api-2.1.3.jar:/Users/huchao/workspaces/maven/repository/org/springframework/spring-core/6.1.14/spring-core-6.1.14.jar:/Users/huchao/workspaces/maven/repository/org/springframework/spring-jcl/6.1.14/spring-jcl-6.1.14.jar:/Applications/IntelliJ IDEA.app/Contents/lib/idea_rt.jar org.springblade.Application


Connected to the target VM, address: '127.0.0.1:62988', transport: 'socket'


Standard Commons Logging discovery in action with spring-jcl: please remove commons-logging.jar from classpath in order to avoid potential conflicts


----启动中,读取到的环境变量:[dev],jar地址:[/Users/huchao/IdeaProjects/blade/boot/SpringBlade/target/classes/]----


 _____               _                 ______  _             _


/  ___|             (_)                | ___ \| |           | |


\ `--.  _ __   _ __  _  _ __    __ _   | |_/ /| |  __ _   __| |  ___


 `--. \| '_ \ | '__|| || '_ \  / _` |  | ___ \| | / _` | / _` | / _ \


/\__/ /| |_) || |   | || | | || (_| |  | |_/ /| || (_| || (_| ||  __/


\____/ | .__/ |_|   |_||_| |_| \__, |  \____/ |_| \__,_| \__,_| \___|


       | |                      __/ |


       |_|                     |___/




:: SpringBlade :: blade-api:dev :: Running SpringBoot 3.2.10 :: 




2024-12-18 22:44:41.981  INFO 30028 --- [kground-preinit] o.h.validator.internal.util.Version      : HV000001: Hibernate Validator 8.0.1.Final


2024-12-18 22:44:42.051  INFO 30028 --- [           main] org.springblade.Application              : Starting Application using Java 17.0.12 with PID 30028 (/Users/huchao/IdeaProjects/blade/boot/SpringBlade/target/classes started by huchao in /Users/huchao/IdeaProjects/blade/boot/SpringBlade)


2024-12-18 22:44:42.052 DEBUG 30028 --- [           main] org.springblade.Application              : Running with Spring Boot v3.2.10, Spring v6.1.14


2024-12-18 22:44:42.052  INFO 30028 --- [           main] org.springblade.Application              : The following 1 profile is active: "dev"


2024-12-18 22:44:43.485  INFO 30028 --- [           main] .s.d.r.c.RepositoryConfigurationDelegate : Multiple Spring Data modules found, entering strict repository configuration mode


2024-12-18 22:44:43.488  INFO 30028 --- [           main] .s.d.r.c.RepositoryConfigurationDelegate : Bootstrapping Spring Data Redis repositories in DEFAULT mode.


2024-12-18 22:44:43.565  INFO 30028 --- [           main] .s.d.r.c.RepositoryConfigurationDelegate : Finished Spring Data repository scanning in 62 ms. Found 0 Redis repository interfaces.


2024-12-18 22:44:43.668  WARN 30028 --- [           main] o.m.s.mapper.ClassPathMapperScanner      : No MyBatis mapper was found in '[org.springblade]' package. Please check your configuration.


2024-12-18 22:44:43.799  INFO 30028 --- [           main] s.c.l.p.BladePropertySourcePostProcessor : BladePropertySourcePostProcessor init.


2024-12-18 22:44:43.850  INFO 30028 --- [           main] s.c.l.p.BladePropertySourcePostProcessor : BladePropertySourcePostProcessor process @BladePropertySource bean.


2024-12-18 22:44:44.642  WARN 30028 --- [           main] io.undertow.websockets.jsr               : UT026010: Buffer pool was not set on WebSocketDeploymentInfo, the default pool will be used


2024-12-18 22:44:44.662  INFO 30028 --- [           main] io.undertow.servlet                      : Initializing Spring embedded WebApplicationContext


2024-12-18 22:44:44.663  INFO 30028 --- [           main] w.s.c.ServletWebServerApplicationContext : Root WebApplicationContext: initialization completed in 2570 ms


2024-12-18 22:44:45.433  INFO 30028 --- [           main] c.a.d.s.b.a.DruidDataSourceAutoConfigure : Init DruidDataSource


2024-12-18 22:44:45.536  INFO 30028 --- [           main] com.alibaba.druid.pool.DruidDataSource   : {dataSource-1} inited


2024-12-18 22:44:48.758  INFO 30028 --- [           main] o.s.core.boot.config.RetryConfiguration  : configServerRetryInterceptor: Changing backOffOptions to initial: 1000, multiplier: 1.2, maxInterval: 5000


2024-12-18 22:44:48.785  INFO 30028 --- [           main] o.s.core.log.logger.BladeLogger          : blade-api: BladeLogger init success!


2024-12-18 22:44:49.777  INFO 30028 --- [           main] o.s.b.a.e.web.EndpointLinksResolver      : Exposing 1 endpoint(s) beneath base path '/actuator'


2024-12-18 22:44:49.907  INFO 30028 --- [           main] io.undertow                              : starting server: Undertow - 2.3.17.Final


2024-12-18 22:44:49.916  INFO 30028 --- [           main] org.xnio                                 : XNIO version 3.8.16.Final


2024-12-18 22:44:49.927  INFO 30028 --- [           main] org.xnio.nio                             : XNIO NIO Implementation Version 3.8.16.Final


2024-12-18 22:44:49.959  INFO 30028 --- [           main] org.jboss.threads                        : JBoss Threads version 3.5.0.Final


2024-12-18 22:44:50.012  INFO 30028 --- [           main] o.s.b.w.e.undertow.UndertowWebServer     : Undertow started on port 80 (http)


2024-12-18 22:44:50.017  INFO 30028 --- [sync-executor-1] o.s.core.launch.StartEventListener       : ---[BLADE-API]---启动完成,当前使用的端口:[80],环境变量:[dev]---




五、若有更多详细信息,请在下面提供。


2条回答
提交回复