This error indicates a bad syntax of your POM. In more detail, this could mean:
- The POM contains invalid/unknown elements that Maven does not understand.
- The POM is not even well-formed XML, e.g. the XML elements are not properly nested.
In most cases, all those problems are due to simple typos that can be easily fixed. You should also verify that your POM complies to the POM Reference.