com.fasterxml.jackson.databind.JsonMappingException - No idea what went wrong

2,681 views
Skip to first unread message

akshay....@agrostar.in

unread,
Jun 15, 2017, 6:09:23 AM6/15/17
to REST assured
So all the tests in my projects were fine, and all of a sudden I see below exception for a lot of tests.

I have absolutely no idea what's going on. Please help.


com
.fasterxml.jackson.databind.JsonMappingException: JsonObject (through reference chain: com.google.gson.JsonObject["asString"])
 at com
.google.gson.JsonElement.getAsString(JsonElement.java:191)
 at sun
.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
 at sun
.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
 at sun
.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
 at java
.lang.reflect.Method.invoke(Method.java:498)
 at com
.fasterxml.jackson.databind.ser.BeanPropertyWriter.get(BeanPropertyWriter.java:679)
 at com
.fasterxml.jackson.databind.ser.BeanPropertyWriter.serializeAsField(BeanPropertyWriter.java:534)
 at com
.fasterxml.jackson.databind.ser.std.BeanSerializerBase.serializeFields(BeanSerializerBase.java:597)
 at com
.fasterxml.jackson.databind.ser.BeanSerializer.serialize(BeanSerializer.java:142)
 at com
.fasterxml.jackson.databind.ser.DefaultSerializerProvider.serializeValue(DefaultSerializerProvider.java:118)
 at com
.fasterxml.jackson.databind.ObjectMapper.writeValue(ObjectMapper.java:1819)
 at com
.fasterxml.jackson.databind.ObjectMapper$writeValue$0.call(Unknown Source)
 at org
.codehaus.groovy.runtime.callsite.CallSiteArray.defaultCall(CallSiteArray.java:48)
 at org
.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:113)
 at org
.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:133)
 at io
.restassured.internal.mapping.Jackson2Mapper.serialize(Jackson2Mapper.groovy:53)
 at io
.restassured.internal.mapping.Jackson2Mapper.serialize(Jackson2Mapper.groovy)
 at io
.restassured.mapper.ObjectMapper$serialize.call(Unknown Source)
 at org
.codehaus.groovy.runtime.callsite.CallSiteArray.defaultCall(CallSiteArray.java:48)
 at org
.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:113)
 at org
.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:125)
 at io
.restassured.internal.mapping.ObjectMapping.serializeWithJackson2(ObjectMapping.groovy:181)
 at sun
.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
 at sun
.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
 at sun
.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
 at java
.lang.reflect.Method.invoke(Method.java:498)
 at org
.codehaus.groovy.reflection.CachedMethod.invoke(CachedMethod.java:93)
 at org
.codehaus.groovy.runtime.callsite.StaticMetaMethodSite$StaticMetaMethodSiteNoUnwrapNoCoerce.invoke(StaticMetaMethodSite.java:151)
 at org
.codehaus.groovy.runtime.callsite.StaticMetaMethodSite.callStatic(StaticMetaMethodSite.java:102)
 at org
.codehaus.groovy.runtime.callsite.CallSiteArray.defaultCallStatic(CallSiteArray.java:56)
 at org
.codehaus.groovy.runtime.callsite.AbstractCallSite.callStatic(AbstractCallSite.java:194)
 at org
.codehaus.groovy.runtime.callsite.AbstractCallSite.callStatic(AbstractCallSite.java:214)
 at io
.restassured.internal.mapping.ObjectMapping.serialize(ObjectMapping.groovy:130)
 at io
.restassured.internal.mapping.ObjectMapping$serialize.call(Unknown Source)
 at org
.codehaus.groovy.runtime.callsite.CallSiteArray.defaultCall(CallSiteArray.java:48)
 at org
.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:113)
 at io
.restassured.internal.RequestSpecificationImpl.body(RequestSpecificationImpl.groovy:829)
 at crm
.farmer_onboarding.FarmerOnboardingTests.verifyVerifyOtp(FarmerOnboardingTests.java:70)

akshay....@agrostar.in

unread,
Jun 15, 2017, 6:25:43 AM6/15/17
to REST assured
After some analysis in the failure pattern, I've observed that all the tests failed with this exception have wither POST, PUT or PATCH requests.

I'm posting the line of code from one of the tests, this code was working absolutely fine until now.

import com.google.gson.JsonObject;
import com.google.gson.JsonParser;
import static io.restassured.RestAssured.given;
import io.restassured.response.Response;

