com.fasterxml.jackson.databind.exc.UnrecognizedPropertyException: Unrecognized field "safeKey" (class xxx), not marked as ignorable (3 known properties: "modifyDate", "createDate", "id"]) at [Source: org.glassfish.jersey.message.internal.EntityInputStream@446d559; line: 1, column: 68] (through reference chain: com.qbao.xx.service.response.QbaoAccountResponse["rows"]->com.xx.bbs.entity.ss["safeKey"])

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Samebug tips

,

you should add @JsonIgnoresProperties, This allows properties not defined in your POJO to be ignored. Needed if you are just trying to gamble your way through few properties in JSON. you do this by @JsonIgnoreProperties(property=true)

,

You need to define another class for the information within ResObj {"ClientNum":"12345","ServerNum":"78945","IdNum":"020252"}. Otherwise jackson cannot determine how to deserialize.

Solutions on the web

via csdn.net by Unknown author, 1 year ago
Unrecognized field "safeKey" (class xxx), not marked as ignorable (3 known properties: "modifyDate", "createDate", "id"]) at [Source: org.glassfish.jersey.message.internal.EntityInputStream@446d559; line: 1, column: 68] (through reference chain: com.qbao.xx.service.response.QbaoAccountResponse["rows"]->com.xx.bbs.entity.ss["safeKey"])
via GitHub by hdghg
, 8 months ago
Unrecognized field "migrate_to_chat_id" (class ru.hdghg.tg.model.TelegramMessage)[Source: {"ok":true,"result":[{"update_id":1114037, "message":{"message_id":5667,"from":{"id":118979550,"first_name":"hpswgprk","username":"hpswgprk"},"chat":{"id
via GitHub by mbuechner
, 2 years ago
Unrecognized field "claims" (class org.wikidata.wdtk.datamodel.json.jackson.JacksonPropertyDocument), not marked as ignorable (5 known properties: "datatype", "descriptions", "id", "aliases", "labels"]) at [Source: java.util.zip.GZIPInputStream
via Sonatype JIRA by Rich Seddon, 11 months ago
Unrecognized field "comment" (class org.sonatype.nexus.repository.docker.internal.V2ManifestConfig), not marked as ignorable (11 known properties: "container_config", "container", "config", "architecture", "os", "created", "docker_version", "author
via GitHub by at15
, 2 years ago
Unrecognized field "valid" (class cn.edu.sjtu.at15.forum.crawler.processor.discuz.DiscuzThread), not marked as ignorable (6 known properties: "replyCount", "title", "viewCount", "author", "url", "authorPost"]) at [Source: {"url":"http://www
via GitHub by Ganjalf-Amsterdoom
, 2 years ago
Unrecognized field "minimumVersion" (class com.skcraft.launcher.builder.BuilderConfig), not marked as ignorable (6 known properties: "launch", "gameVersion", "title", "name", "userFiles", "features"]) at [Source: /home/me/test/package.json; line: 1, column: 20] (through reference chain: com.skcraft.launcher.builder.BuilderConfig["minimumVersion"])
com.fasterxml.jackson.databind.exc.UnrecognizedPropertyException: Unrecognized field "safeKey" (class xxx), not marked as ignorable (3 known properties: "modifyDate", "createDate", "id"]) at [Source: org.glassfish.jersey.message.internal.EntityInputStream@446d559; line: 1, column: 68] (through reference chain: com.qbao.xx.service.response.QbaoAccountResponse["rows"]->com.xx.bbs.entity.ss["safeKey"])
at com.fasterxml.jackson.databind.exc.UnrecognizedPropertyException.from(UnrecognizedPropertyException.java:51)
at com.fasterxml.jackson.databind.DeserializationContext.reportUnknownProperty(DeserializationContext.java:671)
at com.fasterxml.jackson.databind.deser.std.StdDeserializer.handleUnknownProperty(StdDeserializer.java:771)
at com.fasterxml.jackson.databind.deser.BeanDeserializerBase.handleUnknownProperty(BeanDeserializerBase.java:1297)
at com.fasterxml.jackson.databind.deser.BeanDeserializerBase.handleUnknownVanilla(BeanDeserializerBase.java:1275)
at com.fasterxml.jackson.databind.deser.BeanDeserializer.vanillaDeserialize(BeanDeserializer.java:247)
at com.fasterxml.jackson.databind.deser.BeanDeserializer.deserialize(BeanDeserializer.java:118)
at com.fasterxml.jackson.databind.deser.SettableBeanProperty.deserialize(SettableBeanProperty.java:525)
at com.fasterxml.jackson.databind.deser.impl.MethodProperty.deserializeAndSet(MethodProperty.java:99)
at com.fasterxml.jackson.databind.deser.BeanDeserializer.vanillaDeserialize(BeanDeserializer.java:242)
at com.fasterxml.jackson.databind.deser.BeanDeserializer.deserialize(BeanDeserializer.java:118)
at com.fasterxml.jackson.databind.ObjectReader._bind(ObjectReader.java:1233)
at org.glassfish.jersey.message.internal.ReaderInterceptorExecutor$TerminalReaderInterceptor.invokeReadFrom(ReaderInterceptorExecutor.java:257)
at org.glassfish.jersey.message.internal.ReaderInterceptorExecutor$TerminalReaderInterceptor.aroundReadFrom(ReaderInterceptorExecutor.java:229)
at org.glassfish.jersey.message.internal.ReaderInterceptorExecutor.proceed(ReaderInterceptorExecutor.java:149)
at org.glassfish.jersey.message.internal.MessageBodyFactory.readFrom(MessageBodyFactory.java:1124)
at org.glassfish.jersey.message.internal.InboundMessageContext.readEntity(InboundMessageContext.java:851)
at org.glassfish.jersey.client.ClientResponse.readEntity(ClientResponse.java:326)
at org.glassfish.jersey.internal.Errors.process(Errors.java:315)
at org.glassfish.jersey.internal.Errors.process(Errors.java:297)
at org.glassfish.jersey.internal.Errors.process(Errors.java:228)
at com.xx.bbs.service.client.ServerRequest.rest(ServerRequest.java:189)
at com.xx.bbs.service.client.ServerRequest.rest(ServerRequest.java:90)
at com.qbxao.bbs.service.client.QbaoAccountClient.findByAccountKey(QbaoAccountClient.java:57)
at com.xx.bbs.controller.LoginController.submit(LoginController.java:87)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:606)
at org.springframework.web.method.support.InvocableHandlerMethod.invoke(InvocableHandlerMethod.java:219)
at org.springframework.web.servlet.mvc.method.annotation.ServletInvocableHandlerMethod.invokeAndHandle(ServletInvocableHandlerMethod.java:104)
at org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.invokeHandleMethod(RequestMappingHandlerAdapter.java:745)
at org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.handleInternal(RequestMappingHandlerAdapter.java:686)
at org.springframework.web.servlet.mvc.method.AbstractHandlerMethodAdapter.handle(AbstractHandlerMethodAdapter.java:80)
at org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:925)
at org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:856)
at org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:936)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:650)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:731)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:303)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)
at org.springframework.web.filter.CharacterEncodingFilter.doFilterInternal(CharacterEncodingFilter.java:88)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:220)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:122)
at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:505)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:170)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:103)
at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:956)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:116)
at org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1079)
at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:625)
at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1757)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
at java.lang.Thread.run(Thread.java:745)

Users with the same issue

Once, 2 weeks ago
Once, 1 month ago
9 times, 1 month ago
6 times, 1 month ago
11 times, 1 month ago

Write tip

Know the solutions? Share your knowledge to help other developers to debug faster.