com.fasterxml.jackson.databind.JsonMappingException

Can not instantiate value of type [simple type, class com.web.dtos.SolutionDto] from String value ('{"testId":"1719126"}'); no single-String constructor/factory method at [Source: org.apache.http.conn.EofSensorInputStream@554083; line: 1, column: 1]

Samebug tips0

We couldn't find tips for this exception.

Don't give up yet. Paste your full stack trace to get a solution.

Solutions on the web514

  • via Unknown by Unknown author,
  • via GitHub by gaydenko
    ,
  • Stack trace

    • com.fasterxml.jackson.databind.JsonMappingException: Can not instantiate value of type [simple type, class com.web.dtos.SolutionDto] from String value ('{"testId":"1719126"}'); no single-String constructor/factory method at [Source: org.apache.http.conn.EofSensorInputStream@554083; line: 1, column: 1] at com.fasterxml.jackson.databind.JsonMappingException.from(JsonMappingException.java:148)[jackson-databind-2.4.3.jar:2.4.3] at com.fasterxml.jackson.databind.DeserializationContext.mappingException(DeserializationContext.java:757)[jackson-databind-2.4.3.jar:2.4.3] at com.fasterxml.jackson.databind.deser.ValueInstantiator._createFromStringFallbacks(ValueInstantiator.java:277)[jackson-databind-2.4.3.jar:2.4.3] at com.fasterxml.jackson.databind.deser.std.StdValueInstantiator.createFromString(StdValueInstantiator.java:289)[jackson-databind-2.4.3.jar:2.4.3] at com.fasterxml.jackson.databind.deser.BeanDeserializerBase.deserializeFromString(BeanDeserializerBase.java:1133)[jackson-databind-2.4.3.jar:2.4.3] at com.fasterxml.jackson.databind.deser.BeanDeserializer._deserializeOther(BeanDeserializer.java:135)[jackson-databind-2.4.3.jar:2.4.3] at com.fasterxml.jackson.module.afterburner.deser.SuperSonicBeanDeserializer.deserialize(SuperSonicBeanDeserializer.java:123)[jackson-module-afterburner-2.4.3.jar:2.4.3] at com.fasterxml.jackson.databind.ObjectMapper._readMapAndClose(ObjectMapper.java:3051)[jackson-databind-2.4.3.jar:2.4.3] at com.fasterxml.jackson.databind.ObjectMapper.readValue(ObjectMapper.java:2192)[jackson-databind-2.4.3.jar:2.4.3]

    Write tip

    You have a different solution? A short tip here would help you and many other users who saw this issue last week.

    Users with the same issue

    Unknown visitor
    Unknown visitorOnce,
    AxeloAxelo
    Once,
    Михайло ТітовМихайло Тітов
    zsambokizsamboki
    Once,
    test1234test1234
    Once,
    119 more bugmates