RequestSpecification spec = new RequestSpecBuilder().setBaseUri(someBaseUri).setBasePath(someEndpoint).build();
JsonParser parser = new JsonParser();
JsonObject jsonObject = parser.parse("requestBody").getAsJsonObject();
response
= given().spec(spec).headers("key","value").body(jsonObject).when().post(); //the exception is throw from this line

Johan Haleby

unread,
Jun 15, 2017, 6:39:53 AM6/15/17
to rest-a...@googlegroups.com
Try 

RestAssured.config = RestAssured.config().httpClient(httpClientConfig().reuseHttpClientInstance());

/Johan



--
You received this message because you are subscribed to the Google Groups "REST assured" group.
To unsubscribe from this group and stop receiving emails from it, send an email to rest-assured+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

akshay....@agrostar.in

unread,
Jun 15, 2017, 7:02:26 AM6/15/17
to REST assured
Hi Johan,

I tried to put that line in my TestNG Listener where I'm doing some global configuration, e.g. RestAssured.baseURI = "http://foo.bar.com/", but I'm getting below new exception due to the same.

java.lang.IllegalStateException: Invalid use of BasicClientConnManager: connection still allocated.
Make sure to release the connection before allocating another one.
 at org
.apache.http.util.Asserts.check(Asserts.java:34)
 at org
.apache.http.impl.conn.BasicClientConnectionManager.getConnection(BasicClientConnectionManager.java:166)
 at org
.apache.http.impl.conn.BasicClientConnectionManager$1.getConnection(BasicClientConnectionManager.java:148)
 at org
.apache.http.impl.client.DefaultRequestDirector.execute(DefaultRequestDirector.java:424)
 at org
.apache.http.impl.client.AbstractHttpClient.doExecute(AbstractHttpClient.java:884)
 at org
.apache.http.impl.client.CloseableHttpClient.execute(CloseableHttpClient.java:82)
 at org
.apache.http.impl.client.CloseableHttpClient.execute(CloseableHttpClient.java:55)
 at org
.apache.http.client.HttpClient$execute$0.call(Unknown Source)
 at io
.restassured.internal.RequestSpecificationImpl$RestAssuredHttpBuilder.doRequest(RequestSpecificationImpl.groovy:2122)
 at io
.restassured.internal.http.HTTPBuilder.doRequest(HTTPBuilder.java:494)
 at io
.restassured.internal.http.HTTPBuilder.request(HTTPBuilder.java:451)
 at io
.restassured.internal.http.HTTPBuilder$request$2.call(Unknown Source)
 at io
.restassured.internal.RequestSpecificationImpl.sendHttpRequest(RequestSpecificationImpl.groovy:1525)

 at sun
.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
 at sun
.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
 at sun
.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
 at java
.lang.reflect.Method.invoke(Method.java:498)
 at org
.codehaus.groovy.reflection.CachedMethod.invoke(CachedMethod.java:93)

 at groovy
.lang.MetaMethod.doMethodInvoke(MetaMethod.java:325)
 at groovy
.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:1218)
 at groovy
.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:1027)
 at groovy
.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:815)
 at io
.restassured.internal.RequestSpecificationImpl.invokeMethod(RequestSpecificationImpl.groovy)
 at org
.codehaus.groovy.runtime.callsite.PogoInterceptableSite.call(PogoInterceptableSite.java:48)
 at org
.codehaus.groovy.runtime.callsite.PogoInterceptableSite.callCurrent(PogoInterceptableSite.java:58)
 at io
.restassured.internal.RequestSpecificationImpl.sendRequest(RequestSpecificationImpl.groovy:1288)

 at sun
.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
 at sun
.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
 at sun
.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
 at java
.lang.reflect.Method.invoke(Method.java:498)
 at org
.codehaus.groovy.reflection.CachedMethod.invoke(CachedMethod.java:93)

 at groovy
.lang.MetaMethod.doMethodInvoke(MetaMethod.java:325)
 at groovy
.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:1218)
 at groovy
.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:1027)
 at groovy
.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:815)
 at io
.restassured.internal.RequestSpecificationImpl.invokeMethod(RequestSpecificationImpl.groovy)
 at org
.codehaus.groovy.runtime.callsite.PogoInterceptableSite.call(PogoInterceptableSite.java:48)
 at org
.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:149)
 at io
.restassured.internal.filter.SendRequestFilter.filter(SendRequestFilter.groovy:30)
 at io
.restassured.filter.Filter$filter$0.call(Unknown Source)
 at org
.codehaus.groovy.runtime.callsite.CallSiteArray.defaultCall(CallSiteArray.java:48)
 at io
.restassured.filter.Filter$filter.call(Unknown Source)
 at io
