获取错误应用程序未能以类路径启动

nkhmeac6  于 2021-07-07  发布在  Java
关注(0)|答案(0)|浏览(188)

我正在尝试在intellij上运行spring启动应用程序。得到下面的错误,请帮助我。
org.springframework.boot.logging.classpathloggingapplicationlistener-应用程序无法用classpath启动

C:\Program Files\Java\jdk1.8.0_271\bin\java.exe" -Ddebug -XX:TieredStopAtLevel=1 -noverify -Dspring.profiles.active=test -Dspring.output.ansi.enabled=always "-javaagent:C:\Program Files\JetBrains\IntelliJ IDEA 2020.3\lib\idea_rt.jar=60160:C:\Program Files\JetBrains\IntelliJ IDEA 2020.3\bin" -Dfile.encoding=UTF-8 -classpath "C:\Program Files\Java\jdk1.8.0_271\jre\lib\charsets.jar;C:\Program Files\Java\jdk1.8.0_271\jre\lib\deploy.jar;C:\Program Files\Java\jdk1.8.0_271\jre\lib\ext\access-bridge-64.jar;C:\Program Files\Java\jdk1.8.0_271\jre\lib\ext\cldrdata.jar;C:\Program Files\Java\jdk1.8.0_271\jre\lib\ext\dnsns.jar;C:\Program Files\Java\jdk1.8.0_271\jre\lib\ext\jaccess.jar;C:\Program Files\Java\jdk1.8.0_271\jre\lib\ext\jfxrt.jar;C:\Program Files\Java\jdk1.8.0_271\jre\lib\ext\localedata.jar;C:\Program Files\Java\jdk1.8.0_271\jre\lib\ext\nashorn.jar;C:\Program Files\Java\jdk1.8.0_271\jre\lib\ext\sunec.jar;C:\Program Files\Java\jdk1.8.0_271\jre\lib\ext\sunjce_provider.jar;C:\Program Files\Java\jdk1.8.0_271\jre\lib\ext\sunmscapi.jar;C:\Program Files\Java\jdk1.8.0_271\jre\lib\ext\sunpkcs11.jar;C:\Program Files\Java\jdk1.8.0_271\jre\lib\ext\zipfs.jar;C:\Program Files\Java\jdk1.8.0_271\jre\lib\javaws.jar;C:\Program Files\Java\jdk1.8.0_271\jre\lib\jce.jar;C:\Program Files\Java\jdk1.8.0_271\jre\lib\jfr.jar;C:\Program Files\Java\jdk1.8.0_271\jre\lib\jfxswt.jar;C:\Program Files\Java\jdk1.8.0_271\jre\lib\jsse.jar;C:\Program Files\Java\jdk1.8.0_271\jre\lib\management-agent.jar;C:\Program Files\Java\jdk1.8.0_271\jre\lib\plugin.jar;C:\Program Files\Java\jdk1.8.0_271\jre\lib\resources.jar;C:\Program Files\Java\jdk1.8.0_271\jre\lib\rt.jar;E:\Project8\target\classes;E:\Project8\lib\spring-aspects-5.2.3.RELEASE.jar;E:\Project8\lib\spring-aop-5.2.3.RELEASE.jar;E:\Project8\lib\spring-beans-5.2.3.RELEASE.jar;E:\Project8\lib\spring-context-5.2.3.RELEASE.jar;E:\Project8\lib\spring-context-support-5.2.3.RELEASE.jar;E:\Project8\lib\spring-instrument-5.2.3.RELEASE.jar;E:\Project8\lib\spring-expression-5.2.3.RELEASE.jar;E:\Project8\lib\spring-core-5.2.3.RELEASE.jar;E:\Project8\lib\spring-jdbc-5.2.3.RELEASE.jar;E:\Project8\lib\spring-jms-5.2.3.RELEASE.jar;E:\Project8\lib\spring-orm-5.2.3.RELEASE.jar;E:\Project8\lib\spring-oxm-5.2.3.RELEASE.jar;E:\Project8\lib\spring-messaging-5.2.3.RELEASE.jar;E:\Project8\lib\aopalliance-1.0.jar;E:\Project8\lib\spring-test-5.2.3.RELEASE.jar;E:\Project8\lib\commons-logging-1.2.jar;E:\Project8\lib\spring-tx-5.2.3.RELEASE.jar;E:\Project8\lib\antlr-2.7.7.jar;E:\Project8\lib\classmate-1.5.1.jar;E:\Project8\lib\dom4j-2.1.1.jar;E:\Project8\lib\byte-buddy-1.10.7.jar;E:\Project8\lib\FastInfoset-1.2.15.jar;E:\Project8\lib\hibernate-commons-annotations-5.1.0.Final.jar;E:\Project8\lib\istack-commons-runtime-3.0.7.jar;E:\Project8\lib\hibernate-core-5.4.11.Final.jar;E:\Project8\lib\jandex-2.1.1.Final.jar;E:\Project8\lib\javax.activation-api-1.2.0.jar;E:\Project8\lib\javassist-3.24.0-GA.jar;E:\Project8\lib\javax.persistence-api-2.2.jar;E:\Project8\lib\jaxb-api-2.3.1.jar;E:\Project8\lib\jaxb-runtime-2.3.1.jar;E:\Project8\lib\jboss-transaction-api_1.2_spec-1.1.1.Final.jar;E:\Project8\lib\jboss-logging-3.3.2.Final.jar;E:\Project8\lib\stax-ex-1.8.jar;E:\Project8\lib\txw2-2.3.1.jar;E:\Project8\lib\javax.security.auth.message-api.jar;E:\Project8\lib\javax.security.jacc-api.jar;E:\Project8\lib\javax.security.enterprise-api.jar;E:\Project8\lib\javax.security.enterprise.jar;E:\Project8\lib\javax.json.bind-api-1.0.jar;E:\Project8\lib\javax.json-api-1.1.4.jar;E:\Project8\lib\FastInoset.jar;E:\Project8\lib\javax.annotation.jar;E:\Project8\lib\gmbal-api-only.jar;E:\Project8\lib\ha-api.jar;E:\Project8\lib\jaxb-api.jar;E:\Project8\lib\jaxb-impl.jar;E:\Project8\lib\jaxws-api.jar;E:\Project8\lib\jaxb-xjc.jar;E:\Project8\lib\jaxws-rt.jar;E:\Project8\lib\mail.jar;E:\Project8\lib\jaxws-tools.jar;E:\Project8\lib\jsr181-api.jar;E:\Project8\lib\management-api.jar;E:\Project8\lib\mimepull.jar;E:\Project8\lib\saaj-api.jar;E:\Project8\lib\policy.jar;E:\Project8\lib\saaj-impl.jar;E:\Project8\lib\streambuffer.jar;E:\Project8\lib\stax2-api.jar;E:\Project8\lib\stax-ex.jar;E:\Project8\lib\woodstox-core-asl.jar;C:\Users\r s\.m2\repository\org\springframework\boot\spring-boot-starter-mail\1.5.7.RELEASE\spring-boot-starter-mail-1.5.7.RELEASE.jar;C:\Users\r s\.m2\repository\org\springframework\boot\spring-boot-starter\1.5.7.RELEASE\spring-boot-starter-1.5.7.RELEASE.jar;C:\Users\r s\.m2\repository\org\springframework\boot\spring-boot-starter-logging\1.5.7.RELEASE\spring-boot-starter-logging-1.5.7.RELEASE.jar;C:\Users\r s\.m2\repository\ch\qos\logback\logback-classic\1.1.11\logback-classic-1.1.11.jar;C:\Users\r s\.m2\repository\ch\qos\logback\logback-core\1.1.11\logback-core-1.1.11.jar;C:\Users\r s\.m2\repository\org\slf4j\jul-to-slf4j\1.7.25\jul-to-slf4j-1.7.25.jar;C:\Users\r s\.m2\repository\org\slf4j\log4j-over-slf4j\1.7.25\log4j-over-slf4j-1.7.25.jar;C:\Users\r s\.m2\repository\org\yaml\snakeyaml\1.17\snakeyaml-1.17.jar;C:\Users\r s\.m2\repository\org\springframework\spring-context\4.3.11.RELEASE\spring-context-4.3.11.RELEASE.jar;C:\Users\r s\.m2\repository\org\springframework\spring-aop\4.3.11.RELEASE\spring-aop-4.3.11.RELEASE.jar;C:\Users\r s\.m2\repository\org\springframework\spring-beans\4.3.11.RELEASE\spring-beans-4.3.11.RELEASE.jar;C:\Users\r s\.m2\repository\org\springframework\spring-expression\4.3.11.RELEASE\spring-expression-4.3.11.RELEASE.jar;C:\Users\r s\.m2\repository\org\springframework\spring-context-support\4.3.11.RELEASE\spring-context-support-4.3.11.RELEASE.jar;C:\Users\r s\.m2\repository\com\sun\mail\javax.mail\1.5.6\javax.mail-1.5.6.jar;C:\Users\r s\.m2\repository\javax\activation\activation\1.1\activation-1.1.jar;C:\Users\r s\.m2\repository\com\fasterxml\jackson\core\jackson-core\2.8.10\jackson-core-2.8.10.jar;C:\Users\r s\.m2\repository\com\fasterxml\jackson\core\jackson-databind\2.8.10\jackson-databind-2.8.10.jar;C:\Users\r s\.m2\repository\com\fasterxml\jackson\core\jackson-annotations\2.8.0\jackson-annotations-2.8.0.jar;C:\Users\r s\.m2\repository\com\google\code\gson\gson\2.8.1\gson-2.8.1.jar;C:\Users\r s\.m2\repository\io\springfox\springfox-swagger2\2.4.0\springfox-swagger2-2.4.0.jar;C:\Users\r s\.m2\repository\io\swagger\swagger-annotations\1.5.6\swagger-annotations-1.5.6.jar;C:\Users\r s\.m2\repository\io\swagger\swagger-models\1.5.6\swagger-models-1.5.6.jar;C:\Users\r s\.m2\repository\io\springfox\springfox-spi\2.4.0\springfox-spi-2.4.0.jar;C:\Users\r s\.m2\repository\io\springfox\springfox-core\2.4.0\springfox-core-2.4.0.jar;C:\Users\r s\.m2\repository\io\springfox\springfox-schema\2.4.0\springfox-schema-2.4.0.jar;C:\Users\r s\.m2\repository\io\springfox\springfox-swagger-common\2.4.0\springfox-swagger-common-2.4.0.jar;C:\Users\r s\.m2\repository\io\springfox\springfox-spring-web\2.4.0\springfox-spring-web-2.4.0.jar;C:\Users\r s\.m2\repository\com\google\guava\guava\18.0\guava-18.0.jar;C:\Users\r s\.m2\repository\com\fasterxml\classmate\1.3.4\classmate-1.3.4.jar;C:\Users\r s\.m2\repository\org\slf4j\slf4j-api\1.7.25\slf4j-api-1.7.25.jar;C:\Users\r s\.m2\repository\org\springframework\plugin\spring-plugin-core\1.2.0.RELEASE\spring-plugin-core-1.2.0.RELEASE.jar;C:\Users\r s\.m2\repository\org\springframework\plugin\spring-plugin-metadata\1.2.0.RELEASE\spring-plugin-metadata-1.2.0.RELEASE.jar;C:\Users\r s\.m2\repository\io\springfox\springfox-swagger-ui\2.4.0\springfox-swagger-ui-2.4.0.jar;C:\Users\r s\.m2\repository\org\springframework\boot\spring-boot-starter-actuator\1.5.7.RELEASE\spring-boot-starter-actuator-1.5.7.RELEASE.jar;C:\Users\r s\.m2\repository\org\springframework\boot\spring-boot-actuator\1.5.7.RELEASE\spring-boot-actuator-1.5.7.RELEASE.jar;C:\Users\r s\.m2\repository\org\springframework\boot\spring-boot-starter-data-jpa\1.5.7.RELEASE\spring-boot-starter-data-jpa-1.5.7.RELEASE.jar;C:\Users\r s\.m2\repository\org\springframework\boot\spring-boot-starter-aop\1.5.7.RELEASE\spring-boot-starter-aop-1.5.7.RELEASE.jar;C:\Users\r s\.m2\repository\org\aspectj\aspectjweaver\1.8.10\aspectjweaver-1.8.10.jar;C:\Users\r s\.m2\repository\org\springframework\boot\spring-boot-starter-jdbc\1.5.7.RELEASE\spring-boot-starter-jdbc-1.5.7.RELEASE.jar;C:\Users\r s\.m2\repository\org\apache\tomcat\tomcat-jdbc\8.5.20\tomcat-jdbc-8.5.20.jar;C:\Users\r s\.m2\repository\org\apache\tomcat\tomcat-juli\8.5.20\tomcat-juli-8.5.20.jar;C:\Users\r s\.m2\repository\org\springframework\spring-jdbc\4.3.11.RELEASE\spring-jdbc-4.3.11.RELEASE.jar;C:\Users\r s\.m2\repository\org\hibernate\hibernate-core\5.0.12.Final\hibernate-core-5.0.12.Final.jar;C:\Users\r s\.m2\repository\org\jboss\logging\jboss-logging\3.3.1.Final\jboss-logging-3.3.1.Final.jar;C:\Users\r s\.m2\repository\org\hibernate\javax\persistence\hibernate-jpa-2.1-api\1.0.0.Final\hibernate-jpa-2.1-api-1.0.0.Final.jar;C:\Users\r s\.m2\repository\org\javassist\javassist\3.21.0-GA\javassist-3.21.0-GA.jar;C:\Users\r s\.m2\repository\antlr\antlr\2.7.7\antlr-2.7.7.jar;C:\Users\r s\.m2\repository\org\jboss\jandex\2.0.0.Final\jandex-2.0.0.Final.jar;C:\Users\r s\.m2\repository\dom4j\dom4j\1.6.1\dom4j-1.6.1.jar;C:\Users\r s\.m2\repository\org\hibernate\common\hibernate-commons-annotations\5.0.1.Final\hibernate-commons-annotations-5.0.1.Final.jar;C:\Users\r s\.m2\repository\org\hibernate\hibernate-entitymanager\5.0.12.Final\hibernate-entitymanager-5.0.12.Final.jar;C:\Users\r s\.m2\repository\javax\transaction\javax.transaction-api\1.2\javax.transaction-api-1.2.jar;C:\Users\r s\.m2\repository\org\springframework\data\spring-data-jpa\1.11.7.RELEASE\spring-data-jpa-1.11.7.RELEASE.jar;C:\Users\r s\.m2\repository\org\springframework\data\spring-data-commons\1.13.7.RELEASE\spring-data-commons-1.13.7.RELEASE.jar;C:\Users\r s\.m2\repository\org\springframework\spring-orm\4.3.11.RELEASE\spring-orm-4.3.11.RELEASE.jar;C:\Users\r s\.m2\repository\org\springframework\spring-tx\4.3.11.RELEASE\spring-tx-4.3.11.RELEASE.jar;C:\Users\r s\.m2\repository\org\slf4j\jcl-over-slf4j\1.7.25\jcl-over-slf4j-1.7.25.jar;C:\Users\r s\.m2\repository\org\springframework\spring-aspects\4.3.11.RELEASE\spring-aspects-4.3.11.RELEASE.jar;C:\Users\r s\.m2\repository\org\springframework\boot\spring-boot-starter-data-rest\1.5.7.RELEASE\spring-boot-starter-data-rest-1.5.7.RELEASE.jar;C:\Users\r s\.m2\repository\org\springframework\data\spring-data-rest-webmvc\2.6.7.RELEASE\spring-data-rest-webmvc-2.6.7.RELEASE.jar;C:\Users\r s\.m2\repository\org\springframework\data\spring-data-rest-core\2.6.7.RELEASE\spring-data-rest-core-2.6.7.RELEASE.jar;C:\Users\r s\.m2\repository\org\springframework\hateoas\spring-hateoas\0.23.0.RELEASE\spring-hateoas-0.23.0.RELEASE.jar;C:\Users\r s\.m2\repository\org\atteo\evo-inflector\1.2.2\evo-inflector-1.2.2.jar;C:\Users\r s\.m2\repository\org\springframework\boot\spring-boot-starter-web\1.5.7.RELEASE\spring-boot-starter-web-1.5.7.RELEASE.jar;C:\Users\r s\.m2\repository\org\hibernate\hibernate-validator\5.3.5.Final\hibernate-validator-5.3.5.Final.jar;C:\Users\r s\.m2\repository\javax\validation\validation-api\1.1.0.Final\validation-api-1.1.0.Final.jar;C:\Users\r s\.m2\repository\org\springframework\spring-web\4.3.11.RELEASE\spring-web-4.3.11.RELEASE.jar;C:\Users\r s\.m2\repository\org\springframework\spring-webmvc\4.3.11.RELEASE\spring-webmvc-4.3.11.RELEASE.jar;C:\Users\r s\.m2\repository\mysql\mysql-connector-java\5.1.44\mysql-connector-java-5.1.44.jar;C:\Users\r s\.m2\repository\org\springframework\boot\spring-boot-starter-tomcat\1.5.7.RELEASE\spring-boot-starter-tomcat-1.5.7.RELEASE.jar;C:\Users\r s\.m2\repository\org\apache\tomcat\embed\tomcat-embed-core\8.5.20\tomcat-embed-core-8.5.20.jar;C:\Users\r s\.m2\repository\org\apache\tomcat\embed\tomcat-embed-el\8.5.20\tomcat-embed-el-8.5.20.jar;C:\Users\r s\.m2\repository\org\apache\tomcat\embed\tomcat-embed-websocket\8.5.20\tomcat-embed-websocket-8.5.20.jar;C:\Users\r s\.m2\repository\org\springframework\spring-core\4.3.11.RELEASE\spring-core-4.3.11.RELEASE.jar;C:\Users\r s\.m2\repository\org\springframework\boot\spring-boot-configuration-processor\1.5.7.RELEASE\spring-boot-configuration-processor-1.5.7.RELEASE.jar;C:\Users\r s\.m2\repository\com\vaadin\external\google\android-json\0.0.20131108.vaadin1\android-json-0.0.20131108.vaadin1.jar;C:\Users\r s\.m2\repository\org\springframework\boot\spring-boot-devtools\1.5.7.RELEASE\spring-boot-devtools-1.5.7.RELEASE.jar;C:\Users\r s\.m2\repository\org\springframework\boot\spring-boot\1.5.7.RELEASE\spring-boot-1.5.7.RELEASE.jar;C:\Users\r s\.m2\repository\org\springframework\boot\spring-boot-autoconfigure\1.5.7.RELEASE\spring-boot-autoconfigure-1.5.7.RELEASE.jar;C:\Users\r s\.m2\repository\javax\servlet\jstl\1.2\jstl-1.2.jar;C:\Users\r s\.m2\repository\org\apache\tomcat\embed\tomcat-embed-jasper\8.5.20\tomcat-embed-jasper-8.5.20.jar;C:\Users\r s\.m2\repository\org\eclipse\jdt\ecj\3.12.3\ecj-3.12.3.jar;C:\Users\r s\.m2\repository\org\eclipse\jdt\core\compiler\ecj\4.6.1\ecj-4.6.1.jar;C:\Users\r s\.m2\repository\org\webjars\bootstrap\3.3.7\bootstrap-3.3.7.jar;C:\Users\r s\.m2\repository\org\webjars\jquery\1.11.1\jquery-1.11.1.jar;C:\Users\r s\.m2\repository\com\amazonaws\aws-java-sdk-core\1.11.218\aws-java-sdk-core-1.11.218.jar;C:\Users\r s\.m2\repository\commons-logging\commons-logging\1.1.3\commons-logging-1.1.3.jar;C:\Users\r s\.m2\repository\org\apache\httpcomponents\httpclient\4.5.3\httpclient-4.5.3.jar;C:\Users\r s\.m2\repository\org\apache\httpcomponents\httpcore\4.4.6\httpcore-4.4.6.jar;C:\Users\r s\.m2\repository\commons-codec\commons-codec\1.10\commons-codec-1.10.jar;C:\Users\r s\.m2\repository\software\amazon\ion\ion-java\1.0.2\ion-java-1.0.2.jar;C:\Users\r s\.m2\repository\com\fasterxml\jackson\dataformat\jackson-dataformat-cbor\2.8.10\jackson-dataformat-cbor-2.8.10.jar;C:\Users\r s\.m2\repository\joda-time\joda-time\2.9.9\joda-time-2.9.9.jar;C:\Users\r s\.m2\repository\com\amazonaws\aws-java-sdk-s3\1.11.218\aws-java-sdk-s3-1.11.218.jar;C:\Users\r s\.m2\repository\com\amazonaws\aws-java-sdk-kms\1.11.218\aws-java-sdk-kms-1.11.218.jar;C:\Users\r s\.m2\repository\com\amazonaws\jmespath-java\1.11.218\jmespath-java-1.11.218.jar;C:\Users\r s\.m2\repository\com\itextpdf\itextpdf\5.5.12\itextpdf-5.5.12.jar;C:\Users\r s\.m2\repository\com\itextpdf\tool\xmlworker\5.4.1\xmlworker-5.4.1.jar;C:\Users\r s\.m2\repository\commons-fileupload\commons-fileupload\1.2.2\commons-fileupload-1.2.2.jar;C:\Users\r s\.m2\repository\commons-io\commons-io\1.3.2\commons-io-1.3.2.jar;C:\Users\r s\.m2\repository\org\apache\poi\poi-ooxml\3.15\poi-ooxml-3.15.jar;C:\Users\r s\.m2\repository\org\apache\poi\poi\3.15\poi-3.15.jar;C:\Users\r s\.m2\repository\org\apache\commons\commons-collections4\4.1\commons-collections4-4.1.jar;C:\Users\r s\.m2\repository\org\apache\poi\poi-ooxml-schemas\3.15\poi-ooxml-schemas-3.15.jar;C:\Users\r s\.m2\repository\org\apache\xmlbeans\xmlbeans\2.6.0\xmlbeans-2.6.0.jar;C:\Users\r s\.m2\repository\stax\stax-api\1.0.1\stax-api-1.0.1.jar;C:\Users\r s\.m2\repository\com\github\virtuald\curvesapi\1.04\curvesapi-1.04.jar;C:\Users\r s\.m2\repository\commons-lang\commons-lang\2.6\commons-lang-2.6.jar;C:\Users\r s\.m2\repository\net\sf\json-lib\json-lib\2.2.3\json-lib-2.2.3-jdk15.jar;C:\Users\r s\.m2\repository\commons-beanutils\commons-beanutils\1.9.3\commons-beanutils-1.9.3.jar;C:\Users\r s\.m2\repository\commons-collections\commons-collections\3.2.2\commons-collections-3.2.2.jar;C:\Users\r s\.m2\repository\net\sf\ezmorph\ezmorph\1.0.6\ezmorph-1.0.6.jar;C:\Users\r s\.m2\repository\xml-security\xmlsec\1.3.0\xmlsec-1.3.0.jar" 
The Class-Path manifest attribute in E:\Project8\lib\ha-api.jar referenced one or more files that do not exist: E:\Project8\lib\hk2-core.jar,E:\Project8\lib\config.jar,E:\Project8\lib\auto-depends.jar,E:\Project8\lib\asm-all-repackaged.jar,E:\Project8\lib\bean-validator.jar
The Class-Path manifest attribute in E:\Project8\lib\jaxws-rt.jar referenced one or more files that do not exist: E:\Project8\lib\stax-utils.jar
03:37:54.475 [main] DEBUG org.springframework.boot.devtools.settings.DevToolsSettings - Included patterns for restart : []
03:37:54.522 [main] DEBUG org.springframework.boot.devtools.settings.DevToolsSettings - Excluded patterns for restart : [/spring-boot-starter/target/classes/, /spring-boot-autoconfigure/target/classes/, /spring-boot-starter-[\w-]+/, /spring-boot/target/classes/, /spring-boot-actuator/target/classes/, /spring-boot-devtools/target/classes/]
03:37:54.522 [main] DEBUG org.springframework.boot.devtools.restart.ChangeableUrls - Matching URLs for reloading : [file:/E:/Project8/target/classes/]
03:37:57.616 [restartedMain] DEBUG org.springframework.boot.logging.ClasspathLoggingApplicationListener - Application failed to start with classpath: [file:/E:/Project8/target/classes/]

暂无答案!

目前还没有任何答案,快来回答吧!

相关问题