intellij idea 如何将一个普通项目转换为maven项目时间:2023-03-09 19:19:55 1.工程文件下新建文件pom.xml,并填写好内容。 2.在pom.xml 文件上右键 Add as Maven Project。