IntelliJ not recognizing Rest Assured dependencies
Hi everyone,
I'm working on a Maven project in IntelliJ and trying to use Rest Assured for API testing, but I'm having trouble importing Rest Assured dependencies .
IntelliJ shows "Cannot resolve symbol 'Response'" when I try to import `io.restassured.response.Response`, even though I have the dependency in my pom.xml. I have a lot of problems just with Restassured…
Thanks in advance for any help!


Please sign in to leave a comment.
You seem to have the dependencies on the test classpath, but your code is placed in the compile/runtime classpath. Have a look at your “scope” elements in the dependencies.
https://stackoverflow.com/a/29230903/2055163