Maven Error : Maven Project Configuration for Module isn't availabe
Right click the module and select the Make Module "project module name" option from the pop up menu. The messages will be shown. But go to Problems and see now. This will clear and correct this problem.
Right-click on pom.xml and then click on "Add as Maven Project".
In my case the problem ocurred after uprgrading IJ from 14.x to 15.x and disappeared when I issued Build -> Rebuild Project