如果是之前运行都可以,配置都没有问题,那么
刷新一下(刷新按钮:report all maven projects),就可以了
如果是其他问题配置的问题,请参考其他博客,如:
https://blog.csdn.net/feiz3020/article/details/80171839