运行个test的main办法 始终呈现:Command line is too long

一搜一片全是 批改.idea目录下workspace.xml中name为PropertiesComponent的component

<component name="PropertiesComponent">   <property name="dynamic.classpath" value="true" /><component>


然而这种形式并不好用 也不举荐

如果你是运行一般的main 那么你能够这么干
1.点击 Modify options

2.抉择 Shorten command line

3.会多出一个 Shorten command line的选项

4.能够抉择 JAR manifest 或者 classpath file

而后再试就能够运行了!

非main办法(Spring)的操作相似 不须要 点击 Modify options Shorten command line

记录一下
扣腚去了···