First, create an ordinary Maven project
1. Configure Maven for the first time
Configure VM Option: Find files needed to build Maven from Idea first, which is faster than remote download creation.
Fill in: -DarchetypeCatalog = internal
2. Create maven project, common type
3. Complete the catalog
If the created Maven project is not the following structure, add the folder yourself and set the folder permissions.
Add folder:
Set folder permissions: Click on the top right corner: project structure-> modules
Select the folder and mark it as the corresponding role: source (folder for storing java files), resource, tests, etc.
If source is not marked, the folder cannot be created. This folder cannot create java files.