jdk11 之 Idea 使用问题
作者:andy
- 2022-10-28 北京
本文字数:9925 字
阅读完需:约 33 分钟
intellij idea 使用 2019 版本
爆出无效的 valid JRE home
解决 jdk11 没有 jre 的问题,因为大多数的开发环境需要具有 jre
bin\jlink.exe --module-path jmods --add-modules java.desktop --output jre
在 doc 界面一直不行
然后,思考了之后,觉得不应该是 jdk 的问题,也不应该是 idea 的问题
想了一下,估计是用户权限导致的
然后切换到管理员权限
重新执行一遍,成功了
然后,在 idea 中配置 jdk 路径是正确的,以为改为 jre,实际上不行
然后,在继续查找,发现 jre 应该配置在项目上编辑配置 jre 路径
到了这里,写了一个 Test 类,执行成功
然后到了自己写的类,执行失败
"C:\Program Files\Java\jdk-11.0.9\jre\bin\java.exe" "-javaagent:C:\Program Files\JetBrains\IntelliJ IDEA Community Edition 2019.3.4\lib\idea_rt.jar=54824:C:\Program Files\JetBrains\IntelliJ IDEA Community Edition 2019.3.4\bin" -Dfile.encoding=UTF-8 -classpath "C:\Data\Java Project\MCMS\target\classes;C:\Users\andy\.m2\repository\net\mingsoft\ms-mpeople\1.0.18\ms-mpeople-1.0.18.jar;C:\Users\andy\.m2\repository\net\mingsoft\ms-mdiy\1.0.16\ms-mdiy-1.0.16.jar;C:\Users\andy\.m2\repository\net\mingsoft\ms-upgrader\1.0.17\ms-upgrader-1.0.17.jar;C:\Users\andy\.m2\repository\net\mingsoft\ms-basic\1.0.21\ms-basic-1.0.21.jar;C:\Users\andy\.m2\repository\net\mingsoft\ms-base\1.0.13\ms-base-1.0.13.jar;C:\Users\andy\.m2\repository\net\mingsoft\ms-ueditor\1.0.4\ms-ueditor-1.0.4.jar;C:\Users\andy\.m2\repository\org\json\json\20160212\json-20160212.jar;C:\Users\andy\.m2\repository\commons-fileupload\commons-fileupload\1.3.1\commons-fileupload-1.3.1.jar;C:\Users\andy\.m2\repository\commons-io\commons-io\2.2\commons-io-2.2.jar;C:\Users\andy\.m2\repository\javax\servlet\javax.servlet-api\4.0.1\javax.servlet-api-4.0.1.jar;C:\Users\andy\.m2\repository\net\mingsoft\shiro-freemarker-tags\1.0.1\shiro-freemarker-tags-1.0.1.jar;C:\Users\andy\.m2\repository\org\apache\shiro\shiro-all\1.2.4\shiro-all-1.2.4.jar;C:\Users\andy\.m2\repository\org\apache\shiro\shiro-guice\1.2.4\shiro-guice-1.2.4.jar;C:\Users\andy\.m2\repository\com\google\inject\guice\3.0\guice-3.0.jar;C:\Users\andy\.m2\repository\javax\inject\javax.inject\1\javax.inject-1.jar;C:\Users\andy\.m2\repository\aopalliance\aopalliance\1.0\aopalliance-1.0.jar;C:\Users\andy\.m2\repository\com\google\inject\extensions\guice-multibindings\3.0\guice-multibindings-3.0.jar;C:\Users\andy\.m2\repository\cn\hutool\hutool-all\5.1.0\hutool-all-5.1.0.jar;C:\Users\andy\.m2\repository\com\google\zxing\javase\3.3.3\javase-3.3.3.jar;C:\Users\andy\.m2\repository\com\google\zxing\core\3.3.3\core-3.3.3.jar;C:\Users\andy\.m2\repository\com\beust\jcommander\1.72\jcommander-1.72.jar;C:\Users\andy\.m2\repository\com\github\jai-imageio\jai-imageio-core\1.4.0\jai-imageio-core-1.4.0.jar;C:\Users\andy\.m2\repository\com\alibaba\fastjson\1.2.54\fastjson-1.2.54.jar;C:\Users\andy\.m2\repository\redis\clients\jedis\3.1.0\jedis-3.1.0.jar;C:\Users\andy\.m2\repository\org\slf4j\slf4j-api\1.7.29\slf4j-api-1.7.29.jar;C:\Users\andy\.m2\repository\org\apache\commons\commons-pool2\2.7.0\commons-pool2-2.7.0.jar;C:\Users\andy\.m2\repository\mysql\mysql-connector-java\8.0.18\mysql-connector-java-8.0.18.jar;C:\Users\andy\.m2\repository\org\apache\commons\commons-lang3\3.9\commons-lang3-3.9.jar;C:\Users\andy\.m2\repository\org\springframework\boot\spring-boot-configuration-processor\2.2.2.RELEASE\spring-boot-configuration-processor-2.2.2.RELEASE.jar;C:\Users\andy\.m2\repository\org\mybatis\spring\boot\mybatis-spring-boot-starter\1.3.2\mybatis-spring-boot-starter-1.3.2.jar;C:\Users\andy\.m2\repository\org\springframework\boot\spring-boot-starter-jdbc\2.2.2.RELEASE\spring-boot-starter-jdbc-2.2.2.RELEASE.jar;C:\Users\andy\.m2\repository\com\zaxxer\HikariCP\3.4.1\HikariCP-3.4.1.jar;C:\Users\andy\.m2\repository\org\springframework\spring-jdbc\5.2.2.RELEASE\spring-jdbc-5.2.2.RELEASE.jar;C:\Users\andy\.m2\repository\org\mybatis\spring\boot\mybatis-spring-boot-autoconfigure\1.3.2\mybatis-spring-boot-autoconfigure-1.3.2.jar;C:\Users\andy\.m2\repository\org\mybatis\mybatis\3.4.6\mybatis-3.4.6.jar;C:\Users\andy\.m2\repository\org\mybatis\mybatis-spring\1.3.2\mybatis-spring-1.3.2.jar;C:\Users\andy\.m2\repository\com\github\pagehelper\pagehelper-spring-boot-starter\1.2.10\pagehelper-spring-boot-starter-1.2.10.jar;C:\Users\andy\.m2\repository\com\github\pagehelper\pagehelper-spring-boot-autoconfigure\1.2.10\pagehelper-spring-boot-autoconfigure-1.2.10.jar;C:\Users\andy\.m2\repository\com\github\pagehelper\pagehelper\5.1.8\pagehelper-5.1.8.jar;C:\Users\andy\.m2\repository\com\github\jsqlparser\jsqlparser\1.2\jsqlparser-1.2.jar;C:\Users\andy\.m2\repository\com\alibaba\druid-spring-boot-starter\1.1.9\druid-spring-boot-starter-1.1.9.jar;C:\Users\andy\.m2\repository\com\alibaba\druid\1.1.9\druid-1.1.9.jar;C:\Users\andy\.m2\repository\org\springframework\boot\spring-boot-autoconfigure\2.2.2.RELEASE\spring-boot-autoconfigure-2.2.2.RELEASE.jar;C:\Users\andy\.m2\repository\org\freemarker\freemarker\2.3.29\freemarker-2.3.29.jar;C:\Users\andy\.m2\repository\org\aspectj\aspectjrt\1.9.5\aspectjrt-1.9.5.jar;C:\Users\andy\.m2\repository\org\aspectj\aspectjweaver\1.9.5\aspectjweaver-1.9.5.jar;C:\Users\andy\.m2\repository\org\apache\shiro\shiro-spring\1.4.0\shiro-spring-1.4.0.jar;C:\Users\andy\.m2\repository\org\apache\shiro\shiro-core\1.4.0\shiro-core-1.4.0.jar;C:\Users\andy\.m2\repository\org\apache\shiro\shiro-lang\1.4.0\shiro-lang-1.4.0.jar;C:\Users\andy\.m2\repository\org\apache\shiro\shiro-crypto-hash\1.4.0\shiro-crypto-hash-1.4.0.jar;C:\Users\andy\.m2\repository\org\apache\shiro\shiro-crypto-core\1.4.0\shiro-crypto-core-1.4.0.jar;C:\Users\andy\.m2\repository\org\apache\shiro\shiro-crypto-cipher\1.4.0\shiro-crypto-cipher-1.4.0.jar;C:\Users\andy\.m2\repository\org\apache\shiro\shiro-config-core\1.4.0\shiro-config-core-1.4.0.jar;C:\Users\andy\.m2\repository\org\apache\shiro\shiro-config-ogdl\1.4.0\shiro-config-ogdl-1.4.0.jar;C:\Users\andy\.m2\repository\commons-beanutils\commons-beanutils\1.9.3\commons-beanutils-1.9.3.jar;C:\Users\andy\.m2\repository\commons-collections\commons-collections\3.2.2\commons-collections-3.2.2.jar;C:\Users\andy\.m2\repository\org\apache\shiro\shiro-event\1.4.0\shiro-event-1.4.0.jar;C:\Users\andy\.m2\repository\org\apache\shiro\shiro-web\1.4.0\shiro-web-1.4.0.jar;C:\Users\andy\.m2\repository\org\apache\shiro\shiro-ehcache\1.4.0\shiro-ehcache-1.4.0.jar;C:\Users\andy\.m2\repository\org\apache\shiro\shiro-cache\1.4.0\shiro-cache-1.4.0.jar;C:\Users\andy\.m2\repository\net\sf\ehcache\ehcache-core\2.6.11\ehcache-core-2.6.11.jar;C:\Users\andy\.m2\repository\org\springframework\boot\spring-boot-starter\2.2.2.RELEASE\spring-boot-starter-2.2.2.RELEASE.jar;C:\Users\andy\.m2\repository\org\springframework\boot\spring-boot\2.2.2.RELEASE\spring-boot-2.2.2.RELEASE.jar;C:\Users\andy\.m2\repository\org\springframework\spring-context\5.2.2.RELEASE\spring-context-5.2.2.RELEASE.jar;C:\Users\andy\.m2\repository\jakarta\annotation\jakarta.annotation-api\1.3.5\jakarta.annotation-api-1.3.5.jar;C:\Users\andy\.m2\repository\org\springframework\spring-core\5.2.2.RELEASE\spring-core-5.2.2.RELEASE.jar;C:\Users\andy\.m2\repository\org\springframework\spring-jcl\5.2.2.RELEASE\spring-jcl-5.2.2.RELEASE.jar;C:\Users\andy\.m2\repository\org\yaml\snakeyaml\1.25\snakeyaml-1.25.jar;C:\Users\andy\.m2\repository\org\springframework\boot\spring-boot-starter-web\2.2.2.RELEASE\spring-boot-starter-web-2.2.2.RELEASE.jar;C:\Users\andy\.m2\repository\org\springframework\boot\spring-boot-starter-json\2.2.2.RELEASE\spring-boot-starter-json-2.2.2.RELEASE.jar;C:\Users\andy\.m2\repository\com\fasterxml\jackson\core\jackson-databind\2.10.1\jackson-databind-2.10.1.jar;C:\Users\andy\.m2\repository\com\fasterxml\jackson\datatype\jackson-datatype-jdk8\2.10.1\jackson-datatype-jdk8-2.10.1.jar;C:\Users\andy\.m2\repository\com\fasterxml\jackson\datatype\jackson-datatype-jsr310\2.10.1\jackson-datatype-jsr310-2.10.1.jar;C:\Users\andy\.m2\repository\com\fasterxml\jackson\module\jackson-module-parameter-names\2.10.1\jackson-module-parameter-names-2.10.1.jar;C:\Users\andy\.m2\repository\org\springframework\boot\spring-boot-starter-tomcat\2.2.2.RELEASE\spring-boot-starter-tomcat-2.2.2.RELEASE.jar;C:\Users\andy\.m2\repository\org\apache\tomcat\embed\tomcat-embed-core\9.0.29\tomcat-embed-core-9.0.29.jar;C:\Users\andy\.m2\repository\org\apache\tomcat\embed\tomcat-embed-el\9.0.29\tomcat-embed-el-9.0.29.jar;C:\Users\andy\.m2\repository\org\apache\tomcat\embed\tomcat-embed-websocket\9.0.29\tomcat-embed-websocket-9.0.29.jar;C:\Users\andy\.m2\repository\org\springframework\boot\spring-boot-starter-validation\2.2.2.RELEASE\spring-boot-starter-validation-2.2.2.RELEASE.jar;C:\Users\andy\.m2\repository\jakarta\validation\jakarta.validation-api\2.0.1\jakarta.validation-api-2.0.1.jar;C:\Users\andy\.m2\repository\org\hibernate\validator\hibernate-validator\6.0.18.Final\hibernate-validator-6.0.18.Final.jar;C:\Users\andy\.m2\repository\org\jboss\logging\jboss-logging\3.4.1.Final\jboss-logging-3.4.1.Final.jar;C:\Users\andy\.m2\repository\org\springframework\spring-web\5.2.2.RELEASE\spring-web-5.2.2.RELEASE.jar;C:\Users\andy\.m2\repository\org\springframework\spring-webmvc\5.2.2.RELEASE\spring-webmvc-5.2.2.RELEASE.jar;C:\Users\andy\.m2\repository\org\springframework\spring-aop\5.2.2.RELEASE\spring-aop-5.2.2.RELEASE.jar;C:\Users\andy\.m2\repository\org\springframework\spring-expression\5.2.2.RELEASE\spring-expression-5.2.2.RELEASE.jar;C:\Users\andy\.m2\repository\org\springframework\boot\spring-boot-starter-freemarker\2.2.2.RELEASE\spring-boot-starter-freemarker-2.2.2.RELEASE.jar;C:\Users\andy\.m2\repository\org\springframework\spring-context-support\5.2.2.RELEASE\spring-context-support-5.2.2.RELEASE.jar;C:\Users\andy\.m2\repository\org\springframework\boot\spring-boot-starter-data-elasticsearch\2.2.2.RELEASE\spring-boot-starter-data-elasticsearch-2.2.2.RELEASE.jar;C:\Users\andy\.m2\repository\org\springframework\data\spring-data-elasticsearch\3.2.3.RELEASE\spring-data-elasticsearch-3.2.3.RELEASE.jar;C:\Users\andy\.m2\repository\org\springframework\data\spring-data-commons\2.2.3.RELEASE\spring-data-commons-2.2.3.RELEASE.jar;C:\Users\andy\.m2\repository\joda-time\joda-time\2.10.5\joda-time-2.10.5.jar;C:\Users\andy\.m2\repository\org\elasticsearch\client\transport\6.8.5\transport-6.8.5.jar;C:\Users\andy\.m2\repository\org\elasticsearch\elasticsearch\6.8.5\elasticsearch-6.8.5.jar;C:\Users\andy\.m2\repository\org\elasticsearch\elasticsearch-core\6.8.5\elasticsearch-core-6.8.5.jar;C:\Users\andy\.m2\repository\org\elasticsearch\elasticsearch-secure-sm\6.8.5\elasticsearch-secure-sm-6.8.5.jar;C:\Users\andy\.m2\repository\org\elasticsearch\elasticsearch-x-content\6.8.5\elasticsearch-x-content-6.8.5.jar;C:\Users\andy\.m2\repository\com\fasterxml\jackson\dataformat\jackson-dataformat-smile\2.10.1\jackson-dataformat-smile-2.10.1.jar;C:\Users\andy\.m2\repository\com\fasterxml\jackson\dataformat\jackson-dataformat-yaml\2.10.1\jackson-dataformat-yaml-2.10.1.jar;C:\Users\andy\.m2\repository\com\fasterxml\jackson\dataformat\jackson-dataformat-cbor\2.10.1\jackson-dataformat-cbor-2.10.1.jar;C:\Users\andy\.m2\repository\org\apache\lucene\lucene-core\7.7.2\lucene-core-7.7.2.jar;C:\Users\andy\.m2\repository\org\apache\lucene\lucene-analyzers-common\7.7.2\lucene-analyzers-common-7.7.2.jar;C:\Users\andy\.m2\repository\org\apache\lucene\lucene-backward-codecs\7.7.2\lucene-backward-codecs-7.7.2.jar;C:\Users\andy\.m2\repository\org\apache\lucene\lucene-grouping\7.7.2\lucene-grouping-7.7.2.jar;C:\Users\andy\.m2\repository\org\apache\lucene\lucene-highlighter\7.7.2\lucene-highlighter-7.7.2.jar;C:\Users\andy\.m2\repository\org\apache\lucene\lucene-join\7.7.2\lucene-join-7.7.2.jar;C:\Users\andy\.m2\repository\org\apache\lucene\lucene-memory\7.7.2\lucene-memory-7.7.2.jar;C:\Users\andy\.m2\repository\org\apache\lucene\lucene-misc\7.7.2\lucene-misc-7.7.2.jar;C:\Users\andy\.m2\repository\org\apache\lucene\lucene-queries\7.7.2\lucene-queries-7.7.2.jar;C:\Users\andy\.m2\repository\org\apache\lucene\lucene-queryparser\7.7.2\lucene-queryparser-7.7.2.jar;C:\Users\andy\.m2\repository\org\apache\lucene\lucene-sandbox\7.7.2\lucene-sandbox-7.7.2.jar;C:\Users\andy\.m2\repository\org\apache\lucene\lucene-spatial\7.7.2\lucene-spatial-7.7.2.jar;C:\Users\andy\.m2\repository\org\apache\lucene\lucene-spatial-extras\7.7.2\lucene-spatial-extras-7.7.2.jar;C:\Users\andy\.m2\repository\org\apache\lucene\lucene-spatial3d\7.7.2\lucene-spatial3d-7.7.2.jar;C:\Users\andy\.m2\repository\org\apache\lucene\lucene-suggest\7.7.2\lucene-suggest-7.7.2.jar;C:\Users\andy\.m2\repository\org\elasticsearch\elasticsearch-cli\6.8.5\elasticsearch-cli-6.8.5.jar;C:\Users\andy\.m2\repository\net\sf\jopt-simple\jopt-simple\5.0.2\jopt-simple-5.0.2.jar;C:\Users\andy\.m2\repository\com\carrotsearch\hppc\0.7.1\hppc-0.7.1.jar;C:\Users\andy\.m2\repository\com\tdunning\t-digest\3.2\t-digest-3.2.jar;C:\Users\andy\.m2\repository\org\hdrhistogram\HdrHistogram\2.1.9\HdrHistogram-2.1.9.jar;C:\Users\andy\.m2\repository\org\elasticsearch\jna\4.5.1\jna-4.5.1.jar;C:\Users\andy\.m2\repository\org\elasticsearch\plugin\reindex-client\6.8.5\reindex-client-6.8.5.jar;C:\Users\andy\.m2\repository\org\elasticsearch\elasticsearch-ssl-config\6.8.5\elasticsearch-ssl-config-6.8.5.jar;C:\Users\andy\.m2\repository\org\elasticsearch\plugin\lang-mustache-client\6.8.5\lang-mustache-client-6.8.5.jar;C:\Users\andy\.m2\repository\com\github\spullara\mustache\java\compiler\0.9.3\compiler-0.9.3.jar;C:\Users\andy\.m2\repository\org\elasticsearch\plugin\percolator-client\6.8.5\percolator-client-6.8.5.jar;C:\Users\andy\.m2\repository\org\elasticsearch\plugin\parent-join-client\6.8.5\parent-join-client-6.8.5.jar;C:\Users\andy\.m2\repository\org\elasticsearch\plugin\rank-eval-client\6.8.5\rank-eval-client-6.8.5.jar;C:\Users\andy\.m2\repository\org\elasticsearch\plugin\transport-netty4-client\6.8.5\transport-netty4-client-6.8.5.jar;C:\Users\andy\.m2\repository\io\netty\netty-buffer\4.1.43.Final\netty-buffer-4.1.43.Final.jar;C:\Users\andy\.m2\repository\io\netty\netty-codec\4.1.43.Final\netty-codec-4.1.43.Final.jar;C:\Users\andy\.m2\repository\io\netty\netty-codec-http\4.1.43.Final\netty-codec-http-4.1.43.Final.jar;C:\Users\andy\.m2\repository\io\netty\netty-resolver\4.1.43.Final\netty-resolver-4.1.43.Final.jar;C:\Users\andy\.m2\repository\org\elasticsearch\client\elasticsearch-rest-high-level-client\6.8.5\elasticsearch-rest-high-level-client-6.8.5.jar;C:\Users\andy\.m2\repository\org\elasticsearch\client\elasticsearch-rest-client\6.8.5\elasticsearch-rest-client-6.8.5.jar;C:\Users\andy\.m2\repository\org\apache\httpcomponents\httpasyncclient\4.1.4\httpasyncclient-4.1.4.jar;C:\Users\andy\.m2\repository\org\apache\httpcomponents\httpcore-nio\4.4.12\httpcore-nio-4.4.12.jar;C:\Users\andy\.m2\repository\org\elasticsearch\plugin\aggs-matrix-stats-client\6.8.5\aggs-matrix-stats-client-6.8.5.jar;C:\Users\andy\.m2\repository\com\fasterxml\jackson\core\jackson-core\2.10.1\jackson-core-2.10.1.jar;C:\Users\andy\.m2\repository\org\springframework\boot\spring-boot-starter-data-redis\2.2.2.RELEASE\spring-boot-starter-data-redis-2.2.2.RELEASE.jar;C:\Users\andy\.m2\repository\org\springframework\data\spring-data-redis\2.2.3.RELEASE\spring-data-redis-2.2.3.RELEASE.jar;C:\Users\andy\.m2\repository\org\springframework\data\spring-data-keyvalue\2.2.3.RELEASE\spring-data-keyvalue-2.2.3.RELEASE.jar;C:\Users\andy\.m2\repository\org\springframework\spring-oxm\5.2.2.RELEASE\spring-oxm-5.2.2.RELEASE.jar;C:\Users\andy\.m2\repository\io\lettuce\lettuce-core\5.2.1.RELEASE\lettuce-core-5.2.1.RELEASE.jar;C:\Users\andy\.m2\repository\io\netty\netty-common\4.1.43.Final\netty-common-4.1.43.Final.jar;C:\Users\andy\.m2\repository\io\netty\netty-handler\4.1.43.Final\netty-handler-4.1.43.Final.jar;C:\Users\andy\.m2\repository\io\netty\netty-transport\4.1.43.Final\netty-transport-4.1.43.Final.jar;C:\Users\andy\.m2\repository\io\projectreactor\reactor-core\3.3.1.RELEASE\reactor-core-3.3.1.RELEASE.jar;C:\Users\andy\.m2\repository\org\reactivestreams\reactive-streams\1.0.3\reactive-streams-1.0.3.jar;C:\Users\andy\.m2\repository\org\springframework\boot\spring-boot-starter-quartz\2.2.2.RELEASE\spring-boot-starter-quartz-2.2.2.RELEASE.jar;C:\Users\andy\.m2\repository\org\springframework\spring-tx\5.2.2.RELEASE\spring-tx-5.2.2.RELEASE.jar;C:\Users\andy\.m2\repository\org\quartz-scheduler\quartz\2.3.2\quartz-2.3.2.jar;C:\Users\andy\.m2\repository\com\mchange\mchange-commons-java\0.2.15\mchange-commons-java-0.2.15.jar;C:\Users\andy\.m2\repository\org\springframework\boot\spring-boot-starter-log4j2\2.2.2.RELEASE\spring-boot-starter-log4j2-2.2.2.RELEASE.jar;C:\Users\andy\.m2\repository\org\apache\logging\log4j\log4j-slf4j-impl\2.12.1\log4j-slf4j-impl-2.12.1.jar;C:\Users\andy\.m2\repository\org\apache\logging\log4j\log4j-api\2.12.1\log4j-api-2.12.1.jar;C:\Users\andy\.m2\repository\org\apache\logging\log4j\log4j-core\2.12.1\log4j-core-2.12.1.jar;C:\Users\andy\.m2\repository\org\apache\logging\log4j\log4j-jul\2.12.1\log4j-jul-2.12.1.jar;C:\Users\andy\.m2\repository\org\slf4j\jul-to-slf4j\1.7.29\jul-to-slf4j-1.7.29.jar;C:\Users\andy\.m2\repository\org\springframework\spring-messaging\5.2.2.RELEASE\spring-messaging-5.2.2.RELEASE.jar;C:\Users\andy\.m2\repository\org\springframework\spring-beans\5.2.2.RELEASE\spring-beans-5.2.2.RELEASE.jar;C:\Users\andy\.m2\repository\com\sun\mail\javax.mail\1.6.2\javax.mail-1.6.2.jar;C:\Users\andy\.m2\repository\javax\activation\activation\1.1\activation-1.1.jar;C:\Users\andy\.m2\repository\io\springfox\springfox-swagger2\2.9.2\springfox-swagger2-2.9.2.jar;C:\Users\andy\.m2\repository\io\swagger\swagger-annotations\1.5.20\swagger-annotations-1.5.20.jar;C:\Users\andy\.m2\repository\io\swagger\swagger-models\1.5.20\swagger-models-1.5.20.jar;C:\Users\andy\.m2\repository\com\fasterxml\jackson\core\jackson-annotations\2.10.1\jackson-annotations-2.10.1.jar;C:\Users\andy\.m2\repository\io\springfox\springfox-spi\2.9.2\springfox-spi-2.9.2.jar;C:\Users\andy\.m2\repository\io\springfox\springfox-core\2.9.2\springfox-core-2.9.2.jar;C:\Users\andy\.m2\repository\net\bytebuddy\byte-buddy\1.10.4\byte-buddy-1.10.4.jar;C:\Users\andy\.m2\repository\io\springfox\springfox-schema\2.9.2\springfox-schema-2.9.2.jar;C:\Users\andy\.m2\repository\io\springfox\springfox-swagger-common\2.9.2\springfox-swagger-common-2.9.2.jar;C:\Users\andy\.m2\repository\io\springfox\springfox-spring-web\2.9.2\springfox-spring-web-2.9.2.jar;C:\Users\andy\.m2\repository\com\google\guava\guava\20.0\guava-20.0.jar;C:\Users\andy\.m2\repository\com\fasterxml\classmate\1.5.1\classmate-1.5.1.jar;C:\Users\andy\.m2\repository\org\springframework\plugin\spring-plugin-core\1.2.0.RELEASE\spring-plugin-core-1.2.0.RELEASE.jar;C:\Users\andy\.m2\repository\org\springframework\plugin\spring-plugin-metadata\1.2.0.RELEASE\spring-plugin-metadata-1.2.0.RELEASE.jar;C:\Users\andy\.m2\repository\org\mapstruct\mapstruct\1.2.0.Final\mapstruct-1.2.0.Final.jar;C:\Users\andy\.m2\repository\io\springfox\springfox-swagger-ui\2.9.2\springfox-swagger-ui-2.9.2.jar;C:\Users\andy\.m2\repository\org\jsoup\jsoup\1.11.3\jsoup-1.11.3.jar;C:\Users\andy\.m2\repository\org\apache\ant\ant\1.10.5\ant-1.10.5.jar;C:\Users\andy\.m2\repository\org\apache\ant\ant-launcher\1.10.5\ant-launcher-1.10.5.jar;C:\Users\andy\.m2\repository\org\apache\httpcomponents\httpclient\4.5.2\httpclient-4.5.2.jar;C:\Users\andy\.m2\repository\org\apache\httpcomponents\httpcore\4.4.12\httpcore-4.4.12.jar;C:\Users\andy\.m2\repository\commons-codec\commons-codec\1.13\commons-codec-1.13.jar;C:\Users\andy\.m2\repository\com\google\code\gson\gson\2.8.6\gson-2.8.6.jar;C:\Users\andy\.m2\repository\org\dom4j\dom4j\2.1.1\dom4j-2.1.1.jar" net.mingsoft.test.MyLinkedList
复制代码
Error occurred during initialization of VM
Could not find agent library instrument on the library path, with error: Can't find dependent libraries
Module java.instrument may be missing from runtime image.
Process finished with exit code 1
复制代码
经过 maven 重新编译,实际上,并不是 maven 的问题
划线
评论
复制
发布于: 刚刚阅读数: 4
andy
关注
还未添加个人签名 2019-11-21 加入
还未添加个人简介
评论