.restassured.internal.filter.FilterContextImpl.next(FilterContextImpl.groovy:72)
 at io
.restassured.filter.time.TimingFilter.filter(TimingFilter.java:56)
 at io
.restassured.filter.Filter$filter.call(Unknown Source)
 at org
.codehaus.groovy.runtime.callsite.CallSiteArray.defaultCall(CallSiteArray.java:48)
 at io
.restassured.filter.Filter$filter$0.call(Unknown Source)
 at io
.restassured.internal.filter.FilterContextImpl.next(FilterContextImpl.groovy:72)
 at io
.restassured.filter.FilterContext$next.call(Unknown Source)
 at io
.restassured.internal.RequestSpecificationImpl.applyPathParamsAndSendRequest(RequestSpecificationImpl.groovy:1725)

 at sun
.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
 at sun
.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
 at sun
.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
 at java
.lang.reflect.Method.invoke(Method.java:498)
 at org
.codehaus.groovy.reflection.CachedMethod.invoke(CachedMethod.java:93)

 at groovy
.lang.MetaMethod.doMethodInvoke(MetaMethod.java:325)
 at groovy
.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:1218)
 at groovy
.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:1027)
 at groovy
.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:815)
 at io
.restassured.internal.RequestSpecificationImpl.invokeMethod(RequestSpecificationImpl.groovy)
 at org
.codehaus.groovy.runtime.callsite.PogoInterceptableSite.call(PogoInterceptableSite.java:48)
 at org
.codehaus.groovy.runtime.callsite.PogoInterceptableSite.callCurrent(PogoInterceptableSite.java:58)
 at org
.codehaus.groovy.runtime.callsite.AbstractCallSite.callCurrent(AbstractCallSite.java:182)
 at io
.restassured.internal.RequestSpecificationImpl.applyPathParamsAndSendRequest(RequestSpecificationImpl.groovy:1731)

 at sun
.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
 at sun
.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
 at sun
.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
 at java
.lang.reflect.Method.invoke(Method.java:498)
 at org
.codehaus.groovy.reflection.CachedMethod.invoke(CachedMethod.java:93)

 at groovy
.lang.MetaMethod.doMethodInvoke(MetaMethod.java:325)
 at groovy
.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:1218)
 at groovy
.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:1027)
 at groovy
.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:815)
 at io
.restassured.internal.RequestSpecificationImpl.invokeMethod(RequestSpecificationImpl.groovy)
 at org
.codehaus.groovy.runtime.callsite.PogoInterceptableSite.call(PogoInterceptableSite.java:48)
 at org
.codehaus.groovy.runtime.callsite.PogoInterceptableSite.callCurrent(PogoInterceptableSite.java:58)
 at org
.codehaus.groovy.runtime.callsite.AbstractCallSite.callCurrent(AbstractCallSite.java:182)
 at io
.restassured.internal.RequestSpecificationImpl.get(RequestSpecificationImpl.groovy:168)
 at io
.restassured.internal.RequestSpecificationImpl.get(RequestSpecificationImpl.groovy)

 at sun
.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
 at sun
.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
 at sun
.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
 at java
.lang.reflect.Method.invoke(Method.java:498)
 at org
.codehaus.groovy.reflection.CachedMethod.invoke(CachedMethod.java:93)

 at groovy
.lang.MetaMethod.doMethodInvoke(MetaMethod.java:325)
 at groovy
.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:1218)
 at groovy
.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:1027)
 at groovy
.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:815)
 at io
.restassured.internal.RequestSpecificationImpl.invokeMethod(RequestSpecificationImpl.groovy)
 at org
.codehaus.groovy.runtime.callsite.PogoInterceptableSite.call(PogoInterceptableSite.java:48)
 at org
.codehaus.groovy.runtime.callsite.PogoInterceptableSite.callCurrent(PogoInterceptableSite.java:58)
 at org
.codehaus.groovy.runtime.callsite.AbstractCallSite.callCurrent(AbstractCallSite.java:166)
 at io
.restassured.internal.RequestSpecificationImpl.get(RequestSpecificationImpl.groovy:252)
 at io
.restassured.internal.RequestSpecificationImpl.get(RequestSpecificationImpl.groovy)
 at utils
.Utils.runServiceCheckTests(Utils.java:39)
 at
base.initial_tests.BaseTests.checkIfAllServicesAreUp(BaseTests.java:21)

 at sun
.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
 at sun
.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
 at sun
.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
 at java
.lang.reflect.Method.invoke(Method.java:498)

 at org
.testng.internal.MethodInvocationHelper.invokeMethod(MethodInvocationHelper.java:80)
 at org
.testng.internal.Invoker.invokeConfigurationMethod(Invoker.java:564)
 at org
.testng.internal.Invoker.invokeConfigurations(Invoker.java:213)
 at org
.testng.internal.Invoker.invokeConfigurations(Invoker.java:138)
 at org
.testng.SuiteRunner.privateRun(SuiteRunner.java:277)
 at org
.testng.SuiteRunner.run(SuiteRunner.java:240)
 at org
.testng.SuiteRunnerWorker.runSuite(SuiteRunnerWorker.java:52)
 at org
.testng.SuiteRunnerWorker.run(SuiteRunnerWorker.java:86)
 at org
.testng.TestNG.runSuitesSequentially(TestNG.java:1198)
 at org
.testng.TestNG.runSuitesLocally(TestNG.java:1123)
 at org
.testng.TestNG.run(TestNG.java:1031)
 at org
.testng.remote.AbstractRemoteTestNG.run(AbstractRemoteTestNG.java:132)
 at org
.testng.remote.RemoteTestNG.initAndRun(RemoteTestNG.java:230)
 at org
.testng.remote.RemoteTestNG.main(RemoteTestNG.java:76)
To unsubscribe from this group and stop receiving emails from it, send an email to rest-assured...@googlegroups.com.

Johan Haleby

unread,
Jun 15, 2017, 7:06:28 AM6/15/17
to rest-a...@googlegroups.com
Are you running the tests in parallel?

To unsubscribe from this group and stop receiving emails from it, send an email to rest-assured+unsubscribe@googlegroups.com.

akshay....@agrostar.in

unread,
Jun 15, 2017, 7:08:07 AM6/15/17
to REST assured
No. All the tests run one-by-one. BTW, I'm on RA 3.0.3 version.

Johan Haleby

unread,
Jun 15, 2017, 7:15:57 AM6/15/17
to rest-a...@googlegroups.com
Strange, can't explain that. We're running thousands of RA tests in 3.0.3 and we don't get this error.

/Johan

To unsubscribe from this group and stop receiving emails from it, send an email to rest-assured+unsubscribe@googlegroups.com.

akshay....@agrostar.in

unread,
Jun 15, 2017, 7:20:31 AM6/15/17
to REST assured
Okay, I think I found the culprit change from the commit history of my project. Removing below chunk from my pom.xml magically happens to resolve the issue. When I put the chunk back in pom.xml, I hit the original issue again.

This is really strange. Any thoughts on this?

      <dependency>
         
<groupId>io.rest-assured</groupId>
         
<artifactId>json-schema-validator</artifactId>
         
<version>3.0.3</version>
     
</dependency>
     
<dependency>
         
<groupId>com.github.fge</groupId>
         
<artifactId>json-schema-validator</artifactId>
         
<version>2.2.6</version>
     
</dependency>
     
<dependency>
         
<groupId>com.github.fge</groupId>
         
<artifactId>json-schema-core</artifactId>
         
<version>1.2.5</version>
     
</dependency>

Below is the complete content of my pom.xml

<?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>com.agrostar.avs</groupId>
   
<artifactId>avs</artifactId>
   
<version>2.0</version>
   
<dependencies>
     
<dependency>
         
<groupId>org.hamcrest</groupId>
         
<artifactId>hamcrest-all</artifactId>
         
<version>1.3</version>
     
</dependency>
     
<dependency>
         
<groupId>com.google.code.gson</groupId>
         
<artifactId>gson</artifactId>
         
<version>2.6.2</version>
     
</dependency>
     
<dependency>
         
<groupId>io.rest-assured</groupId>
         
<artifactId>rest-assured</artifactId>
         
<version>3.0.3</version>
     
</dependency>
     
<dependency>
         
<groupId>org.codehaus.groovy</groupId>
         
<artifactId>groovy-all</artifactId>
         
<version>2.4.10</version>
     
</dependency>
     
<dependency>
         
<groupId>mysql</groupId>
         
<artifactId>mysql-connector-java</artifactId>
         
<version>6.0.5</version>
     
</dependency>
     
<dependency>
         
<groupId>com.github.wnameless</groupId>
         
<artifactId>json-flattener</artifactId>
         
<version>0.2.2</version>
     
</dependency>
     
<dependency>
         
<groupId>org.json</groupId>
         
<artifactId>json</artifactId>
         
<version>20160810</version>
     
</dependency>
     
<dependency>
         
<groupId>log4j</groupId>
         
<artifactId>log4j</artifactId>
         
<version>1.2.17</version>
     
</dependency>
     
<dependency>
         
<groupId>com.jayway.jsonpath</groupId>
         
<artifactId>json-path</artifactId>
         
<version>2.2.0</version>
     
</dependency>
     
<dependency>
         
<groupId>com.google.guava</groupId>
         
<artifactId>guava</artifactId>
         
<version>19.0</version>
     
</dependency>
     
<dependency>
         
<groupId>io.rest-assured</groupId>
         
<artifactId>json-schema-validator</artifactId>
         
<version>3.0.3</version>
     
</dependency>
     
<dependency>
         
<groupId>com.github.fge</groupId>
         
<artifactId>json-schema-validator</artifactId>
         
<version>2.2.6</version>
     
</dependency>
     
<dependency>
         
<groupId>com.github.fge</groupId>
         
<artifactId>json-schema-core</artifactId>
         
<version>1.2.5</version>
     
</dependency>
     
<dependency>
         
<groupId>org.testng</groupId>
         
<artifactId>testng</artifactId>
         
<version>6.8</version>
     
</dependency>
   
</dependencies>
   
<build>
     
<plugins>
         
<plugin>
           
<groupId>org.apache.maven.plugins</groupId>
           
<artifactId>maven-surefire-plugin</artifactId>
           
<version>2.18.1</version>
           
<configuration>
               
<suiteXmlFiles>
                 
<suiteXmlFile>testng-crm.xml</suiteXmlFile>
                 
<suiteXmlFile>testng-catalogue.xml</suiteXmlFile>
               
</suiteXmlFiles>
           
</configuration>
         
</plugin>
         
<plugin>
           
<groupId>org.apache.maven.plugins</groupId>
           
<artifactId>maven-jar-plugin</artifactId>
           
<version>3.0.2</version>
           
<executions>
               
<execution>
                 
<goals>
                     
<goal>jar</goal>
                     
<goal>test-jar</goal>
                 
</goals>
               
</execution>
           
</executions>
         
</plugin>
         
<plugin>
           
<groupId>org.apache.maven.plugins</groupId>
           
<artifactId>maven-compiler-plugin</artifactId>
           
<version>2.5.1</version>
           
<configuration>
               
<source>1.8</source>
               
<target>1.8</target>
           
</configuration>
         
</plugin>
     
</plugins>
   
</build>
</project>

Johan Haleby

unread,
Jun 15, 2017, 7:24:57 AM6/15/17
to rest-a...@googlegroups.com
Ok, so maybe you run into some versioning issues with some third-party dependency.

To unsubscribe from this group and stop receiving emails from it, send an email to rest-assured+unsubscribe@googlegroups.com.

akshay....@agrostar.in

unread,
Jun 15, 2017, 7:36:30 AM6/15/17
to REST assured
Alright. I'll find out some solution for this scenario.

Thanks Johan!

akshay....@agrostar.in

unread,
Jun 16, 2017, 2:51:18 AM6/16/17
to REST assured
Hi Johan,

I see that even if I only add below dependency alone in my pom.xml, I still encounter the issue. When I remove it, I do not face any issue.

      <dependency>
         
<groupId>io.rest-assured</groupId>
         
<artifactId>json-schema-validator</artifactId>
         
<version>3.0.3</version>
     
</dependency>

Johan Haleby

unread,
Jun 16, 2017, 2:53:08 AM6/16/17
to rest-a...@googlegroups.com
Right, so that indicates that there's some versioning conflicts.

To unsubscribe from this group and stop receiving emails from it, send an email to rest-assured+unsubscribe@googlegroups.com.

akshay....@agrostar.in

unread,
Jun 16, 2017, 2:54:58 AM6/16/17
to REST assured
Do you mean versioning conflicts with some dependency from my pom.xml itself? I do not know how to determine which dependency would possibly be causing that.

Johan Haleby

unread,
Jun 16, 2017, 3:12:12 AM6/16/17
to rest-a...@googlegroups.com

To unsubscribe from this group and stop receiving emails from it, send an email to rest-assured+unsubscribe@googlegroups.com.

akshay....@agrostar.in

unread,
Jun 16, 2017, 4:50:08 AM6/16/17
to REST assured
Thanks, I tried using that maven plugin, but no dependency conflicts were reported by it.

After installing the plugin, I checked for dependency conflicts using:

mvn com.ning.maven.plugins:maven-dependency-versions-check-plugin:check
Reply all
Reply to author
Forward
0 new messages