A parent project Project_c with two sub modules A,b is checked out on git and now wants to convert a,b two to Maven project. However, when Project_c is checked out to eclipse, it is found that Project_c is a project containing two a,b folders, the code in which is an precompiled Java file. Operations such as "Update Project" or "Convert to faceted Form" cannot be converted to two Maven Project. After Baidu, found the solution, the following on git to check out the parent project containing two sub module a,b Project_c, at this time the parent project contains two child module folders a,b Select "Import"--> "Existing Maven Projects", click " Browse "Select the file directory of sub module A, tick the Pom.xml file for item A, and then prompt the project a already exists, Add a version or custom suffix using" Name template "in Advanced "Settings" warns you to rename item A (such as renaming a_2) in the name template input box below Advanced, and then check the "Pom.xml" file again, and click Finish. After eclipse builds, maven Project with name A_2 appears. In the same vein, you can convert child module B to Maven Project. Solve the problem.