IDEA启动spring boot的问题

韦伯 发布于 2018/05/31 14:14
阅读 2K+
收藏 0

spring boot启动的时候提示

The Class-Path manifest attribute in C:\Users\gyw\AppData\Local\Temp\classpath569236721.jar referenced one or more files that do not exist: C:\Users\gyw\AppData\Local\Temp\file:\D:\Java\jdk1.8.0_161\jre\lib\charsets.jar,C:\Users\gyw\AppData\Local\Temp\file:\D:\Java\jdk1.8.0_161\jre\lib\deploy.jar,C:\Users\gyw\AppData\Local\Temp\file:\D:\Java\jdk1.8.0_161\jre\lib\ext\access-bridge-64.jar,C:\Users\gyw\AppData\Local\Temp\file:\D:\Java\jdk1.8.0_161\jre\lib\ext\cldrdata.jar,C:\Users\gyw\AppData\Local\Temp\file:\D:\Java\jdk1.8.0_161\jre\lib\ext\dnsns.jar,C:\Users\gyw\AppData\Local\Temp\file:\D:\Java\jdk1.8.0_161\jre\lib\ext\jaccess.jar,C:\Users\gyw\AppData\Local\Temp\file:\D:\Java\jdk1.8.0_161\jre\lib\ext\jfxrt.jar,C:\Users\gyw\AppData\Local\Temp\file:\D:\Java\jdk1.8.0_161\jre\lib\ext\localedata.jar,C:\Users\gyw\AppData\Local\Temp\file:\D:\Java\jdk1.8.0_161\jre\lib\ext\nashorn.jar,C:\Users\gyw\AppData\Local\Temp\file:\D:\Java\jdk1.8.0_161\jre\lib\ext\sunec.jar,C:\Users\gyw\AppData\Local\Temp\file:\D:\Java\jdk1.8.0_161\jre\lib\ext\sunjce_provider.jar,C:\Users\gyw\AppData\Local\Temp\file:\D:\Java\jdk1.8.0_161\jre\lib\ext\sunmscapi.jar,C:\Users\gyw\AppData\Local\Temp\file:\D:\Java\jdk1.8.0_161\jre\lib\ext\sunpkcs11.jar,C:\Users\gyw\AppData\Local\Temp\file:\D:\Java\jdk1.8.0_161\jre\lib\ext\zipfs.jar,C:\Users\gyw\AppData\Local\Temp\file:\D:\Java\jdk1.8.0_161\jre\lib\javaws.jar,C:\Users\gyw\AppData\Local\Temp\file:\D:\Java\jdk1.8.0_161\jre\lib\jce.jar,C:\Users\gyw\AppData\Local\Temp\file:\D:\Java\jdk1.8.0_161\jre\lib\jfr.jar,C:\Users\gyw\AppData\Local\Temp\file:\D:\Java\jdk1.8.0_161\jre\lib\jfxswt.jar,C:\Users\gyw\AppData\Local\Temp\file:\D:\Java\jdk1.8.0_161\jre\lib\jsse.jar,C:\Users\gyw\AppData\Local\Temp\file:\D:\Java\jdk1.8.0_161\jre\lib\management-agent.jar,C:\Users\gyw\AppData\Local\Temp\file:\D:\Java\jdk1.8.0_161\jre\lib\plugin.jar,C:\Users\gyw\AppData\Local\Temp\file:\D:\Java\jdk1.8.0_161\jre\lib\resources.jar,C:\Users\gyw\AppData\Local\Temp\file:\D:\Java\jdk1.8.0_161\jre\lib\rt.jar,C:\Users\gyw\AppData\Local\Temp\file:\C:\Users\gyw\IdeaProjects\hsz\gc-http-pad-service\out\production\classes,C:\Users\gyw\AppData\Local\Temp\file:\C:\Users\gyw\IdeaProjects\hsz\gc-base-http\out\production\classes,C:\Users\gyw\AppData\Local\Temp\file:\C:\Users\gyw\IdeaProjects\hsz\gc-rpc-api\out\production\classes,C:\Users\gyw\AppData\Local\Temp\file:\C:\Users\gyw\IdeaProjects\hsz\gc-base-utils\out\production\classes,C:\Users\gyw\AppData\Local\Temp\file:\C:\Users\gyw\IdeaProjects\hsz\gc-base-global\out\production\classes,C:\Users\gyw\AppData\Local\Temp\file:\C:\Users\gyw\.gradle\caches\modules-2\files-2.1\org.springframework.boot\spring-boot-starter-websocket\1.5.7.RELEASE\dcc13d0985539b0da55c052094f838b8c9034ab6\spring-boot-starter-websocket-1.5.7.RELEASE.jar,C:\Users\gyw\AppData\Local\Temp\file:\C:\Users\gyw\.gradle\caches\modules-2\files-2.1\org.springframework.boot\spring-boot-starter-web\1.5.7.RELEASE\a862305be8b7512a41f6768d825ed37251ccbbe0\spring-boot-starter-web-1.5.7.RELEASE.jar,C:\Users\gyw\AppData\Local\Temp\file:\C:\Users\gyw\.gradle\caches\modules-2\files-2.1\org.springframework.boot\spring-boot-starter-jetty\1.5.7.RELEASE\a2864d0a6cd7fff55fb27b66933c26544b3bfaf4\spring-boot-starter-jetty-1.5.7.RELEASE.jar,C:\Users\gyw\AppData\Local\Temp\file:\C:\Users\gyw\.gradle\caches\modules-2\files-2.1\org.springframework.boot\spring-boot-starter-actuator\1.5.7.RELEASE\c8058080955524edbbacda602f25d1c5fdf2a3a9\spring-boot-starter-actuator-1.5.7.RELEASE.jar,C:\Users\gyw\AppData\Local\Temp\file:\C:\Users\gyw\.gradle\caches\modules-2\files-2.1\org.mybatis.spring.boot\mybatis-spring-boot-starter\1.3.1\f67bd22f518df4b56e6647c90692529af4715a10\mybatis-spring-boot-starter-1.3.1.jar,C:\Users\gyw\AppData\Local\Temp\file:\C:\Users\gyw\.gradle\caches\modules-2\files-2.1\org.springframework.boot\spring-boot-starter-jdbc\1.5.7.RELEASE\98c652a5461ccbec70b55fd0f7815d9c9a37a082\spring-boot-starter-jdbc-1.5.7.RELEASE.jar,C:\Users\gyw\AppData\Local\Temp\file:\C:\Users\gyw\.gradle\caches\modules-2\files-2.1\org.springframework.boot\spring-boot-devtools\1.5.7.RELEASE\f433b9ba2fcf598624b5ae930096523f8a22119b\spring-boot-devtools-1.5.7.RELEASE.jar,C:\Users\gyw\AppData\Local\Temp\file:\C:\Users\gyw\.gradle\caches\modules-2\files-2.1\com.alibaba\druid-spring-boot-starter\1.1.6\dd6be8603ffaeb6bf92a3fc4dbd56ba117ab9771\druid-spring-boot-starter-1.1.6.jar,C:\Users\gyw\AppData\Local\Temp\file:\C:\Users\gyw\.gradle\caches\modules-2\files-2.1\org.springframework.boot\spring-boot-starter-activemq\1.5.7.RELEASE\c48105c8e04d2a4704acc3f5c78237e3d539dca3\spring-boot-starter-activemq-1.5.7.RELEASE.jar,C:\Users\gyw\AppData\Local\Temp\file:\C:\Users\gyw\.gradle\caches\modules-2\files-2.1\io.dubbo.springboot\spring-boot-starter-dubbo\1.0.0\4af1044c27ce446e495c7ea954473b306657b259\spring-boot-starter-dubbo-1.0.0.jar,C:\Users\gyw\AppData\Local\Temp\file:\C:\Users\gyw\.gradle\caches\modules-2\files-2.1\org.springframework.boot\spring-boot-starter\1.5.7.RELEASE\b42fe6962dd8b3be4ac8c1d7134d0ca2d0a35c7e\spring-boot-starter-1.5.7.RELEASE.jar,C:\Users\gyw\AppData\Local\Temp\file:\C:\Users\gyw\.gradle\caches\modules-2\files-2.1\org.springframework.boot\spring-boot-actuator\1.5.7.RELEASE\ff3124e2359be5e6c0d9cc501bf214413a329fee\spring-boot-actuator-1.5.7.RELEASE.jar,C:\Users\gyw\AppData\Local\Temp\file:\C:\Users\gyw\.gradle\caches\modules-2\files-2.1\org.mybatis.spring.boot\mybatis-spring-boot-autoconfigure\1.3.1\af4ba7d4594459cbad87cb5561c271da26df3aa\mybatis-spring-boot-autoconfigure-1.3.1.jar,C:\Users\gyw\AppData\Local\Temp\file:\C:\Users\gyw\.gradle\caches\modules-2\files-2.1\org.springframework.boot\spring-boot-autoconfigure\1.5.7.RELEASE\e83f1407ff991e9e7eb156f49fa19d868bb73289\spring-boot-autoconfigure-1.5.7.RELEASE.jar,C:\Users\gyw\AppData\Local\Temp\file:\C:\Users\gyw\.gradle\caches\modules-2\files-2.1\org.springframework.boot\spring-boot-starter-log4j2\1.5.7.RELEASE\98fd0f04b8acbaf77e7a81cf1cf1a45fa730d4f8\spring-boot-starter-log4j2-1.5.7.RELEASE.jar,C:\Users\gyw\AppData\Local\Temp\file:\C:\Users\gyw\.gradle\caches\modules-2\files-2.1\org.springframework.boot\spring-boot-starter-logging\1.5.7.RELEASE\c84c4ea09d7f789a0d5e936a961471e5dbd9295e\spring-boot-starter-logging-1.5.7.RELEASE.jar,C:\Users\gyw\AppData\Local\Temp\file:\C:\Users\gyw\.gradle\caches\modules-2\files-2.1\org.springframework.boot\spring-boot-maven-plugin\1.5.7.RELEASE\c536df1900158f5d1f4bb6e7b5b4cc45488ede25\spring-boot-maven-plugin-1.5.7.RELEASE.jar,C:\Users\gyw\AppData\Local\Temp\file:\C:\Users\gyw\.gradle\caches\modules-2\files-2.1\org.springframework.boot\spring-boot-test\1.5.7.RELEASE\b8d77445d48f4320f404d8f13f4e5cb95bc36b30\spring-boot-test-1.5.7.RELEASE.jar,C:\Users\gyw\AppData\Local\Temp\file:\C:\Users\gyw\.gradle\caches\modules-2\files-2.1\org.springframework\spring-test\4.3.13.RELEASE\f4ff71b0d628d37f334d4f1f197c1b8cea364d01\spring-test-4.3.13.RELEASE.jar,C:\Users\gyw\AppData\Local\Temp\file:\C:\Users\gyw\.gradle\caches\modules-2\files-2.1\io.dropwizard.metrics\metrics-graphite\3.2.2\908e8cbec1bbdb2f4023334e424c7de2832a95af\metrics-graphite-3.2.2.jar,C:\Users\gyw\AppData\Local\Temp\file:\C:\Users\gyw\.gradle\caches\modules-2\files-2.1\io.dropwizard.metrics\metrics-jetty9\3.2.2\3fc94d99f41dc3f5be5483c81828138104df4449\metrics-jetty9-3.2.2.jar,C:\Users\gyw\AppData\Local\Temp\file:\C:\Users\gyw\.gradle\caches\modules-2\files-2.1\io.dropwizard.metrics\metrics-servlet\3.2.2\b19511574d0af5ae708ac33eeafe18c788ae5bcc\metrics-servlet-3.2.2.jar,C:\Users\gyw\AppData\Local\Temp\file:\C:\Users\gyw\.gradle\caches\modules-2\files-2.1\io.dropwizard.metrics\metrics-servlets\3.2.2\5e87074f5147f9e37c8408473fc9a487af68b013\metrics-servlets-3.2.2.jar,C:\Users\gyw\AppData\Local\Temp\file:\C:\Users\gyw\.gradle\caches\modules-2\files-2.1\io.dropwizard.metrics\metrics-httpclient\3.2.2\f05b30bd906541d7e6c80df9e64c33caf3be0ca6\metrics-httpclient-3.2.2.jar,C:\Users\gyw\AppData\Local\Temp\file:\C:\Users\gyw\.gradle\caches\modules-2\files-2.1\io.dropwizard.metrics\metrics-json\3.2.2\234612b9739a651eb2b71a8f9e9c4d11d7ccf849\metrics-json-3.2.2.jar,C:\Users\gyw\AppData\Local\Temp\file:\C:\Users\gyw\.gradle\caches\modules-2\files-2.1\io.dropwizard.metrics\metrics-jvm\3.2.2\9cbf2030242f7ffb97fae23f8a81421eb8d4ad45\metrics-jvm-3.2.2.jar,

打开C:\Users\gyw\AppData\Local\Temp\classpath569236721.jar查看MANIFEST.MF文件,发现里面是这样Manifest-Version: 1.0
Class-Path: file:/D:/Java/jdk1.8.0_161/jre/lib/charsets.jar 

为什么最后IDEA会解析这个路径变成C:\Users\gyw\AppData\Local\Temp\file:\D:\Java\jdk1.8.0_161\jre\lib\charsets.jar,

加载中
0
LYB_124321
LYB_124321
这个是IDEA的安装路径嘛? 默认安装是自带1.8的jre的。
返回顶部
顶部