1
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 https://maven.apache.org/xsd/maven-4.0.0.xsd">
  <modelVersion>4.0.0</modelVersion>
  <groupId>org.apache.maven</groupId>
  <artifactId>Serializer</artifactId>
  <version>0.0.1-SNAPSHOT</version>
</project>



<dependency>
    <groupId>com.opencsv</groupId>
    <artifactId>opencsv</artifactId>
    <version>5.2</version>
</dependency>

The error is occurring right where the first <dependency> is located for OpenCsv. I tried using re-formatters online, but all my efforts were unsuccessful.

tv1273
  • 15
  • 2
  • your pom is wrong. look at https://maven.apache.org/pom.html#Quick_Overview – Yuri G. Oct 30 '20 at 23:55
  • Everything must be inside the `` (so before the ``), you can only have one 'root' element in an XML file, for maven that is `` – greg-449 Oct 31 '20 at 07:43

0 Answers0