Command line is too long. Shorten command line for

Insert picture description here

If you want to see more algorithm questions, you can scan the QR code above to follow my WeChat official account " Data Structure and Algorithms ". Up to now, I have updated more than 500 algorithm questions in the official account , some of which have been sorted into pdf documents. , As of now, there are more than 800 pages in total (and will continue to increase), you can reply to the keyword "pdf" in the official account to download.


I encountered the following error during unit testing
Command line is too long. Shorten command line for xxx

Androidstudio's solution

The correct solution posture is to open the running configuration item, select the JAR manifest below, save it and run it.
Insert picture description here


Intellij IDEA's solution

修改项目下 .idea\workspace.xml,找到标签 <component name="PropertiesComponent"> ,
 在标签里加一行  <property name="dynamic.classpath" value="true" />

Guess you like

Origin blog.csdn.net/abcdef314159/article/details/112307771