IDEA Error: Command line is too long [How to Solve]

Error:
When IDEA starts the project, it prompts: Command line is too long. Shorten command line for XXX or also for Spring Boot default configuration.

Solution:
Find the .idea/workspace.xml file and add <property name="dynamic.classpath" value="true" /> under the node of name="PropertiesComponent"

Read More: