Failed to create a Maven project: 'D:/WorkSpaces/codes/pom.xml' already exists in VFS

Failed to create a Maven project: ‘D:/WorkSpaces/codes/pom.xml’ already exists in VFS
因为在maven中添加module时没有在项目路径上添加module的名称,如图所示:
Failed to create a Maven project: 'D:/WorkSpaces/codes/pom.xml' already exists in VFS_第1张图片
在项目路径下添加module的名称如下:
Failed to create a Maven project: 'D:/WorkSpaces/codes/pom.xml' already exists in VFS_第2张图片
下面是Stack overflow上的解决方法:
https://stackoverflow.com/questions/35763928/error-when-i-tried-create-new-maven-module-in-intellijide-15
Failed to create a Maven project: 'D:/WorkSpaces/codes/pom.xml' already exists in VFS_第3张图片
另一篇关于这个问题的方法:
链接http://blog.csdn.net/chenyufeng1991/article/details/73724686

你可能感兴趣的:(ssm,java学习笔记)