When I try to run my app, IntelliJ has just started to tell me
"Command Line is too Long. Shorten command line for my_app or also for Application default configuration."
the my_app
is a blue link which leads to an "Edit Configuration" window, automatically selecting and highlighting a dropdown for class path shortener. I select the suggested options, but no change.
I have no idea what this means - I'm using Scala, so I'm using a simple object MyObj extends App
which takes no parameters at all.
I have tried adding <property name="dynamic.classpath" value="true" />
to the workspace.xml as suggested by other similar questions, but to no avail.
I used to be able to run my programs in my project fine before. But what lengthens a command line? What is being put on the command line at all?
This answer is based on IntelliJ 2020.1.4
You can also set this as the default the next time you auto-generate a test.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With