title: Bean property is not readable or has an invalid getter method
body: <p>So, I have a task to write a simple web-application for registry routes. Using Spring MVC. So I have class "Route", where I want to keep start point, finish point and list of intermediate points. But I don't understand, how to put values to list from jsp (e.g. using jstl). So I decide to parse a string. </p>
  
  <pre><code>public class Route {
      private String start;
      private String finish;
      private String form;
      private List&lt;String&gt; list;
  
      public Route() {
      }
  
      public Route(String start, String finish, String route) {
          this.start = start;
          this.finish = finish;
          this.form = route;
          this.toList();
      }
  
      public Route(String start, String finish) {
          this.start = start;
          this.finish = finish;
          this.list = new ArrayList&lt;&gt;();
      }
  
      public void addTown(String town){
          list.add(town);
      }
  
      public String getStart() {
          return start;
      }
  
      public void setStart(String start) {
          this.start = start;
      }
  
      public String getFinish() {
          return finish;
      }
  
      public void setFinish(String finish) {
          this.finish = finish;
      }
  
      public List&lt;String&gt; getRoute() {
          return list;
      }
  
      public void setFormRoute(String route) {
          this.form = route; 
          this.toList();
      }    
  
      private void toList()
      {
          String[] temp = form.split(",");
          for(String temp1 : temp) {
              list.add(temp1);
          }
      }
  }
  </code></pre>
  
  <p>and follow JSP:</p>
  
  <pre><code>&lt;h2&gt;&lt;a href="find.htm"&gt;Найти существующий маршрут&lt;/a&gt;&lt;br/&gt;&lt;br/&gt;
      Добавить маршрут&lt;/h2&gt;
  &lt;h3&gt; 
      &lt;spring:nestedPath path="route"&gt;
          &lt;form modelAttribute="routeAttribute" method="POST" action="${add}"&gt;
              Пункт отправления:
              &lt;spring:bind path="start"&gt;
                  &lt;input type="text" name="${status.expression}" value="${status.value}"&gt;
              &lt;/spring:bind&gt;&lt;br/&gt;&lt;br/&gt;                    
              Пункт прибытия:
              &lt;spring:bind path="finish"&gt;
                  &lt;input type="text" name="${status.expression}" value="${status.value}"&gt;
              &lt;/spring:bind&gt;&lt;br/&gt;&lt;br/&gt;
              Промежуточные пункты (через запятую):
              &lt;spring:bind path="form"&gt;
                  &lt;input type="text" name="${status.expression}" value="${status.value}"&gt;
              &lt;/spring:bind&gt;&lt;br/&gt;&lt;br/&gt;
  
              &lt;input type="submit" value="Сохранить"&gt;
          &lt;/form&gt;
      &lt;/spring:nestedPath&gt;
  </code></pre>
  
  <p>If it's nessesary I can post Controller code.
  And I have an error:</p>
  
  <pre><code>Bean property 'form' is not readable or has an invalid getter method: Does the return type of the getter match the parameter type of the setter?
  </code></pre>
  
  <p>Can anyone, please, to explain what I do principaly wrong? </p>