请稍等 ...
×

采纳答案成功!

向帮助你的同学说点啥吧!感谢那些助人为乐的人

项目启动报错

PS D:\SpringBoot_Vue3_OfficeSystem_Soft\emos\emos-wx-api> java -jar emos-wx-api.jar --spring.config.location=application.yml
18:50:38.253 [main] DEBUG org.springframework.boot.context.logging.ClasspathLoggingApplicationListener - Application failed to start with classpath: [jar:file:/D:/SpringBoot_Vue3_OfficeSystem_Soft/emos/emos-wx-api/emos-wx-api.jar!/BOOT-INF/classes!/, jar:file:/D:/SpringBoot_Vue3_OfficeSystem_Soft/emos/emos-wx-api/emos-wx-api.jar!/BOOT-INF/lib/spring-boot-starter-amqp-2.3.4.RELEASE.jar!/, jar:file:/D:/SpringBoot_Vue3_OfficeSystem_Soft/emos/emos-wx-api/emos-wx-api.jar!/BOOT-INF/lib/spring-boot-starter-2.3.4.RELEASE.jar!/, jar:file:/D:/SpringBoot_Vue3_OfficeSystem_Soft/emos/emos-wx-api/emos-wx-api.jar!/BOOT-INF/lib/spring-boot-starter-logging-2.3.4.RELEASE.jar!/, jar:file:/D:/SpringBoot_Vue3_OfficeSystem_Soft/emos/emos-wx-api/emos-wx-api.jar!/BOOT-INF/lib/logback-classic-1.2.3.jar!/, jar:file:/D:/SpringBoot_Vue3_OfficeSystem_Soft/emos/emos-wx-api/emos-wx-api.jar!/BOOT-INF/lib/logback-core-1.2.3.jar!/, jar:file:/D:/SpringBoot_Vue3_OfficeSystem_Soft/emos/emos-wx-api/emos-wx-api.jar!/BOOT-INF/lib/log4j-to-slf4j-2.13.3.jar!/, jar:file:/D:/SpringBoot_Vue3_OfficeSystem_Soft/emos/emos-wx-api/emos-wx-api.jar!/BOOT-INF/lib/log4j-api-2.13.3.jar!/, jar:file:/D:/SpringBoot_Vue3_OfficeSystem_Soft/emos/emos-wx-api/emos-wx-api.jar!/BOOT-INF/lib/jul-to-slf4j-1.7.30.jar!/, jar:file:/D:/SpringBoot_Vue3_OfficeSystem_Soft/emos/emos-wx-api/emos-wx-api.jar!/BOOT-INF/lib/jakarta.annotation-api-1.3.5.jar!/, jar:file:/D:/SpringBoot_Vue3_OfficeSystem_Soft/emos/emos-wx-api/emos-wx-api.jar!/BOOT-INF/lib/snakeyaml-1.26.jar!/, jar:file:/D:/SpringBoot_Vue3_OfficeSystem_Soft/emos/emos-wx-api/emos-wx-api.jar!/BOOT-INF/lib/spring-messaging-5.2.9.RELEASE.jar!/, jar:file:/D:/SpringBoot_Vue3_OfficeSystem_Soft/emos/emos-wx-api/emos-wx-api.jar!/BOOT-INF/lib/spring-beans-5.2.9.RELEASE.jar!/, jar:file:/D:/SpringBoot_Vue3_OfficeSystem_Soft/emos/emos-wx-api/emos-wx-api.jar!/BOOT-INF/lib/spring-rabbit-2.2.11.RELEASE.jar!/, jar:file:/D:/SpringBoot_Vue3_OfficeSystem_Soft/emos/emos-wx-api/emos-wx-api.jar!/BOOT-INF/lib/spring-amqp-2.2.11.RELEASE.jar!/, jar:file:/D:/SpringBoot_Vue3_OfficeSystem_Soft/emos/emos-wx-api/emos-wx-api.jar!/BOOT-INF/lib/spring-retry-1.2.5.RELEASE.jar!/, jar:file:/D:/SpringBoot_Vue3_OfficeSystem_Soft/emos/emos-wx-api/emos-wx-api.jar!/BOOT-INF/lib/spring-context-5.2.9.RELEASE.jar!/, jar:file:/D:/SpringBoot_Vue3_OfficeSystem_Soft/emos/emos-wx-api/emos-wx-api.jar!/BOOT-INF/lib/spring-boot-starter-data-mongodb-2.3.4.RELEASE.jar!/, jar:file:/D:/SpringBoot_Vue3_OfficeSystem_Soft/emos/emos-wx-api/emos-wx-api.jar!/BOOT-INF/lib/mongodb-driver-sync-4.0.5.jar!/, jar:file:/D:/SpringBoot_Vue3_OfficeSystem_Soft/emos/emos-wx-api/emos-wx-api.jar!/BOOT-INF/lib/bson-4.0.5.jar!/, jar:file:/D:/SpringBoot_Vue3_OfficeSystem_Soft/emos/emos-wx-api/emos-wx-api.jar!/BOOT-INF/lib/mongodb-driver-core-4.0.5.jar!/, jar:file:/D:/SpringBoot_Vue3_OfficeSystem_Soft/emos/emos-wx-api/emos-wx-api.jar!/BOOT-INF/lib/spring-data-mongodb-3.0.4.RELEASE.jar!/, jar:file:/D:/SpringBoot_Vue3_OfficeSystem_Soft/emos/emos-wx-api/emos-wx-api.jar!/BOOT-INF/lib/spring-expression-5.2.9.RELEASE.jar!/, jar:file:/D:/SpringBoot_Vue3_OfficeSystem_Soft/emos/emos-wx-api/emos-wx-api.jar!/BOOT-INF/lib/spring-data-commons-2.3.4.RELEASE.jar!/, jar:file:/D:/SpringBoot_Vue3_OfficeSystem_Soft/emos/emos-wx-api/emos-wx-api.jar!/BOOT-INF/lib/spring-boot-starter-data-redis-2.3.4.RELEASE.jar!/, jar:file:/D:/SpringBoot_Vue3_OfficeSystem_Soft/emos/emos-wx-api/emos-wx-api.jar!/BOOT-INF/lib/spring-data-redis-2.3.4.RELEASE.jar!/, jar:file:/D:/SpringBoot_Vue3_OfficeSystem_Soft/emos/emos-wx-api/emos-wx-api.jar!/BOOT-INF/lib/spring-data-keyvalue-2.3.4.RELEASE.jar!/, jar:file:/D:/SpringBoot_Vue3_OfficeSystem_Soft/emos/emos-wx-api/emos-wx-api.jar!/BOOT-INF/lib/spring-oxm-5.2.9.RELEASE.jar!/, jar:file:/D:/SpringBoot_Vue3_OfficeSystem_Soft/emos/emos-wx-api/emos-wx-api.jar!/BOOT-INF/lib/lettuce-core-5.3.4.RELEASE.jar!/, jar:file:/D:/SpringBoot_Vue3_OfficeSystem_Soft/emos/emos-wx-api/emos-wx-api.jar!/BOOT-INF/lib/netty-common-4.1.52.Final.jar!/, jar:file:/D:/SpringBoot_Vue3_OfficeSystem_Soft/emos/emos-wx-api/emos-wx-api.jar!/BOOT-INF/lib/netty-handler-4.1.52.Final.jar!/, jar:file:/D:/SpringBoot_Vue3_OfficeSystem_Soft/emos/emos-wx-api/emos-wx-api.jar!/BOOT-INF/lib/netty-resolver-4.1.52.Final.jar!/, jar:file:/D:/SpringBoot_Vue3_OfficeSystem_Soft/emos/emos-wx-api/emos-wx-api.jar!/BOOT-INF/lib/netty-buffer-4.1.52.Final.jar!/, jar:file:/D:/SpringBoot_Vue3_OfficeSystem_Soft/emos/emos-wx-api/emos-wx-api.jar!/BOOT-INF/lib/netty-codec-4.1.52.Final.jar!/, jar:file:/D:/SpringBoot_Vue3_OfficeSystem_Soft/emos/emos-wx-api/emos-wx-api.jar!/BOOT-INF/lib/netty-transport-4.1.52.Final.jar!/, jar:file:/D:/SpringBoot_Vue3_OfficeSystem_Soft/emos/emos-wx-api/emos-wx-api.jar!/BOOT-INF/lib/reactor-core-3.3.10.RELEASE.jar!/, jar:file:/D:/SpringBoot_Vue3_OfficeSystem_Soft/emos/emos-wx-api/emos-wx-api.jar!/BOOT-INF/lib/reactive-streams-1.0.3.jar!/, jar:file:/D:/SpringBoot_Vue3_OfficeSystem_Soft/emos/emos-wx-api/emos-wx-api.jar!/BOOT-INF/lib/spring-boot-starter-mail-2.3.4.RELEASE.jar!/, jar:file:/D:/SpringBoot_Vue3_OfficeSystem_Soft/emos/emos-wx-api/emos-wx-api.jar!/BOOT-INF/lib/spring-context-support-5.2.9.RELEASE.jar!/, jar:file:/D:/SpringBoot_Vue3_OfficeSystem_Soft/emos/emos-wx-api/emos-wx-api.jar!/BOOT-INF/lib/jakarta.mail-1.6.5.jar!/, jar:file:/D:/SpringBoot_Vue3_OfficeSystem_Soft/emos/emos-wx-api/emos-wx-api.jar!/BOOT-INF/lib/jakarta.activation-1.2.2.jar!/, jar:file:/D:/SpringBoot_Vue3_OfficeSystem_Soft/emos/emos-wx-api/emos-wx-api.jar!/BOOT-INF/lib/spring-boot-starter-quartz-2.3.4.RELEASE.jar!/, jar:file:/D:/SpringBoot_Vue3_OfficeSystem_Soft/emos/emos-wx-api/emos-wx-api.jar!/BOOT-INF/lib/spring-tx-5.2.9.RELEASE.jar!/, jar:file:/D:/SpringBoot_Vue3_OfficeSystem_Soft/emos/emos-wx-api/emos-wx-api.jar!/BOOT-INF/lib/quartz-2.3.2.jar!/, jar:file:/D:/SpringBoot_Vue3_OfficeSystem_Soft/emos/emos-wx-api/emos-wx-api.jar!/BOOT-INF/lib/mchange-commons-java-0.2.15.jar!/, jar:file:/D:/SpringBoot_Vue3_OfficeSystem_Soft/emos/emos-wx-api/emos-wx-api.jar!/BOOT-INF/lib/spring-boot-starter-web-2.3.4.RELEASE.jar!/, jar:file:/D:/SpringBoot_Vue3_OfficeSystem_Soft/emos/emos-wx-api/emos-wx-api.jar!/BOOT-INF/lib/spring-boot-starter-json-2.3.4.RELEASE.jar!/, jar:file:/D:/SpringBoot_Vue3_OfficeSystem_Soft/emos/emos-wx-api/emos-wx-api.jar!/BOOT-INF/lib/jackson-datatype-jdk8-2.11.2.jar!/, jar:file:/D:/SpringBoot_Vue3_OfficeSystem_Soft/emos/emos-wx-api/emos-wx-api.jar!/BOOT-INF/lib/jackson-datatype-jsr310-2.11.2.jar!/, jar:file:/D:/SpringBoot_Vue3_OfficeSystem_Soft/emos/emos-wx-api/emos-wx-api.jar!/BOOT-INF/lib/jackson-module-parameter-names-2.11.2.jar!/, jar:file:/D:/SpringBoot_Vue3_OfficeSystem_Soft/emos/emos-wx-api/emos-wx-api.jar!/BOOT-INF/lib/spring-boot-starter-tomcat-2.3.4.RELEASE.jar!/, jar:file:/D:/SpringBoot_Vue3_OfficeSystem_Soft/emos/emos-wx-api/emos-wx-api.jar!/BOOT-INF/lib/tomcat-embed-core-9.0.38.jar!/, jar:file:/D:/SpringBoot_Vue3_OfficeSystem_Soft/emos/emos-wx-api/emos-wx-api.jar!/BOOT-INF/lib/tomcat-embed-websocket-9.0.38.jar!/, jar:file:/D:/SpringBoot_Vue3_OfficeSystem_Soft/emos/emos-wx-api/emos-wx-api.jar!/BOOT-INF/lib/spring-web-5.2.9.RELEASE.jar!/, jar:file:/D:/SpringBoot_Vue3_OfficeSystem_Soft/emos/emos-wx-api/emos-wx-api.jar!/BOOT-INF/lib/spring-webmvc-5.2.9.RELEASE.jar!/, jar:file:/D:/SpringBoot_Vue3_OfficeSystem_Soft/emos/emos-wx-api/emos-wx-api.jar!/BOOT-INF/lib/mybatis-spring-boot-starter-2.1.3.jar!/, jar:file:/D:/SpringBoot_Vue3_OfficeSystem_Soft/emos/emos-wx-api/emos-wx-api.jar!/BOOT-INF/lib/spring-boot-starter-jdbc-2.3.4.RELEASE.jar!/, jar:file:/D:/SpringBoot_Vue3_OfficeSystem_Soft/emos/emos-wx-api/emos-wx-api.jar!/BOOT-INF/lib/HikariCP-3.4.5.jar!/, jar:file:/D:/SpringBoot_Vue3_OfficeSystem_Soft/emos/emos-wx-api/emos-wx-api.jar!/BOOT-INF/lib/spring-jdbc-5.2.9.RELEASE.jar!/, jar:file:/D:/SpringBoot_Vue3_OfficeSystem_Soft/emos/emos-wx-api/emos-wx-api.jar!/BOOT-INF/lib/mybatis-spring-boot-autoconfigure-2.1.3.jar!/, jar:file:/D:/SpringBoot_Vue3_OfficeSystem_Soft/emos/emos-wx-api/emos-wx-api.jar!/BOOT-INF/lib/mybatis-3.5.5.jar!/, jar:file:/D:/SpringBoot_Vue3_OfficeSystem_Soft/emos/emos-wx-api/emos-wx-api.jar!/BOOT-INF/lib/mybatis-spring-2.0.5.jar!/, jar:file:/D:/SpringBoot_Vue3_OfficeSystem_Soft/emos/emos-wx-api/emos-wx-api.jar!/BOOT-INF/lib/spring-boot-2.3.4.RELEASE.jar!/, jar:file:/D:/SpringBoot_Vue3_OfficeSystem_Soft/emos/emos-wx-api/emos-wx-api.jar!/BOOT-INF/lib/spring-boot-autoconfigure-2.3.4.RELEASE.jar!/, jar:file:/D:/SpringBoot_Vue3_OfficeSystem_Soft/emos/emos-wx-api/emos-wx-api.jar!/BOOT-INF/lib/mysql-connector-java-8.0.21.jar!/, jar:file:/D:/SpringBoot_Vue3_OfficeSystem_Soft/emos/emos-wx-api/emos-wx-api.jar!/BOOT-INF/lib/lombok-1.18.14.jar!/, jar:file:/D:/SpringBoot_Vue3_OfficeSystem_Soft/emos/emos-wx-api/emos-wx-api.jar!/BOOT-INF/lib/byte-buddy-1.10.14.jar!/, jar:file:/D:/SpringBoot_Vue3_OfficeSystem_Soft/emos/emos-wx-api/emos-wx-api.jar!/BOOT-INF/lib/spring-core-5.2.9.RELEASE.jar!/, jar:file:/D:/SpringBoot_Vue3_OfficeSystem_Soft/emos/emos-wx-api/emos-wx-api.jar!/BOOT-INF/lib/spring-jcl-5.2.9.RELEASE.jar!/, jar:file:/D:/SpringBoot_Vue3_OfficeSystem_Soft/emos/emos-wx-api/emos-wx-api.jar!/BOOT-INF/lib/druid-spring-boot-starter-1.1.13.jar!/, jar:file:/D:/SpringBoot_Vue3_OfficeSystem_Soft/emos/emos-wx-api/emos-wx-api.jar!/BOOT-INF/lib/druid-1.1.13.jar!/, jar:file:/D:/SpringBoot_Vue3_OfficeSystem_Soft/emos/emos-wx-api/emos-wx-api.jar!/BOOT-INF/lib/slf4j-api-1.7.30.jar!/, jar:file:/D:/SpringBoot_Vue3_OfficeSystem_Soft/emos/emos-wx-api/emos-wx-api.jar!/BOOT-INF/lib/httpcore-4.4.13.jar!/, jar:file:/D:/SpringBoot_Vue3_OfficeSystem_Soft/emos/emos-wx-api/emos-wx-api.jar!/BOOT-INF/lib/springfox-swagger2-2.9.2.jar!/, jar:file:/D:/SpringBoot_Vue3_OfficeSystem_Soft/emos/emos-wx-api/emos-wx-api.jar!/BOOT-INF/lib/swagger-annotations-1.5.20.jar!/, jar:file:/D:/SpringBoot_Vue3_OfficeSystem_Soft/emos/emos-wx-api/emos-wx-api.jar!/BOOT-INF/lib/swagger-models-1.5.20.jar!/, jar:file:/D:/SpringBoot_Vue3_OfficeSystem_Soft/emos/emos-wx-api/emos-wx-api.jar!/BOOT-INF/lib/jackson-annotations-2.11.2.jar!/, jar:file:/D:/SpringBoot_Vue3_OfficeSystem_Soft/emos/emos-wx-api/emos-wx-api.jar!/BOOT-INF/lib/springfox-spi-2.9.2.jar!/, jar:file:/D:/SpringBoot_Vue3_OfficeSystem_Soft/emos/emos-wx-api/emos-wx-api.jar!/BOOT-INF/lib/springfox-core-2.9.2.jar!/, jar:file:/D:/SpringBoot_Vue3_OfficeSystem_Soft/emos/emos-wx-api/emos-wx-api.jar!/BOOT-INF/lib/springfox-schema-2.9.2.jar!/, jar:file:/D:/SpringBoot_Vue3_OfficeSystem_Soft/emos/emos-wx-api/emos-wx-api.jar!/BOOT-INF/lib/springfox-swagger-common-2.9.2.jar!/, jar:file:/D:/SpringBoot_Vue3_OfficeSystem_Soft/emos/emos-wx-api/emos-wx-api.jar!/BOOT-INF/lib/springfox-spring-web-2.9.2.jar!/, jar:file:/D:/SpringBoot_Vue3_OfficeSystem_Soft/emos/emos-wx-api/emos-wx-api.jar!/BOOT-INF/lib/guava-20.0.jar!/, jar:file:/D:/SpringBoot_Vue3_OfficeSystem_Soft/emos/emos-wx-api/emos-wx-api.jar!/BOOT-INF/lib/classmate-1.5.1.jar!/, jar:file:/D:/SpringBoot_Vue3_OfficeSystem_Soft/emos/emos-wx-api/emos-wx-api.jar!/BOOT-INF/lib/spring-plugin-core-1.2.0.RELEASE.jar!/, jar:file:/D:/SpringBoot_Vue3_OfficeSystem_Soft/emos/emos-wx-api/emos-wx-api.jar!/BOOT-INF/lib/spring-plugin-metadata-1.2.0.RELEASE.jar!/, jar:file:/D:/SpringBoot_Vue3_OfficeSystem_Soft/emos/emos-wx-api/emos-wx-api.jar!/BOOT-INF/lib/mapstruct-1.2.0.Final.jar!/, jar:file:/D:/SpringBoot_Vue3_OfficeSystem_Soft/emos/emos-wx-api/emos-wx-api.jar!/BOOT-INF/lib/springfox-swagger-ui-2.9.2.jar!/, jar:file:/D:/SpringBoot_Vue3_OfficeSystem_Soft/emos/emos-wx-api/emos-wx-api.jar!/BOOT-INF/lib/spring-boot-starter-validation-2.3.4.RELEASE.jar!/, jar:file:/D:/SpringBoot_Vue3_OfficeSystem_Soft/emos/emos-wx-api/emos-wx-api.jar!/BOOT-INF/lib/jakarta.el-3.0.3.jar!/, jar:file:/D:/SpringBoot_Vue3_OfficeSystem_Soft/emos/emos-wx-api/emos-wx-api.jar!/BOOT-INF/lib/hibernate-validator-6.1.5.Final.jar!/, jar:file:/D:/SpringBoot_Vue3_OfficeSystem_Soft/emos/emos-wx-api/emos-wx-api.jar!/BOOT-INF/lib/jakarta.validation-api-2.0.2.jar!/, jar:file:/D:/SpringBoot_Vue3_OfficeSystem_Soft/emos/emos-wx-api/emos-wx-api.jar!/BOOT-INF/lib/jboss-logging-3.4.1.Final.jar!/, jar:file:/D:/SpringBoot_Vue3_OfficeSystem_Soft/emos/emos-wx-api/emos-wx-api.jar!/BOOT-INF/lib/hutool-all-5.4.0.jar!/, jar:file:/D:/SpringBoot_Vue3_OfficeSystem_Soft/emos/emos-wx-api/emos-wx-api.jar!/BOOT-INF/lib/shiro-web-1.5.3.jar!/, jar:file:/D:/SpringBoot_Vue3_OfficeSystem_Soft/emos/emos-wx-api/emos-wx-api.jar!/BOOT-INF/lib/shiro-core-1.5.3.jar!/, jar:file:/D:/SpringBoot_Vue3_OfficeSystem_Soft/emos/emos-wx-api/emos-wx-api.jar!/BOOT-INF/lib/shiro-lang-1.5.3.jar!/, jar:file:/D:/SpringBoot_Vue3_OfficeSystem_Soft/emos/emos-wx-api/emos-wx-api.jar!/BOOT-INF/lib/shiro-cache-1.5.3.jar!/, jar:file:/D:/SpringBoot_Vue3_OfficeSystem_Soft/emos/emos-wx-api/emos-wx-api.jar!/BOOT-INF/lib/shiro-crypto-hash-1.5.3.jar!/, jar:file:/D:/SpringBoot_Vue3_OfficeSystem_Soft/emos/emos-wx-api/emos-wx-api.jar!/BOOT-INF/lib/shiro-crypto-core-1.5.3.jar!/, jar:file:/D:/SpringBoot_Vue3_OfficeSystem_Soft/emos/emos-wx-api/emos-wx-api.jar!/BOOT-INF/lib/shiro-crypto-cipher-1.5.3.jar!/, jar:file:/D:/SpringBoot_Vue3_OfficeSystem_Soft/emos/emos-wx-api/emos-wx-api.jar!/BOOT-INF/lib/shiro-config-core-1.5.3.jar!/, jar:file:/D:/SpringBoot_Vue3_OfficeSystem_Soft/emos/emos-wx-api/emos-wx-api.jar!/BOOT-INF/lib/shiro-config-ogdl-1.5.3.jar!/, jar:file:/D:/SpringBoot_Vue3_OfficeSystem_Soft/emos/emos-wx-api/emos-wx-api.jar!/BOOT-INF/lib/commons-beanutils-1.9.4.jar!/, jar:file:/D:/SpringBoot_Vue3_OfficeSystem_Soft/emos/emos-wx-api/emos-wx-api.jar!/BOOT-INF/lib/commons-collections-3.2.2.jar!/, jar:file:/D:/SpringBoot_Vue3_OfficeSystem_Soft/emos/emos-wx-api/emos-wx-api.jar!/BOOT-INF/lib/shiro-event-1.5.3.jar!/, jar:file:/D:/SpringBoot_Vue3_OfficeSystem_Soft/emos/emos-wx-api/emos-wx-api.jar!/BOOT-INF/lib/encoder-1.2.2.jar!/, jar:file:/D:/SpringBoot_Vue3_OfficeSystem_Soft/emos/emos-wx-api/emos-wx-api.jar!/BOOT-INF/lib/shiro-spring-1.5.3.jar!/, jar:file:/D:/SpringBoot_Vue3_OfficeSystem_Soft/emos/emos-wx-api/emos-wx-api.jar!/BOOT-INF/lib/java-jwt-3.10.3.jar!/, jar:file:/D:/SpringBoot_Vue3_OfficeSystem_Soft/emos/emos-wx-api/emos-wx-api.jar!/BOOT-INF/lib/jackson-databind-2.11.2.jar!/, jar:file:/D:/SpringBoot_Vue3_OfficeSystem_Soft/emos/emos-wx-api/emos-wx-api.jar!/BOOT-INF/lib/jackson-core-2.11.2.jar!/, jar:file:/D:/SpringBoot_Vue3_OfficeSystem_Soft/emos/emos-wx-api/emos-wx-api.jar!/BOOT-INF/lib/commons-codec-1.14.jar!/, jar:file:/D:/SpringBoot_Vue3_OfficeSystem_Soft/emos/emos-wx-api/emos-wx-api.jar!/BOOT-INF/lib/spring-boot-configuration-processor-2.3.4.RELEASE.jar!/, jar:file:/D:/SpringBoot_Vue3_OfficeSystem_Soft/emos/emos-wx-api/emos-wx-api.jar!/BOOT-INF/lib/commons-lang3-3.11.jar!/, jar:file:/D:/SpringBoot_Vue3_OfficeSystem_Soft/emos/emos-wx-api/emos-wx-api.jar!/BOOT-INF/lib/spring-boot-starter-aop-2.3.4.RELEASE.jar!/, jar:file:/D:/SpringBoot_Vue3_OfficeSystem_Soft/emos/emos-wx-api/emos-wx-api.jar!/BOOT-INF/lib/spring-aop-5.2.9.RELEASE.jar!/, jar:file:/D:/SpringBoot_Vue3_OfficeSystem_Soft/emos/emos-wx-api/emos-wx-api.jar!/BOOT-INF/lib/aspectjweaver-1.9.6.jar!/, jar:file:/D:/SpringBoot_Vue3_OfficeSystem_Soft/emos/emos-wx-api/emos-wx-api.jar!/BOOT-INF/lib/jsoup-1.13.1.jar!/, jar:file:/D:/SpringBoot_Vue3_OfficeSystem_Soft/emos/emos-wx-api/emos-wx-api.jar!/BOOT-INF/lib/amqp-client-5.9.0.jar!/, jar:file:/D:/SpringBoot_Vue3_OfficeSystem_Soft/emos/emos-wx-api/emos-wx-api.jar!/BOOT-INF/lib/json-20200518.jar!/, jar:file:/D:/SpringBoot_Vue3_OfficeSystem_Soft/emos/emos-wx-api/emos-wx-api.jar!/BOOT-INF/lib/TinyPinyin-2.0.3.RELEASE.jar!/, jar:file:/D:/SpringBoot_Vue3_OfficeSystem_Soft/emos/emos-wx-api/emos-wx-api.jar!/BOOT-INF/lib/ahocorasick-0.4.0.jar!/]
18:50:38.260 [main] ERROR org.springframework.boot.SpringApplication - Application run failed
java.lang.IllegalStateException: Failed to load property source from 'file:application.yml' (file:application.yml)
        at org.springframework.boot.context.config.ConfigFileApplicationListener$Loader.load(ConfigFileApplicationListener.java:553)
        at org.springframework.boot.context.config.ConfigFileApplicationListener$Loader.load(ConfigFileApplicationListener.java:456)
        at org.springframework.boot.context.config.ConfigFileApplicationListener$Loader.lambda$null$7(ConfigFileApplicationListener.java:447)
        at java.base/java.util.Collections$SingletonSet.forEach(Collections.java:4872)
        at org.springframework.boot.context.config.ConfigFileApplicationListener$Loader.lambda$load$8(ConfigFileApplicationListener.java:447)
        at java.base/java.lang.Iterable.forEach(Iterable.java:75)
        at org.springframework.boot.context.config.ConfigFileApplicationListener$Loader.load(ConfigFileApplicationListener.java:444)
        at org.springframework.boot.context.config.ConfigFileApplicationListener$Loader.lambda$load$0(ConfigFileApplicationListener.java:347)
        at org.springframework.boot.context.config.FilteredPropertySource.apply(FilteredPropertySource.java:54)
        at org.springframework.boot.context.config.ConfigFileApplicationListener$Loader.load(ConfigFileApplicationListener.java:335)
        at org.springframework.boot.context.config.ConfigFileApplicationListener.addPropertySources(ConfigFileApplicationListener.java:226)
        at org.springframework.boot.context.config.ConfigFileApplicationListener.postProcessEnvironment(ConfigFileApplicationListener.java:210)
        at org.springframework.boot.context.config.ConfigFileApplicationListener.onApplicationEnvironmentPreparedEvent(ConfigFileApplicationListener.java:200)
        at org.springframework.boot.context.config.ConfigFileApplicationListener.onApplicationEvent(ConfigFileApplicationListener.java:188)
        at org.springframework.context.event.SimpleApplicationEventMulticaster.doInvokeListener(SimpleApplicationEventMulticaster.java:172)
        at org.springframework.context.event.SimpleApplicationEventMulticaster.invokeListener(SimpleApplicationEventMulticaster.java:165)
        at org.springframework.context.event.SimpleApplicationEventMulticaster.multicastEvent(SimpleApplicationEventMulticaster.java:139)
        at org.springframework.context.event.SimpleApplicationEventMulticaster.multicastEvent(SimpleApplicationEventMulticaster.java:127)
        at org.springframework.boot.context.event.EventPublishingRunListener.environmentPrepared(EventPublishingRunListener.java:80)
        at org.springframework.boot.SpringApplicationRunListeners.environmentPrepared(SpringApplicationRunListeners.java:53)
        at org.springframework.boot.SpringApplication.prepareEnvironment(SpringApplication.java:345)
        at org.springframework.boot.SpringApplication.run(SpringApplication.java:308)
        at org.springframework.boot.SpringApplication.run(SpringApplication.java:1237)
        at org.springframework.boot.SpringApplication.run(SpringApplication.java:1226)
        at com.example.emos.wx.EmosWxApiApplication.main(EmosWxApiApplication.java:35)
        at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:64)
        at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
        at java.base/java.lang.reflect.Method.invoke(Method.java:564)
        at org.springframework.boot.loader.MainMethodRunner.run(MainMethodRunner.java:49)
        at org.springframework.boot.loader.Launcher.launch(Launcher.java:107)
        at org.springframework.boot.loader.Launcher.launch(Launcher.java:58)
        at org.springframework.boot.loader.JarLauncher.main(JarLauncher.java:88)
