I have just started Spring. I am trying an example but I am getting the following exception. As per the message I have checked the bean class but didnt find the solution.
org.springframework.beans.NotReadablePropertyException: Invalid property 'name' of bean class [java.lang.String]: Bean property 'name' is not readable or has an invalid getter method: Does the return type of the getter match the parameter type of the setter?
My code is :
Where I am doing wrong. Guide me in executing this.