Home > Back-end >  Springboot projects using Redisson start an error
Springboot projects using Redisson start an error

Time:12-30

Using single mode
Don't know whether I com. Fasterxml. Jackson conflict or how to return a responsibility, is to start an error, the configuration file with configuration
The codec:! {}









Caused by: com.fasterxml.jackson.databind.exc.UnrecognizedPropertyException: Unrecognized field "reconnectionTimeout" (class org.redisson.config.SingleServerConfig), not marked as ignorable (25 known properties: "timeout", "subscriptionsPerConnection", "keepAlive", "sslKeystorePassword", "retryInterval", "retryAttempts", "idleConnectionTimeout", "sslTruststorePassword", "sslEnableEndpointIdentification", "address", "sslTruststore", "username", "connectTimeout", "subscriptionConnectionPoolSize", "password", "sslProvider", "tcpNoDelay", "connectionMinimumIdleSize", "subscriptionConnectionMinimumIdleSize", "sslKeystore", "pingConnectionInterval", "clientName", "connectionPoolSize", "database", "dnsMonitoringInterval"])
At [Source: (StringReader); the line: 15, the column: 28] (through the reference chain: org. Redisson. Config. The config [" singleServerConfig "] - & gt; Org. Redisson. Config. SingleServerConfig [" reconnectionTimeout "])

CodePudding user response:

Translation not to come out this field under the mean recognition, do you think you are not defined or value of the wrong words
Unrecognized field "reconnectionTimeout"

CodePudding user response:

No, Jackson reflection, didn't identify to SingleServerConfig parent BaseConfig attribute, I don't know if Jackson jars conflict, my online looking for the same problem for a long time no see, then I gave up by yml reflection registered property values,
  • Related