Home > Common Problem > 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
Release: 2020-02-26 17:02:10
Original
19314 people have browsed it

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!

Related labels:
source:php.cn
Statement of this Website
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
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template