[Solved] Intellij IDEA Error: Command line is too long

solve:

    1. find the workspace.xml configuration file in the. Idea folder of the project
    1. it may be hidden. You can set editor – > through idea; Remove. Idea from the ignore… Box at the bottom of file types. Locate the component name = “propertiescomponent” tag. Add a line at the bottom of the tag: property name = “dynamic. Classpath” value = “true”. Final effect
<component name="PropertiesComponent">
...other properties... 
 <property name="dynamic.classpath" value="true" />
</component>

Read More: