🌐
GitHub
github.com › rest-assured › rest-assured › wiki › gettingstarted
GettingStarted · rest-assured/rest-assured Wiki · GitHub
Maven: <dependency> <groupId>io.rest-assured</groupId> <artifactId>rest-assured</artifactId> <version>6.0.0</version> <scope>test</scope> </dependency> Gradle: testImplementation 'io.rest-assured:rest-assured:6.0.0' Notes · You should place rest-assured before the JUnit dependency declaration in your pom.xml / build.gradle in order to make sure that the correct version of Hamcrest is used.
Author   rest-assured
🌐
Maven Central Repository
search.maven.org › io.rest-assured › rest-assured › 4.1.1
Maven Central: io.rest-assured:rest-assured:4.1.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 http://maven.apache.org/xsd/maven-4.0.0.xsd"> <modelVersion>4.0.0</modelVersion> <properties> <httpclient.version>4.5.3</httpclient.version> </properties> <parent> <groupId>io.rest-assured</groupId> <artifactId>rest-assured-parent</artifactId> <version>4.1.1</version> </parent> <groupId>io.rest-assured</groupId> <artifactId>rest-assured</artifactId> <version>4.1.1</version> <packaging>bundle</packaging> <name>REST Assured</name> <des
🌐
Maven Central Repository
search.maven.org › io.rest-assured › rest-assured-all › 4.4.0
Maven
<?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/maven-v4_0_0.xsd"> <parent> <artifactId>rest-assured-parent</artifactId> <groupId>io.rest-assured</groupId> <version>4.4.0</version> </parent> <modelVersion>4.0.0</modelVersion> <artifactId>rest-assured-all</artifactId> <build> <plugins> <plugin> <artifactId>maven-shade-plugin</artifactId> <version>3.2.4</version> <executions> <execution> <id>shade-artifacts</id> <goals> <goa
🌐
Stack Overflow
stackoverflow.com › questions › 53697873 › maven-restassured-dependencies-not-resolved
java - Maven: RestAssured dependencies not resolved - Stack Overflow
You can copy the right snippet from mvnrepository.com/artifact/io.rest-assured/rest-assured Then tell Intellij to reimport the maven projects to ensure the Maven dependencies are fetched. Thorbjørn Ravn Andersen – Thorbjørn Ravn Andersen · 2018-12-10 00:26:10 +00:00 Commented Dec 10, 2018 at 0...
🌐
Maven Repository
mvnrepository.com › artifact › io.rest-assured › rest-assured
Maven Repository: io.rest-assured » rest-assured
January 16, 2026 - Rest-Assured is a Java library for testing REST services. ... aar android apache api arm assets build build-system bundle client clojure cloud config cran data database eclipse example extension framework github gradle groovy io ios javascript jvm kotlin library logging maven mobile module ...
🌐
Maven Central
central.sonatype.com › artifact › io.rest-assured › rest-assured › 4.1.1
io.rest-assured:rest-assured:4.1.1 - Maven Central - Sonatype
--> <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> <properties> <httpclient.version>4.5.3</httpclient.version> </properties> <parent> <groupId>io.rest-assured</groupId> <artifactId>rest-assured-parent</artifactId> <version>4.1.1</version> </parent> <groupId>io.rest-assured</groupId> <artifactId>rest-assured</artifactId> <version>4.1.1</version> <packaging>bundle</packaging> <name>REST Assured</name> <des
🌐
Stack Overflow
stackoverflow.com › questions › 74277626 › import-io-restassured-restassured-cannot-be-resolved
java - import io.restassured.RestAssured cannot be resolved - Stack Overflow
I am using latest dependencies from maven. ... Using exactly the same pom file, I had no issues resolving the Rest Assured. It must be something else. Network related issues. Try purging the local maven repository: ... <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>DemoProject</groupId> <artifactId>DemoProject</artifactId> <version>0.0.1-SNAPSHOT</version> <build> <sourceDirectory>src</sourceDi
🌐
Maven Repository
mvnrepository.com › artifact › io.rest-assured › rest-assured › 4.4.0
Maven Repository: io.rest-assured » rest-assured » 4.4.0
May 23, 2021 - Rest-Assured is a Java library for testing REST services. ... CVE-2026-24400CVE-2024-47554CVE-2023-33008CVE-2022-42004CVE-2022-42003CVE-2022-25647CVE-2021-46877CVE-2020-36518CVE-2019-10202CVE-2019-10172View 7 more ... ... aar android apache api arm assets build build-system bundle client clojure cloud config cran data database eclipse example extension framework github gradle groovy io ios javascript jvm kotlin library logging maven mobile module npm osgi persistence plugin resources rlang sdk server service spring sql starter testing tools ui web webapp
Published   May 23, 2021
Version   4.4.0
Find elsewhere
🌐
Maven Central
central.sonatype.com › artifact › io.rest-assured › rest-assured-common › 4.0.0
io.rest-assured:rest-assured-common:4.0.0 - Maven Central
pkg:maven/io.rest-assured/rest-assured-common@4.0.0 ... <dependency> <groupId>io.rest-assured</groupId> <artifactId>rest-assured-common</artifactId> <version>4.0.0</version> </dependency>
Top answer
1 of 5
7

I doubt the "dependencyManagement" tag, can you try with the below

  <version>0.0.1-SNAPSHOT</version>
          <dependencies>
            <dependency>
                <groupId>io.rest-assured</groupId>
                <artifactId>rest-assured</artifactId>
                <version>3.0.0</version>
            </dependency>
            <!-- https://mvnrepository.com/artifact/org.testng/testng -->
            <dependency>
                <groupId>org.testng</groupId>
                <artifactId>testng</artifactId>
                <version>6.9.10</version>
            </dependency>
            <dependency>
                <groupId>org.codehaus.groovy</groupId>
                <artifactId>groovy-all</artifactId>
                <version>2.4.5</version>
            </dependency>
        </dependencies>
</project>
2 of 5
1

Here is the complete POM.XML with latest dependencies.

http://maven.apache.org/xsd/maven-4.0.0.xsd"> 4.0.0

<groupId>com.student.app</groupId>
<artifactId>PaypalExmaples</artifactId>
<version>0.0.1-SNAPSHOT</version>
<packaging>jar</packaging>

<name>PaypalExmaples</name>
<url>http://maven.apache.org</url>

<properties>
    <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
</properties>

<dependencies>

    <!-- https://mvnrepository.com/artifact/io.rest-assured/rest-assured -->
    <dependency>
        <groupId>io.rest-assured</groupId>
        <artifactId>rest-assured</artifactId>
        <version>4.1.2</version>
        <scope>test</scope>
    </dependency>

    <!-- https://mvnrepository.com/artifact/org.testng/testng -->
    <dependency>
        <groupId>org.testng</groupId>
        <artifactId>testng</artifactId>
        <version>7.1.0</version>
        <scope>test</scope>
    </dependency>

    <!-- https://mvnrepository.com/artifact/org.hamcrest/hamcrest-all -->
    <dependency>
        <groupId>org.hamcrest</groupId>
        <artifactId>hamcrest-all</artifactId>
        <version>1.3</version>
        <scope>test</scope>
    </dependency>

    <!-- https://mvnrepository.com/artifact/org.codehaus.groovy/groovy -->
    <dependency>
        <groupId>org.codehaus.groovy</groupId>
        <artifactId>groovy</artifactId>
        <version>2.5.9</version>
    </dependency>

    <!-- https://mvnrepository.com/artifact/org.apache.httpcomponents/httpclient -->
    <dependency>
        <groupId>org.apache.httpcomponents</groupId>
        <artifactId>httpclient</artifactId>
        <version>4.5.11</version>
    </dependency>

    <!-- https://mvnrepository.com/artifact/org.apache.httpcomponents/httpmime -->
    <dependency>
        <groupId>org.apache.httpcomponents</groupId>
        <artifactId>httpmime</artifactId>
        <version>4.3.1</version>
    </dependency>


    <!-- https://mvnrepository.com/artifact/org.apache.commons/commons-lang3 -->
    <dependency>
        <groupId>org.apache.commons</groupId>
        <artifactId>commons-lang3</artifactId>
        <version>3.9</version>
    </dependency>

    <dependency>
        <groupId>io.rest-assured</groupId>
        <artifactId>rest-assured-all</artifactId>
        <version>4.0.0</version>
    </dependency>

    <!-- https://mvnrepository.com/artifact/com.fasterxml.jackson.core/jackson-databind -->
    <dependency>
        <groupId>com.fasterxml.jackson.core</groupId>
        <artifactId>jackson-databind</artifactId>
        <version>2.10.2</version>
    </dependency>

    <!-- https://mvnrepository.com/artifact/org.codehaus.groovy/groovy-all -->
    <dependency>
        <groupId>org.codehaus.groovy</groupId>
        <artifactId>groovy-all</artifactId>
        <version>2.5.9</version>
        <type>pom</type>
    </dependency>

    <dependency>
        <groupId>org.skyscreamer</groupId>
        <artifactId>jsonassert</artifactId>
        <version>1.5.0</version>
        <scope>test</scope>
    </dependency>

    <!-- https://mvnrepository.com/artifact/commons-io/commons-io -->
    <dependency>
        <groupId>commons-io</groupId>
        <artifactId>commons-io</artifactId>
        <version>2.6</version>
    </dependency>

    <dependency>
        <groupId>com.fasterxml.jackson.core</groupId>
        <artifactId>jackson-databind</artifactId>
        <version>2.10.0.pr2</version>
    </dependency>

    <!-- https://mvnrepository.com/artifact/org.scribe/scribe -->
    <dependency>
        <groupId>org.scribe</groupId>
        <artifactId>scribe</artifactId>
        <version>1.3.7</version>
    </dependency>


</dependencies>

🌐
Maven Repository
mvnrepository.com › artifact › io.rest-assured
Maven Repository: io.rest-assured
Rest-Assured is a Java library for testing REST services. ... aar android apache api arm assets build build-system bundle client clojure cloud config cran data database eclipse example extension framework github gradle groovy io ios javascript jvm kotlin library logging maven mobile module ...
🌐
Rest-assured
rest-assured.io
REST Assured
2025-12-12: REST Assured 6.0.0 is released. It raises the baseline to Java 17+, upgrades to Groovy 5, adds Spring 7 + Jackson 3 support (and bumps minimum versions for Spring/Yasson/Johnzon).
🌐
Maven Repository
mvnrepository.com › artifact › com.jayway.restassured › rest-assured › 4.0.0
Maven Repository: com.jayway.restassured » rest-assured » 4.0.0
November 1, 2017 - Current Group · Group · Jayway RestAssured · com.jayway.restassured · Description · Links · Related Categories · Testing · Mocking
Published   Nov 01, 2017
Version   4.0.0
🌐
Maven Central
central.sonatype.com › artifact › io.rest-assured › rest-assured-all › 4.1.1
io.rest-assured:rest-assured-all:4.1.1 - Maven Central
<dependency> <groupId>io.rest-assured</groupId> <artifactId>rest-assured-all</artifactId> <version>4.1.1</version> </dependency> ... <?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/maven-v4_0_0.xsd"> <parent> <artifactId>rest-assured-parent</artifactId> <groupId>io.rest-assured</groupId> <version>4.1.1</version> </parent> <modelVersion>4.0.0</modelVersion> <artifactId>rest-assured-all</artifactId> <build> <plugins> <plugin
🌐
Stack Overflow
stackoverflow.com › questions › 63799802 › unable-to-find-import-io-rest-assured-packages-even-after-adding-to-maven-proj
pom.xml - Unable to find/import 'io.rest-assured' packages even after adding to Maven Project - Stack Overflow
<dependency> <groupId>io.rest-assured</groupId> <artifactId>json-path</artifactId> <version>3.3.0</version> </dependency> <dependency> <groupId>io.rest-assured</groupId> <artifactId>json-schema-validator</artifactId> <version>4.3.0</version> </dependency> maven ·
🌐
Maven Central
central.sonatype.com › artifact › io.rest-assured › rest-assured-parent
Maven Central: io.rest-assured:rest-assured-parent
--> <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/maven-v4_0_0.xsd"> <modelVersion>4.0.0</modelVersion> <groupId>io.rest-assured</groupId> <artifactId>rest-assured-parent</artifactId> <packaging>pom</packaging> <version>6.0.0</version> <url>https://rest-assured.io/</url> <name>REST Assured Parent POM</name> <description>Java DSL for easy testing of REST services</description> <inceptionYear>2010</inceptionYear> <issueManagement> <system>GitHub Issue Tracking<
🌐
QA Automation Expert
qaautomation.expert › 2024 › 04 › 16 › setup-basic-rest-assured-maven-project-in-eclipse-ide
Setup Basic REST Assured Maven Project In Eclipse IDE – QA Automation Expert
May 2, 2025 - Step 4.4 – This is the structure of POM.xml created for the project. In the Project Explorer, navigate to your Maven project and open pom.xml. Add REST Assured dependency under dependencies in the pom.xml file.