Guys, I found a partial solution! As I understand it, this is some kind of IDEA bug and this is where its solution is offered . Here is what we need:
- Go to the Project Settings
- Facets
- Remove Spring from the list
- Close the project
- Reopen the project
- We go into any config Spring, the environment automatically suggests to configure the context.
- Poking ok
- Hooray, everything * earned!
*Almost all. Looking into my code (link to github above), you can see that in home.jsp there is a variable, success, in which I write a message through
redirectAttributes.AddFlashAttribute("success","Цены увеличены")
And in InventoryController it is not, therefore IDEA cannot find its announcement. Here is a screen

Let's figure out how to safely disable this warning?