Recently reinstalled with the community version of IDEA, can be really not peaceful, all kinds of problems have run out, although today’s problems with the community version has no relation.

When the project is started, an error is reported in the following picture, but it cannot be started.

 

The solution:

Method 1

Find the Configuration boot item for the project that will not start, edit it, and find the Shorten Command line under the Configuration TAB:

Select the third or fourth: JAR Manifest or CLASspath file.

Can be solved, if you did not find that you really did not find it, and then look carefully. Or, the IDEA version is too low (I have the community version of IDEA19.2 here)

 

Usually I use method 1, and here’s method 2, which is a little bit more complicated, but I haven’t used it

Method 2

Modify.idea\ workshop.xml under the project

Find the label

  <component name="PropertiesComponent">
Copy the code

Add a line inside the label

    <property name="dynamic.classpath" value="true"/>
Copy the code

Leave the other attributes unchanged

 

 

Finally, this problem I did not investigate the cause of its occurrence, process and so on, read the wrong information is probably the start instruction is too long and so on, but also Baidu after the solution, it seems that only in the community version will appear this problem.