ERROR - The parent project must have a packaging type of POM while creating a new Maven Module

Error

The parent project must have a packaging type of POM while creating a new Maven Module in Eclipse


Cause

We are trying to create a new sub module whose parent packaging is not POM  

Resolution

Go to the Parent project Pom file and find the following 

 <packaging></packaging>

Make sure that the packaging type specified in POM and not Jar or War.


Subscribe to Java News and Posts. Get latest updates and posts on Java from Buggybread.com
Enter your email address:
Delivered by FeedBurner
comments powered by Disqus