问题描述
IDEA运行Java类显示命令行太长
Error running 'TrainGatewayApplication':Command line is too long. Shorten command line for TrainGatewayApplication or also forSpring Boot default configuration.
解决办法
1、修改配置
打开工程目录下的.idea文件夹下的workspace.xml文件,找到<component name="PropertiesComponent">标签,在最后一行添加属性
<property name="dynamic.classpath" value="true" />
2、修改运行配置


