Search code examples
eclipsespringmaveneclipse-kepler

Errorneous Message "No setter found for property" in eclipse kepler with Spring 3.2


Got an error in my Spring context file about an not existing setter for property, even it's existing. It's a Spring MVC project and it's compiling and working on my Tomcat.

IMHO it's a Eclipse problem (Eclipse Kepler) + or there seems to be a problem with Maven, which I am using with Eclipse.


Solution

  • It seems the issue with eclipse. You can check following things,

    1. As it is a maven project the output folder is correct Java Build Path->Source->Default output folder is set to <ProjectName>/target/classes
    2. If your able to build and run it from maven outside the eclipse then try to using same maven installation inside eclipse.
    3. You can try run following maven command to refresh the build paths,

      mvn clean install eclipse:clean eclipse:eclipse