Здравствуйте, подскажите плиз кто знает 🙏 Хочу добавить selenium библиотеку в пом файл, а мне пишет error: Invalid content was found starting with element '{"
http://maven.apache.org/POM/4.0.0":dependency}'. One of '{"
http://maven.apache.org/POM/4.0.0":parent, "
http://maven.apache.org/POM/4.0.0":packaging, "
http://maven.apache.org/POM/4.0.0":name, "
http://maven.apache.org/POM/4.0.0":description, "
http://maven.apache.org/POM/4.0.0":url, "
http://maven.apache.org/POM/4.0.0":prerequisites, "
http://maven.apache.org/POM/4.0.0":issueManagement, "
http://maven.apache.org/POM/4.0.0":ciManagement, "
http://maven.apache.org/POM/4.0.0":inceptionYear, "
http://maven.apache.org/POM/4.0.0":mailingLists, "
http://maven.apache.org/POM/4.0.0":developers, "
http://maven.apache.org/POM/4.0.0":contributors, "
http://maven.apache.org/POM/4.0.0":licenses, "
http://maven.apache.org/POM/4.0.0":scm, "
http://maven.apache.org/POM/4.0.0":organization, "
http://maven.apache.org/POM/4.0.0":build, "
http://maven.apache.org/POM/4.0.0":profiles, "
http://maven.apache.org/POM/4.0.0":modules, "
http://maven.apache.org/POM/4.0.0":repositories, "
http://maven.apache.org/POM/4.0.0":pluginRepositories, "
http://maven.apache.org/POM/4.0.0":reports, "
http://maven.apache.org/POM/4.0.0":reporting, "
http://maven.apache.org/POM/4.0.0":dependencyManagement, "
http://maven.apache.org/POM/4.0.0":distributionManagement, "
http://maven.apache.org/POM/4.0.0":properties}' is expected.
Как это можно устранить?
Cодержимое моего пом файла:
<?xml version="1.0" encoding="UTF-8"?>
<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 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>
<groupId>org.example</groupId>
<artifactId>G46</artifactId>
<version>1.0-SNAPSHOT</version>
<dependencies>
<dependency>
<groupId>org.apache.logging.log4j</groupId>
<artifactId>log4j-core</artifactId>
<version>2.14.1</version>
</dependency>
</dependencies>
<dependency>
<groupId>org.seleniumhq.selenium</groupId>
<artifactId>selenium-java</artifactId>
<version>3.141.59</version>
</dependency>
<dependency>
<groupId>junit</groupId>
<artifactId>junit</artifactId>
<version>4.13.2</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>com.codeborne</groupId>
<artifactId>selenide</artifactId>
<version>6.1.1</version>
</dependency>
<properties>
<maven.compiler.source>16</maven.compiler.source>
<
maven.compiler.target>16</
maven.compiler.target>
</properties>
</project>