Idea报错:Command line is too long. Shorten command line for className

问题描述

使用Idea运行项目在项目启动时报错:

Command line is too long. Shorten command line for XXXApplication or also for Spring Boot default configuration.
问题分析

这种异常的出现是因为运行项目的指令过长引起的,在IDEA进行代码运行时加载了很多指令,这些指令拼接后的长度超出了系统的最大长度,当你的命令行长度超过 32768 个字符时,idea就会提示你使用短一点的命令行。
大家可以在运行项目是看一下console输出的第一行日志,一般就是你的运行conmand

问题解决

方式一:
在idea的.idea/workspace.xml中开启动态路径。
在workspace.xml中的
<component name="PropertiesComponent">条目下添加属性
<property name="dynamic.classpath" value="true" />
可以使idea在执行通过动态路径去寻找项目路径,具体的实现原理,但是可以查看idea社区版的源码。

方式二:
在项目配置的运行参数配置中可以选择短命令行运行即Shorten command line
依次执行run–>edit configurations–>你的项目–>configuration–>Environment
在此条目下选择Shorten command line默认选择的是user-local default:none
这里有三个选项:
none
classpath file
jar manifest
此处可以选classpath file或者jar manifest运行项目也可解决此问题

写在最后

当改了配置后我们可以看一下我们的conmand line情况

D:\work\jdk1.8.0_101\bin\java.exe -agentlib:jdwp=transport=dt_socket,address=127.0.0.1:57607,suspend=y,server=n -XX:TieredStopAtLevel=1 -noverify -Dspring.output.ansi.enabled=always -Dcom.sun.management.jmxremote -Dspring.jmx.enabled=true -Dspring.liveBeansView.mbeanDomain -Dspring.application.admin.enabled=true -javaagent:C:\Users\jonas\AppData\Local\JetBrains\IntelliJIdea2020.2\captureAgent\debugger-agent.jar -Dfile.encoding=UTF-8 -classpath C:\Users\jonas\AppData\Local\Temp\classpath1326103414.jar com.xxx.service.order.admin.ServiceOrderAdminApplication

可以看到应用启动的时候是有加载jmx的,我这里把jmx关一下,看一下是否能正常运行。
运气不错,关闭jmx后,项目运行起来了,但是运行的conmand line的长度真的是让人感动,之前那还怀疑真的会有那么长的命令行么,还真的有,以下为默认的启动命令行。

