All the data packages of the open project are red, and the startup reports an error. Don’t panic when you encounter such a situation.
(this is only useful for the downloaded jar package project. If the project is newly opened, you need to download the Maven file)
click File in idea > Invalideate Caches…/restart clear cache and restart
Clear and restart the project