Caused by: org.yaml.snakeyaml.parser.ParserException: expected '<document start>', but found '<block mapping start>'
 in 'reader', line 12, column 1:
    spring:
    ^

        at org.yaml.snakeyaml.parser.ParserImpl$ParseDocumentStart.produce(ParserImpl.java:226)
        at org.yaml.snakeyaml.parser.ParserImpl.peekEvent(ParserImpl.java:158)
        at org.yaml.snakeyaml.parser.ParserImpl.checkEvent(ParserImpl.java:148)
        at org.yaml.snakeyaml.composer.Composer.checkNode(Composer.java:78)
        at org.yaml.snakeyaml.constructor.BaseConstructor.checkData(BaseConstructor.java:123)
        at org.yaml.snakeyaml.Yaml$1.hasNext(Yaml.java:489)
        at org.springframework.beans.factory.config.YamlProcessor.process(YamlProcessor.java:200)
        at org.springframework.beans.factory.config.YamlProcessor.process(YamlProcessor.java:164)
        at org.springframework.boot.env.OriginTrackedYamlLoader.load(OriginTrackedYamlLoader.java:82)
        at org.springframework.boot.env.YamlPropertySourceLoader.load(YamlPropertySourceLoader.java:50)
        at org.springframework.boot.context.config.ConfigFileApplicationListener$Loader.loadDocuments(ConfigFileApplicationListener.java:607)
        at org.springframework.boot.context.config.ConfigFileApplicationListener$Loader.load(ConfigFileApplicationListener.java:523)
        ... 32 common frames omitted

老师这是什么原因,启动不了,是在这个jar文件目录下运行的呀

正在回答 回答被采纳积分+3

1回答

神思者 2021-11-17 21:09:02

报错信息说加载yml文件失败,你检查一下yml文件的内容,特别是冒号后面必须有空格

0 回复 有任何疑惑可以回复我~
  • 提问者 徐徐徐徐徐徐徐 #1
    只会是格式的问题吗,我空格都检查了,密钥或者id错了会报这样的错吗
    回复 有任何疑惑可以回复我~ 2021-11-17 21:24:16
  • 提问者 徐徐徐徐徐徐徐 #2
    老师解决了,第一行server:前面多了个空格,醉了
    回复 有任何疑惑可以回复我~ 2021-11-17 21:35:25
  • 神思者 回复 提问者 徐徐徐徐徐徐徐 #3
    下回写代码要小心,注意细节
    回复 有任何疑惑可以回复我~ 2021-11-17 22:17:49
问题已解决,确定采纳
还有疑问,暂不采纳
意见反馈 帮助中心 APP下载
官方微信