Skip to content

Bean property 'address' is not writable or has an invalid setter method #837

@somejavadev

Description

@somejavadev

Hi,
I have configured a plain single server install of Redis. When I configure the Redisson client within my spring XML config with a simple single-server configuration. Spring gives the following error:

Bean property 'address' is not writable or has an invalid setter method.

I had a look at the file SingleServerConfig.java file and I noticed that it has both a public SingleServerConfig setAddress(String address) method as well as a void setAddress(URL address) method. I am not sure if this is what is causing the configuration error. I have created a gist with my XML config.

Spring Version: 3.1.3.RELEASE
Java Version: 1.7
Redisson Version: 2.8.2

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions