Child module pom xml does not exist

Child module pom xml does not exist

This exception happens when you are working with Maven and try to add maven module to the parent project and don’t follow the maven specification to create Parent and its child module. It means you have created Parent module and try to add child module just putting parent dependencies in child pom.xml.

  • You will see this exception while running mvn install command where parent tries to find child module during build.

  • Solution: To fix this issue include pom.xml file in parent as below and if child project folder does not exists create folder as below and copy paste child pom.xml from child project to parent child module as below:

Child module pom xml does not exist

  • For more information how to create multiple maven project please visit my other tutorial here and for maven official documentation please visit this URL

Leave a Reply

Your email address will not be published. Required fields are marked *