When we import other people's projects when using IDE, there will often be problems that the package does not exist, such as:
You can set it as follows:
Here is the Chinese version, the English version is available:
File—>Setting—>Build,Execution,Deployment—>Maven—>Importing
Set like this