Home  >  Article  >  What should I do if idea cannot find or load the main class?

What should I do if idea cannot find or load the main class?

angryTom
angryTomOriginal
2020-02-17 12:30:1719224browse

What should I do if idea cannot find or load the main class?

What should I do if the main class cannot be found or cannot be loaded?

The main class cannot be found or cannot be loaded because the correct Class path

The solution is as follows:

What should I do if idea cannot find or load the main class?

1. Click on the red circle above, then click Edit Configuration to enter the setting interface below.

What should I do if idea cannot find or load the main class?

2. Switch to the interface below

What should I do if idea cannot find or load the main class?

3. The red × disappears and the operation is normal. The screenshot is as follows

What should I do if idea cannot find or load the main class?

What should I do if idea cannot find or load the main class?

For more knowledge about development tools and programming tutorials, please pay attention to the PHP Chinese website.​

The above is the detailed content of What should I do if idea cannot find or load the main class?. For more information, please follow other related articles on the PHP Chinese website!

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn