Error while running a Junit5 test case in IntelliJ
I am writing a JUnit5 test case for a servlet that is creating a JsonObject object. While running the test case in my IDE (IntelliJ), I'm getting the below error -

But, on the other hand, my core package build is successful. How to get this error resolved in my IDE as I can see that the dependency jar is getting downloaded while maven build.