There are two types of folders that you can create: 1) Package 2) Source folder
1) The package looks like this: 
To create a package, right-click the desired folder (in my example, I right-click on Java resources) -> Create -> Package

A popup will appear that looks like this:

"Source folder:" Here you select your project. If you donβt see anything there, click "Browse ..." and find your project. If I click "Browse ...", it will show the following:
"Name:" is the name you will give your package.

Note. Packages should be in source folders. The source folders are the parent folder.
2) The source folders look like this: 
To create the source folder, right-click the desired folder (in my example, I right-click on Java resources) β Create β Source folder

In the "Project Name:" section, enter a name for the project. If you need help, click "Browse ..."
In the "Folder Name:" section, enter the desired folder name.
Error: if you try to create the folder "src / main / resources" and you run this error "Unable to insert" the project name inside the "ProjectName". To enable nesting exception 'main / from

Decision:

source share