Command line is too long. Shorten command line for Application or also for Application default configuration?
In Intellij, go to "edit configurations" (Run -> Edit Configurations),
in the configuration tab that comes up in the line "shorten command line"
select option "classpath file"/"@argFiles (Java 9+)",
last option in the drop down menu.