D:\work\jdk1.8.0_101\bin\java.exe -agentlib:jdwp=transport=dt_socket,address=127.0.0.1:57826,suspend=y,server=n -XX:TieredStopAtLevel=1 -noverify -Dspring.output.ansi.enabled=always -javaagent:C:\Users\jonas\AppData\Local\JetBrains\IntelliJIdea2020.2\captureAgent\debugger-agent.jar -Dfile.encoding=UTF-8 -classpath "D:\work\jdk1.8.0_101\jre\lib\charsets.jar;D:\work\jdk1.8.0_101\jre\lib\deploy.jar;D:\work\jdk1.8.0_101\jre\lib\ext\access-bridge-64.jar;D:\work\jdk1.8.0_101\jre\lib\ext\cldrdata.jar;D:\work\jdk1.8.0_101\jre\lib\ext\dnsns.jar;D:\work\jdk1.8.0_101\jre\lib\ext\jaccess.jar;D:\work\jdk1.8.0_101\jre\lib\ext\jfxrt.jar;D:\work\jdk1.8.0_101\jre\lib\ext\localedata.jar;D:\work\jdk1.8.0_101\jre\lib\ext\nashorn.jar;D:\work\jdk1.8.0_101\jre\lib\ext\sunec.jar;D:\work\jdk1.8.0_101\jre\lib\ext\sunjce_provider.jar;D:\work\jdk1.8.0_101\jre\lib\ext\sunmscapi.jar;D:\work\jdk1.8.0_101\jre\lib\ext\sunpkcs11.jar;D:\work\jdk1.8.0_101\jre\lib\ext\zipfs.jar;D:\work\jdk1.8.0_101\jre\lib\javaws.jar;D:\work\jdk1.8.0_101\jre\lib\jce.jar;D:\work\jdk1.8.0_101\jre\lib\jfr.jar;D:\work\jdk1.8.0_101\jre\lib\jfxswt.jar;D:\work\jdk1.8.0_101\jre\lib\jsse.jar;D:\work\jdk1.8.0_101\jre\lib\management-agent.jar;D:\work\jdk1.8.0_101\jre\lib\plugin.jar;D:\work\jdk1.8.0_101\jre\lib\resources.jar;D:\work\jdk1.8.0_101\jre\lib\rt.jar;D:\work\payment\service-order-admin\target\classes;D:\work\maven\repository\org\springframework\boot\spring-boot-starter-actuator\2.3.1.RELEASE\spring-boot-starter-actuator-2.3.1.RELEASE.jar;D:\work\maven\repository\org\springframework\boot\spring-boot-starter\2.3.1.RELEASE\spring-boot-starter-2.3.1.RELEASE.jar;D:\work\maven\repository\org\springframework\boot\spring-boot-starter-logging\2.3.1.RELEASE\spring-boot-starter-logging-2.3.1.RELEASE.jar;D:\work\maven\repository\ch\qos\logback\logback-classic\1.2.3\logback-classic-1.2.3.jar;D:\work\maven\repository\ch\qos\logback\logback-core\1.2.3\logback-core-1.2.3.jar;D:\work\maven\repository\org\apache\logging\log4j\log4j-to-slf4j\2.13.3\log4j-to-slf4j-2.13.3.jar;D:\work\maven\repository\org\apache\logging\log4j\log4j-api\2.13.3\log4j-api-2.13.3.jar;D:\work\maven\repository\org\slf4j\jul-to-slf4j\1.7.30\jul-to-slf4j-1.7.30.jar;D:\work\maven\repository\jakarta\annotation\jakarta.annotation-api\1.3.5\jakarta.annotation-api-1.3.5.jar;D:\work\maven\repository\org\yaml\snakeyaml\1.26\snakeyaml-1.26.jar;D:\work\maven\repository\org\springframework\boot\spring-boot-actuator-autoconfigure\2.3.1.RELEASE\spring-boot-actuator-autoconfigure-2.3.1.RELEASE.jar;D:\work\maven\repository\org\springframework\boot\spring-boot-actuator\2.3.1.RELEASE\spring-boot-actuator-2.3.1.RELEASE.jar;D:\work\maven\repository\io\micrometer\micrometer-core\1.5.1\micrometer-core-1.5.1.jar;D:\work\maven\repository\org\hdrhistogram\HdrHistogram\2.1.12\HdrHistogram-2.1.12.jar;D:\work\maven\repository\org\latencyutils\LatencyUtils\2.0.3\LatencyUtils-2.0.3.jar;D:\work\maven\repository\org\springframework\cloud\spring-cloud-starter-config\2.2.3.RELEASE\spring-cloud-starter-config-2.2.3.RELEASE.jar;D:\work\maven\repository\org\springframework\cloud\spring-cloud-starter\2.2.3.RELEASE\spring-cloud-starter-2.2.3.RELEASE.jar;D:\work\maven\repository\org\springframework\cloud\spring-cloud-context\2.2.3.RELEASE\spring-cloud-context-2.2.3.RELEASE.jar;D:\work\maven\repository\org\springframework\security\spring-security-rsa\1.0.9.RELEASE\spring-security-rsa-1.0.9.RELEASE.jar;D:\work\maven\repository\org\bouncycastle\bcpkix-jdk15on\1.64\bcpkix-jdk15on-1.64.jar;D:\work\maven\repository\org\bouncycastle\bcprov-jdk15on\1.64\bcprov-jdk15on-1.64.jar;D:\work\maven\repository\org\springframework\cloud\spring-cloud-config-client\2.2.3.RELEASE\spring-cloud-config-client-2.2.3.RELEASE.jar;D:\work\maven\repository\com\fasterxml\jackson\core\jackson-databind\2.11.0\jackson-databind-2.11.0.jar;D:\work\maven\repository\com\fasterxml\jackson\core\jackson-core\2.11.0\jackson-core-2.11.0.jar;D:\work\maven\repository\org\springframework\cloud\spring-cloud-starter-netflix-eureka-client\2.2.3.RELEASE\spring-cloud-starter-netflix-eureka-client-2.2.3.RELEASE.jar;D:\work\maven\repository\org\springframework\cloud\spring-cloud-netflix-hystrix\2.2.3.RELEASE\spring-cloud-netflix-hystrix-2.2.3.RELEASE.jar;D:\work\maven\repository\org\springframework\cloud\spring-cloud-netflix-eureka-client\2.2.3.RELEASE\spring-cloud-netflix-eureka-client-2.2.3.RELEASE.jar;D:\work\maven\repository\com\netflix\eureka\eureka-client\1.9.21\eureka-client-1.9.21.jar;D:\work\maven\repository\org\codehaus\jettison\jettison\1.3.7\jettison-1.3.7.jar;D:\work\maven\repository\stax\stax-api\1.0.1\stax-api-1.0.1.jar;D:\work\maven\repository\com\netflix\netflix-commons\netflix-eventbus\0.3.0\netflix-eventbus-0.3.0.jar;D:\work\maven\repository\com\netflix\netflix-commons\netflix-infix\0.3.0\netflix-infix-0.3.0.jar;D:\work\maven\repository\commons-jxpath\commons-jxpath\1.3\commons-jxpath-1.3.jar;D:\work\maven\repository\joda-time\joda-time\2.3\joda-time-2.3.jar;D:\work\maven\repository\org\antlr\antlr-runtime\3.4\antlr-runtime-3.4.jar;D:\work\maven\repository\org\antlr\stringtemplate\3.2.1\stringtemplate-3.2.1.jar;D:\work\maven\repository\antlr\antlr\2.7.7\antlr-2.7.7.jar;D:\work\maven\repository\com\google\code\gson\gson\2.8.6\gson-2.8.6.jar;D:\work\maven\repository\org\apache\commons\commons-math\2.2\commons-math-2.2.jar;D:\work\maven\repository\com\netflix\archaius\archaius-core\0.7.6\archaius-core-0.7.6.jar;D:\work\maven\repository\javax\ws\rs\jsr311-api\1.1.1\jsr311-api-1.1.1.jar;D:\work\maven\repository\com\netflix\servo\servo-core\0.12.21\servo-core-0.12.21.jar;D:\work\maven\repository\com\sun\jersey\jersey-core\1.19.1\jersey-core-1.19.1.jar;D:\work\maven\repository\com\sun\jersey\jersey-client\1.19.1\jersey-client-1.19.1.jar;D:\work\maven\repository\com\sun\jersey\contribs\jersey-apache-client4\1.19.1\jersey-apache-client4-1.19.1.jar;D:\work\maven\repository\org\apache\httpcomponents\httpclient\4.5.12\httpclient-4.5.12.jar;D:\work\maven\repository\org\apache\httpcomponents\httpcore\4.4.13\httpcore-4.4.13.jar;D:\work\maven\repository\commons-configuration\commons-configuration\1.10\commons-configuration-1.10.jar;D:\work\maven\repository\commons-lang\commons-lang\2.6\commons-lang-2.6.jar;D:\work\maven\repository\com\google\inject\guice\4.1.0\guice-4.1.0.jar;D:\work\maven\repository\javax\inject\javax.inject\1\javax.inject-1.jar;D:\work\maven\repository\aopalliance\aopalliance\1.0\aopalliance-1.0.jar;D:\work\maven\repository\com\fasterxml\jackson\dataformat\jackson-dataformat-xml\2.11.0\jackson-dataformat-xml-2.11.0.jar;D:\work\maven\repository\com\fasterxml\jackson\module\jackson-module-jaxb-annotations\2.11.0\jackson-module-jaxb-annotations-2.11.0.jar;D:\work\maven\repository\org\codehaus\woodstox\stax2-api\4.2\stax2-api-4.2.jar;D:\work\maven\repository\com\fasterxml\woodstox\woodstox-core\5.3.0\woodstox-core-5.3.0.jar;D:\work\maven\repository\com\netflix\eureka\eureka-core\1.9.21\eureka-core-1.9.21.jar;D:\work\maven\repository\org\springframework\cloud\spring-cloud-starter-netflix-archaius\2.2.3.RELEASE\spring-cloud-starter-netflix-archaius-2.2.3.RELEASE.jar;D:\work\maven\repository\org\springframework\cloud\spring-cloud-netflix-archaius\2.2.3.RELEASE\spring-cloud-netflix-archaius-2.2.3.RELEASE.jar;D:\work\maven\repository\org\springframework\cloud\spring-cloud-starter-netflix-ribbon\2.2.3.RELEASE\spring-cloud-starter-netflix-ribbon-2.2.3.RELEASE.jar;D:\work\maven\repository\com\netflix\ribbon\ribbon\2.3.0\ribbon-2.3.0.jar;D:\work\maven\repository\com\netflix\ribbon\ribbon-transport\2.3.0\ribbon-transport-2.3.0.jar;D:\work\maven\repository\io\reactivex\rxnetty-contexts\0.4.9\rxnetty-contexts-0.4.9.jar;D:\work\maven\repository\io\reactivex\rxnetty-servo\0.4.9\rxnetty-servo-0.4.9.jar;D:\work\maven\repository\io\reactivex\rxnetty\0.4.9\rxnetty-0.4.9.jar;D:\work\maven\repository\com\netflix\ribbon\ribbon-core\2.3.0\ribbon-core-2.3.0.jar;D:\work\maven\repository\com\netflix\ribbon\ribbon-httpclient\2.3.0\ribbon-httpclient-2.3.0.jar;D:\work\maven\repository\com\netflix\netflix-commons\netflix-commons-util\0.3.0\netflix-commons-util-0.3.0.jar;D:\work\maven\repository\com\netflix\ribbon\ribbon-loadbalancer\2.3.0\ribbon-loadbalancer-2.3.0.jar;D:\work\maven\repository\com\netflix\netflix-commons\netflix-statistics\0.1.1\netflix-statistics-0.1.1.jar;D:\work\maven\repository\io\reactivex\rxjava\1.3.8\rxjava-1.3.8.jar;D:\work\maven\repository\org\springframework\cloud\spring-cloud-starter-loadbalancer\2.2.3.RELEASE\spring-cloud-starter-loadbalancer-2.2.3.RELEASE.jar;D:\work\maven\repository\org\springframework\cloud\spring-cloud-loadbalancer\2.2.3.RELEASE\spring-cloud-loadbalancer-2.2.3.RELEASE.jar;D:\work\maven\repository\org\springframework\boot\spring-boot-starter-validation\2.3.1.RELEASE\spring-boot-starter-validation-2.3.1.RELEASE.jar;D:\work\maven\repository\io\projectreactor\addons\reactor-extra\3.3.3.RELEASE\reactor-extra-3.3.3.RELEASE.jar;D:\work\maven\repository\org\springframework\boot\spring-boot-starter-cache\2.3.1.RELEASE\spring-boot-starter-cache-2.3.1.RELEASE.jar;D:\work\maven\repository\com\stoyanr\evictor\1.0.0\evictor-1.0.0.jar;D:\work\maven\repository\com\netflix\ribbon\ribbon-eureka\2.3.0\ribbon-eureka-2.3.0.jar;D:\work\maven\repository\com\thoughtworks\xstream\xstream\1.4.11.1\xstream-1.4.11.1.jar;D:\work\maven\repository\xmlpull\xmlpull\1.1.3.1\xmlpull-1.1.3.1.jar;D:\work\maven\repository\xpp3\xpp3_min\1.1.4c\xpp3_min-1.1.4c.jar;D:\work\maven\repository\org\springframework\cloud\spring-cloud-starter-netflix-hystrix\2.2.3.RELEASE\spring-cloud-starter-netflix-hystrix-2.2.3.RELEASE.jar;D:\work\maven\repository\org\springframework\cloud\spring-cloud-netflix-ribbon\2.2.3.RELEASE\spring-cloud-netflix-ribbon-2.2.3.RELEASE.jar;D:\work\maven\repository\com\netflix\hystrix\hystrix-core\1.5.18\hystrix-core-1.5.18.jar;D:\work\maven\repository\com\netflix\hystrix\hystrix-serialization\1.5.18\hystrix-serialization-1.5.18.jar;D:\work\maven\repository\com\fasterxml\jackson\module\jackson-module-afterburner\2.11.0\jackson-module-afterburner-2.11.0.jar;D:\work\maven\repository\com\netflix\hystrix\hystrix-metrics-event-stream\1.5.18\hystrix-metrics-event-stream-1.5.18.jar;D:\work\maven\repository\com\netflix\hystrix\hystrix-javanica\1.5.18\hystrix-javanica-1.5.18.jar;D:\work\maven\repository\org\apache\commons\commons-lang3\3.10\commons-lang3-3.10.jar;D:\work\maven\repository\org\ow2\asm\asm\5.0.4\asm-5.0.4.jar;D:\work\maven\repository\org\aspectj\aspectjweaver\1.9.5\aspectjweaver-1.9.5.jar;D:\work\maven\repository\io\reactivex\rxjava-reactive-streams\1.2.1\rxjava-reactive-streams-1.2.1.jar;D:\work\maven\repository\org\reactivestreams\reactive-streams\1.0.3\reactive-streams-1.0.3.jar;D:\work\maven\repository\org\springframework\cloud\spring-cloud-starter-openfeign\2.2.3.RELEASE\spring-cloud-starter-openfeign-2.2.3.RELEASE.jar;D:\work\maven\repository\org\springframework\cloud\spring-cloud-openfeign-core\2.2.3.RELEASE\spring-cloud-openfeign-core-2.2.3.RELEASE.jar;D:\work\maven\repository\io\github\openfeign\form\feign-form-spring\3.8.0\feign-form-spring-3.8.0.jar;D:\work\maven\repository\io\github\openfeign\form\feign-form\3.8.0\feign-form-3.8.0.jar;D:\work\maven\repository\commons-fileupload\commons-fileupload\1.4\commons-fileupload-1.4.jar;D:\work\maven\repository\commons-io\commons-io\2.2\commons-io-2.2.jar;D:\work\maven\repository\org\springframework\spring-web\5.2.7.RELEASE\spring-web-5.2.7.RELEASE.jar;D:\work\maven\repository\org\springframework\spring-beans\5.2.7.RELEASE\spring-beans-5.2.7.RELEASE.jar;D:\work\maven\repository\org\springframework\cloud\spring-cloud-commons\2.2.3.RELEASE\spring-cloud-commons-2.2.3.RELEASE.jar;D:\work\maven\repository\org\springframework\security\spring-security-crypto\5.3.3.RELEASE\spring-security-crypto-5.3.3.RELEASE.jar;D:\work\maven\repository\io\github\openfeign\feign-core\10.10.1\feign-core-10.10.1.jar;D:\work\maven\repository\io\github\openfeign\feign-slf4j\10.10.1\feign-slf4j-10.10.1.jar;D:\work\maven\repository\io\github\openfeign\feign-hystrix\10.10.1\feign-hystrix-10.10.1.jar;D:\work\maven\repository\org\springframework\boot\spring-boot-starter-web\2.3.1.RELEASE\spring-boot-starter-web-2.3.1.RELEASE.jar;D:\work\maven\repository\org\springframework\boot\spring-boot-starter-json\2.3.1.RELEASE\spring-boot-starter-json-2.3.1.RELEASE.jar;D:\work\maven\repository\com\fasterxml\jackson\datatype\jackson-datatype-jdk8\2.11.0\jackson-datatype-jdk8-2.11.0.jar;D:\work\maven\repository\com\fasterxml\jackson\module\jackson-module-parameter-names\2.11.0\jackson-module-parameter-names-2.11.0.jar;D:\work\maven\repository\org\springframework\boot\spring-boot-starter-tomcat\2.3.1.RELEASE\spring-boot-starter-tomcat-2.3.1.RELEASE.jar;D:\work\maven\repository\org\apache\tomcat\embed\tomcat-embed-core\9.0.36\tomcat-embed-core-9.0.36.jar;D:\work\maven\repository\org\glassfish\jakarta.el\3.0.3\jakarta.el-3.0.3.jar;D:\work\maven\repository\org\apache\tomcat\embed\tomcat-embed-websocket\9.0.36\tomcat-embed-websocket-9.0.36.jar;D:\work\maven\repository\org\springframework\spring-webmvc\5.2.7.RELEASE\spring-webmvc-5.2.7.RELEASE.jar;D:\work\maven\repository\org\springframework\spring-aop\5.2.7.RELEASE\spring-aop-5.2.7.RELEASE.jar;D:\work\maven\repository\org\springframework\spring-context\5.2.7.RELEASE\spring-context-5.2.7.RELEASE.jar;D:\work\maven\repository\org\springframework\spring-expression\5.2.7.RELEASE\spring-expression-5.2.7.RELEASE.jar;D:\work\maven\repository\org\springframework\cloud\spring-cloud-starter-sleuth\2.2.3.RELEASE\spring-cloud-starter-sleuth-2.2.3.RELEASE.jar;D:\work\maven\repository\org\springframework\boot\spring-boot-starter-aop\2.3.1.RELEASE\spring-boot-starter-aop-2.3.1.RELEASE.jar;D:\work\maven\repository\org\springframework\cloud\spring-cloud-sleuth-core\2.2.3.RELEASE\spring-cloud-sleuth-core-2.2.3.RELEASE.jar;D:\work\maven\repository\org\aspectj\aspectjrt\1.9.5\aspectjrt-1.9.5.jar;D:\work\maven\repository\io\zipkin\brave\brave\5.12.3\brave-5.12.3.jar;D:\work\maven\repository\io\zipkin\brave\brave-context-slf4j\5.12.3\brave-context-slf4j-5.12.3.jar;D:\work\maven\repository\io\zipkin\brave\brave-instrumentation-messaging\5.12.3\brave-instrumentation-messaging-5.12.3.jar;D:\work\maven\repository\io\zipkin\brave\brave-instrumentation-rpc\5.12.3\brave-instrumentation-rpc-5.12.3.jar;D:\work\maven\repository\io\zipkin\brave\brave-instrumentation-spring-web\5.12.3\brave-instrumentation-spring-web-5.12.3.jar;D:\work\maven\repository\io\zipkin\brave\brave-instrumentation-http\5.12.3\brave-instrumentation-http-5.12.3.jar;D:\work\maven\repository\io\zipkin\brave\brave-instrumentation-spring-rabbit\5.12.3\brave-instrumentation-spring-rabbit-5.12.3.jar;D:\work\maven\repository\io\zipkin\brave\brave-instrumentation-kafka-clients\5.12.3\brave-instrumentation-kafka-clients-5.12.3.jar;D:\work\maven\repository\io\zipkin\brave\brave-instrumentation-kafka-streams\5.12.3\brave-instrumentation-kafka-streams-5.12.3.jar;D:\work\maven\repository\io\zipkin\brave\brave-instrumentation-httpclient\5.12.3\brave-instrumentation-httpclient-5.12.3.jar;D:\work\maven\repository\io\zipkin\brave\brave-instrumentation-httpasyncclient\5.12.3\brave-instrumentation-httpasyncclient-5.12.3.jar;D:\work\maven\repository\io\zipkin\brave\brave-instrumentation-spring-webmvc\5.12.3\brave-instrumentation-spring-webmvc-5.12.3.jar;D:\work\maven\repository\io\zipkin\brave\brave-instrumentation-servlet\5.12.3\brave-instrumentation-servlet-5.12.3.jar;D:\work\maven\repository\io\zipkin\brave\brave-instrumentation-jms\5.12.3\brave-instrumentation-jms-5.12.3.jar;D:\work\maven\repository\io\zipkin\reporter2\zipkin-reporter-metrics-micrometer\2.15.0\zipkin-reporter-metrics-micrometer-2.15.0.jar;D:\work\maven\repository\org\springframework\boot\spring-boot-configuration-processor\2.3.1.RELEASE\spring-boot-configuration-processor-2.3.1.RELEASE.jar;D:\work\maven\repository\org\springframework\boot\spring-boot-starter-data-redis\2.3.1.RELEASE\spring-boot-starter-data-redis-2.3.1.RELEASE.jar;D:\work\maven\repository\org\springframework\data\spring-data-redis\2.3.1.RELEASE\spring-data-redis-2.3.1.RELEASE.jar;D:\work\maven\repository\org\springframework\data\spring-data-keyvalue\2.3.1.RELEASE\spring-data-keyvalue-2.3.1.RELEASE.jar;D:\work\maven\repository\org\springframework\data\spring-data-commons\2.3.1.RELEASE\spring-data-commons-2.3.1.RELEASE.jar;D:\work\maven\repository\org\springframework\spring-tx\5.2.7.RELEASE\spring-tx-5.2.7.RELEASE.jar;D:\work\maven\repository\org\springframework\spring-oxm\5.2.7.RELEASE\spring-oxm-5.2.7.RELEASE.jar;D:\work\maven\repository\org\springframework\spring-context-support\5.2.7.RELEASE\spring-context-support-5.2.7.RELEASE.jar;D:\work\maven\repository\io\lettuce\lettuce-core\5.3.1.RELEASE\lettuce-core-5.3.1.RELEASE.jar;D:\work\maven\repository\io\netty\netty-common\4.1.50.Final\netty-common-4.1.50.Final.jar;D:\work\maven\repository\io\netty\netty-handler\4.1.50.Final\netty-handler-4.1.50.Final.jar;D:\work\maven\repository\io\netty\netty-resolver\4.1.50.Final\netty-resolver-4.1.50.Final.jar;D:\work\maven\repository\io\netty\netty-transport\4.1.50.Final\netty-transport-4.1.50.Final.jar;D:\work\maven\repository\io\projectreactor\reactor-core\3.3.6.RELEASE\reactor-core-3.3.6.RELEASE.jar;D:\work\maven\repository\io\micrometer\micrometer-registry-prometheus\1.5.1\micrometer-registry-prometheus-1.5.1.jar;D:\work\maven\repository\io\prometheus\simpleclient_common\0.8.1\simpleclient_common-0.8.1.jar;D:\work\maven\repository\io\prometheus\simpleclient\0.8.1\simpleclient-0.8.1.jar;D:\work\maven\repository\net\logstash\logback\logstash-logback-encoder\6.1\logstash-logback-encoder-6.1.jar;D:\work\maven\repository\com\spring4all\swagger-spring-boot-starter\1.9.0.RELEASE\swagger-spring-boot-starter-1.9.0.RELEASE.jar;D:\work\maven\repository\io\springfox\springfox-swagger-ui\2.9.2\springfox-swagger-ui-2.9.2.jar;D:\work\maven\repository\io\springfox\springfox-spring-web\2.9.2\springfox-spring-web-2.9.2.jar;D:\work\maven\repository\io\springfox\springfox-swagger2\2.9.2\springfox-swagger2-2.9.2.jar;D:\work\maven\repository\io\springfox\springfox-spi\2.9.2\springfox-spi-2.9.2.jar;D:\work\maven\repository\io\springfox\springfox-core\2.9.2\springfox-core-2.9.2.jar;D:\work\maven\repository\io\springfox\springfox-schema\2.9.2\springfox-schema-2.9.2.jar;D:\work\maven\repository\io\springfox\springfox-swagger-common\2.9.2\springfox-swagger-common-2.9.2.jar;D:\work\maven\repository\com\fasterxml\classmate\1.5.1\classmate-1.5.1.jar;D:\work\maven\repository\org\springframework\plugin\spring-plugin-core\1.2.0.RELEASE\spring-plugin-core-1.2.0.RELEASE.jar;D:\work\maven\repository\org\springframework\plugin\spring-plugin-metadata\1.2.0.RELEASE\spring-plugin-metadata-1.2.0.RELEASE.jar;D:\work\maven\repository\org\mapstruct\mapstruct\1.2.0.Final\mapstruct-1.2.0.Final.jar;D:\work\maven\repository\io\springfox\springfox-bean-validators\2.9.2\springfox-bean-validators-2.9.2.jar;D:\work\maven\repository\io\swagger\swagger-annotations\1.5.21\swagger-annotations-1.5.21.jar;D:\work\maven\repository\io\swagger\swagger-models\1.5.21\swagger-models-1.5.21.jar;D:\work\maven\repository\com\fasterxml\jackson\core\jackson-annotations\2.11.0\jackson-annotations-2.11.0.jar;D:\work\maven\repository\org\slf4j\slf4j-api\1.7.30\slf4j-api-1.7.30.jar;D:\work\maven\repository\com\alibaba\fastjson\1.2.71\fastjson-1.2.71.jar;D:\work\maven\repository\org\springframework\boot\spring-boot-devtools\2.3.1.RELEASE\spring-boot-devtools-2.3.1.RELEASE.jar;D:\work\maven\repository\org\springframework\boot\spring-boot\2.3.1.RELEASE\spring-boot-2.3.1.RELEASE.jar;D:\work\maven\repository\org\springframework\boot\spring-boot-autoconfigure\2.3.1.RELEASE\spring-boot-autoconfigure-2.3.1.RELEASE.jar;D:\work\maven\repository\org\projectlombok\lombok\1.18.12\lombok-1.18.12.jar;D:\work\maven\repository\jakarta\xml\bind\jakarta.xml.bind-api\2.3.3\jakarta.xml.bind-api-2.3.3.jar;D:\work\maven\repository\jakarta\activation\jakarta.activation-api\1.2.2\jakarta.activation-api-1.2.2.jar;D:\work\maven\repository\net\bytebuddy\byte-buddy\1.10.11\byte-buddy-1.10.11.jar;D:\work\maven\repository\org\springframework\spring-core\5.2.7.RELEASE\spring-core-5.2.7.RELEASE.jar;D:\work\maven\repository\org\springframework\spring-jcl\5.2.7.RELEASE\spring-jcl-5.2.7.RELEASE.jar;D:\work\maven\repository\com\alibaba\easyexcel\2.2.6\easyexcel-2.2.6.jar;D:\work\maven\repository\org\apache\poi\poi\3.17\poi-3.17.jar;D:\work\maven\repository\commons-codec\commons-codec\1.14\commons-codec-1.14.jar;D:\work\maven\repository\org\apache\poi\poi-ooxml\3.17\poi-ooxml-3.17.jar;D:\work\maven\repository\com\github\virtuald\curvesapi\1.04\curvesapi-1.04.jar;D:\work\maven\repository\org\apache\poi\poi-ooxml-schemas\3.17\poi-ooxml-schemas-3.17.jar;D:\work\maven\repository\org\apache\xmlbeans\xmlbeans\2.6.0\xmlbeans-2.6.0.jar;D:\work\maven\repository\cglib\cglib\3.1\cglib-3.1.jar;D:\work\maven\repository\org\ehcache\ehcache\3.8.1\ehcache-3.8.1.jar;D:\work\maven\repository\org\glassfish\jaxb\jaxb-runtime\2.3.3\jaxb-runtime-2.3.3.jar;D:\work\maven\repository\org\glassfish\jaxb\txw2\2.3.3\txw2-2.3.3.jar;D:\work\maven\repository\com\sun\istack\istack-commons-runtime\3.0.11\istack-commons-runtime-3.0.11.jar;D:\work\maven\repository\com\sun\activation\jakarta.activation\1.2.2\jakarta.activation-1.2.2.jar;D:\work\maven\repository\com\xxx\common\xxx-common-mp-logicdelete\1.1.0\xxx-common-mp-logicdelete-1.1.0.jar;D:\work\maven\repository\com\baomidou\mybatis-plus-boot-starter\3.2.0\mybatis-plus-boot-starter-3.2.0.jar;D:\work\maven\repository\com\baomidou\mybatis-plus\3.2.0\mybatis-plus-3.2.0.jar;D:\work\maven\repository\org\springframework\boot\spring-boot-starter-jdbc\2.3.1.RELEASE\spring-boot-starter-jdbc-2.3.1.RELEASE.jar;D:\work\maven\repository\com\zaxxer\HikariCP\3.4.5\HikariCP-3.4.5.jar;D:\work\maven\repository\org\springframework\spring-jdbc\5.2.7.RELEASE\spring-jdbc-5.2.7.RELEASE.jar;D:\work\maven\repository\com\baomidou\mybatis-plus-generator\3.2.0\mybatis-plus-generator-3.2.0.jar;D:\work\maven\repository\com\baomidou\mybatis-plus-extension\3.2.0\mybatis-plus-extension-3.2.0.jar;D:\work\maven\repository\org\mybatis\mybatis-spring\2.0.2\mybatis-spring-2.0.2.jar;D:\work\maven\repository\mysql\mysql-connector-java\8.0.20\mysql-connector-java-8.0.20.jar;D:\work\maven\repository\org\apache\shardingsphere\sharding-jdbc-spring-boot-starter\4.0.1\sharding-jdbc-spring-boot-starter-4.0.1.jar;D:\work\maven\repository\org\apache\shardingsphere\sharding-spring-boot-util\4.0.1\sharding-spring-boot-util-4.0.1.jar;D:\work\maven\repository\org\apache\shardingsphere\sharding-core-common\4.0.1\sharding-core-common-4.0.1.jar;D:\work\maven\repository\org\apache\shardingsphere\shardingsphere-spi\4.0.1\shardingsphere-spi-4.0.1.jar;D:\work\maven\repository\org\apache\shardingsphere\shardingsphere-sql-parser-relation\4.0.1\shardingsphere-sql-parser-relation-4.0.1.jar;D:\work\maven\repository\org\antlr\antlr4-runtime\4.7.2\antlr4-runtime-4.7.2.jar;D:\work\maven\repository\org\apache\shardingsphere\sharding-core-api\4.0.1\sharding-core-api-4.0.1.jar;D:\work\maven\repository\org\codehaus\groovy\groovy\2.4.5\groovy-2.4.5-indy.jar;D:\work\maven\repository\org\apache\shardingsphere\sharding-jdbc-core\4.0.1\sharding-jdbc-core-4.0.1.jar;D:\work\maven\repository\org\apache\shardingsphere\sharding-core-entry\4.0.1\sharding-core-entry-4.0.1.jar;D:\work\maven\repository\org\apache\shardingsphere\shardingsphere-sql-parser-engine\4.0.1\shardingsphere-sql-parser-engine-4.0.1.jar;D:\work\maven\repository\org\apache\shardingsphere\shardingsphere-sql-parser-spi\4.0.1\shardingsphere-sql-parser-spi-4.0.1.jar;D:\work\maven\repository\org\apache\shardingsphere\shardingsphere-sql-parser-sql92\4.0.1\shardingsphere-sql-parser-sql92-4.0.1.jar;D:\work\maven\repository\org\apache\shardingsphere\shardingsphere-sql-parser-mysql\4.0.1\shardingsphere-sql-parser-mysql-4.0.1.jar;D:\work\maven\repository\org\apache\shardingsphere\shardingsphere-sql-parser-postgresql\4.0.1\shardingsphere-sql-parser-postgresql-4.0.1.jar;D:\work\maven\repository\org\apache\shardingsphere\shardingsphere-sql-parser-oracle\4.0.1\shardingsphere-sql-parser-oracle-4.0.1.jar;D:\work\maven\repository\org\apache\shardingsphere\shardingsphere-sql-parser-sqlserver\4.0.1\shardingsphere-sql-parser-sqlserver-4.0.1.jar;D:\work\maven\repository\org\apache\shardingsphere\sharding-core-route\4.0.1\sharding-core-route-4.0.1.jar;D:\work\maven\repository\org\apache\shardingsphere\sharding-core-rewrite\4.0.1\sharding-core-rewrite-4.0.1.jar;D:\work\maven\repository\org\apache\shardingsphere\shardingsphere-rewrite-engine\4.0.1\shardingsphere-rewrite-engine-4.0.1.jar;D:\work\maven\repository\org\apache\shardingsphere\encrypt-core-rewrite\4.0.1\encrypt-core-rewrite-4.0.1.jar;D:\work\maven\repository\org\apache\shardingsphere\sharding-core-execute\4.0.1\sharding-core-execute-4.0.1.jar;D:\work\maven\repository\org\apache\shardingsphere\shardingsphere-execute\4.0.1\shardingsphere-execute-4.0.1.jar;D:\work\maven\repository\org\apache\shardingsphere\sharding-core-merge\4.0.1\sharding-core-merge-4.0.1.jar;D:\work\maven\repository\org\apache\shardingsphere\shardingsphere-merge\4.0.1\shardingsphere-merge-4.0.1.jar;D:\work\maven\repository\org\apache\shardingsphere\encrypt-core-merge\4.0.1\encrypt-core-merge-4.0.1.jar;D:\work\maven\repository\org\apache\shardingsphere\sharding-transaction-core\4.0.1\sharding-transaction-core-4.0.1.jar;D:\work\maven\repository\com\google\guava\guava\29.0-android\guava-29.0-android.jar;D:\work\maven\repository\com\google\guava\failureaccess\1.0.1\failureaccess-1.0.1.jar;D:\work\maven\repository\com\google\guava\listenablefuture\9999.0-empty-to-avoid-conflict-with-guava\listenablefuture-9999.0-empty-to-avoid-conflict-with-guava.jar;D:\work\maven\repository\com\google\code\findbugs\jsr305\3.0.2\jsr305-3.0.2.jar;D:\work\maven\repository\org\checkerframework\checker-compat-qual\2.5.5\checker-compat-qual-2.5.5.jar;D:\work\maven\repository\com\google\errorprone\error_prone_annotations\2.3.4\error_prone_annotations-2.3.4.jar;D:\work\maven\repository\com\google\j2objc\j2objc-annotations\1.3\j2objc-annotations-1.3.jar;D:\work\maven\repository\org\slf4j\jcl-over-slf4j\1.7.30\jcl-over-slf4j-1.7.30.jar;D:\work\maven\repository\org\apache\shardingsphere\sharding-transaction-spring\4.1.1\sharding-transaction-spring-4.1.1.jar;D:\work\maven\repository\com\sun\mail\javax.mail\1.6.0\javax.mail-1.6.0.jar;D:\work\maven\repository\javax\activation\activation\1.1\activation-1.1.jar;D:\work\maven\repository\com\baomidou\dynamic-datasource-spring-boot-starter\3.1.1\dynamic-datasource-spring-boot-starter-3.1.1.jar;D:\work\maven\repository\org\springframework\cloud\spring-cloud-starter-zipkin\2.2.3.RELEASE\spring-cloud-starter-zipkin-2.2.3.RELEASE.jar;D:\work\maven\repository\org\springframework\cloud\spring-cloud-sleuth-zipkin\2.2.3.RELEASE\spring-cloud-sleuth-zipkin-2.2.3.RELEASE.jar;D:\work\maven\repository\io\zipkin\zipkin2\zipkin\2.21.1\zipkin-2.21.1.jar;D:\work\maven\repository\io\zipkin\reporter2\zipkin-reporter\2.15.0\zipkin-reporter-2.15.0.jar;D:\work\maven\repository\io\zipkin\reporter2\zipkin-reporter-brave\2.15.0\zipkin-reporter-brave-2.15.0.jar;D:\work\maven\repository\io\zipkin\reporter2\zipkin-sender-kafka\2.15.0\zipkin-sender-kafka-2.15.0.jar;D:\work\maven\repository\io\zipkin\reporter2\zipkin-sender-activemq-client\2.15.0\zipkin-sender-activemq-client-2.15.0.jar;D:\work\maven\repository\io\zipkin\reporter2\zipkin-sender-amqp-client\2.15.0\zipkin-sender-amqp-client-2.15.0.jar;D:\work\maven\repository\commons-collections\commons-collections\3.2.2\commons-collections-3.2.2.jar;D:\work\maven\repository\com\xxx\starter\xxx-spring-boot-autoconfigure\2.0.0.M5-SNAPSHOT\xxx-spring-boot-autoconfigure-2.0.0.M5-20201009.062224-13.jar;D:\work\maven\repository\com\xxx\starter\xxx-spring-boot-core\2.0.0.M5-SNAPSHOT\xxx-spring-boot-core-2.0.0.M5-20201009.062224-13.jar;D:\work\maven\repository\javax\validation\validation-api\2.0.1.Final\validation-api-2.0.1.Final.jar;D:\work\maven\repository\org\hibernate\validator\hibernate-validator\6.1.5.Final\hibernate-validator-6.1.5.Final.jar;D:\work\maven\repository\jakarta\validation\jakarta.validation-api\2.0.2\jakarta.validation-api-2.0.2.jar;D:\work\maven\repository\org\jboss\logging\jboss-logging\3.4.1.Final\jboss-logging-3.4.1.Final.jar;D:\work\maven\repository\org\apache\commons\commons-collections4\4.1\commons-collections4-4.1.jar;D:\work\maven\repository\com\baomidou\mybatis-plus-core\3.2.0\mybatis-plus-core-3.2.0.jar;D:\work\maven\repository\com\baomidou\mybatis-plus-annotation\3.2.0\mybatis-plus-annotation-3.2.0.jar;D:\work\maven\repository\com\github\jsqlparser\jsqlparser\2.1\jsqlparser-2.1.jar;D:\work\maven\repository\org\mybatis\mybatis\3.5.2\mybatis-3.5.2.jar;D:\work\maven\repository\com\fasterxml\jackson\datatype\jackson-datatype-jsr310\2.11.0\jackson-datatype-jsr310-2.11.0.jar;D:\work\maven\repository\org\redisson\redisson\3.13.2\redisson-3.13.2.jar;D:\work\maven\repository\io\netty\netty-codec\4.1.50.Final\netty-codec-4.1.50.Final.jar;D:\work\maven\repository\io\netty\netty-buffer\4.1.50.Final\netty-buffer-4.1.50.Final.jar;D:\work\maven\repository\io\netty\netty-resolver-dns\4.1.50.Final\netty-resolver-dns-4.1.50.Final.jar;D:\work\maven\repository\io\netty\netty-codec-dns\4.1.50.Final\netty-codec-dns-4.1.50.Final.jar;D:\work\maven\repository\javax\cache\cache-api\1.1.1\cache-api-1.1.1.jar;D:\work\maven\repository\io\reactivex\rxjava2\rxjava\2.2.19\rxjava-2.2.19.jar;D:\work\maven\repository\org\jboss\marshalling\jboss-marshalling-river\2.0.9.Final\jboss-marshalling-river-2.0.9.Final.jar;D:\work\maven\repository\org\jboss\marshalling\jboss-marshalling\2.0.9.Final\jboss-marshalling-2.0.9.Final.jar;D:\work\maven\repository\com\fasterxml\jackson\dataformat\jackson-dataformat-yaml\2.11.0\jackson-dataformat-yaml-2.11.0.jar;D:\work\maven\repository\org\jodd\jodd-bean\5.0.13\jodd-bean-5.0.13.jar;D:\work\maven\repository\org\jodd\jodd-core\5.0.13\jodd-core-5.0.13.jar;D:\work\maven\repository\org\redisson\redisson-spring-data-23\3.13.2\redisson-spring-data-23-3.13.2.jar;D:\Program Files\JetBrains\IntelliJ IDEA 2020.2.2\lib\idea_rt.jar" com.xxx.service.order.admin.ServiceOrderAdminApplication

可以看到默认的启动时会把所有依赖jar报的路径也加上,这个真的是可怕。

评论 6
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值