Here is the code, everything seems to be normal here https://github.com/KaPaHgaIII/SpringOne , at least everything works.
But for some reason Intellij IDEA 14 continues to highlight all these things, says "Can not resolve ..."
It used to work, and then deleted contexts from Fasets, and re-created it - it began to highlight.

alt text

    1 answer 1

    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:

    1. Go to the Project Settings
    2. Facets
    3. Remove Spring from the list
    4. Close the project
    5. Reopen the project
    6. We go into any config Spring, the environment automatically suggests to configure the context.
    7. Poking ok
    8. 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

    alt text

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