Badly Formed Maven Project Error

I recently had an error loading a Java project in Netbeans – whenever I selected it, I’d get this:

How to fix

After some Googling, the fix appears to be commenting out the <parent> tag from the project’s pom.xml file.

<!--<parent>
 <groupId>foo</groupId>
 <artifactId>bar</artifactId>
 <version>1.0.0</version>
 </parent>-->

File this under “I have no idea how, but it fixes the problem”.

Leave a Reply

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