title: EL1008E: Property or field 'isAvailable' cannot be found on object of type 'com.inventory.domain.Item' - maybe not public or not valid?
body: <p>I have one boolean field in item bean all other fields are populating but only isAvailable is not populating in ui using thymeleaf I am getting error as <code>property can't not found</code> I am not getting the root cause 
  Is there any specific way to read the boolean field in thymeleaf. because in .html page when i tried to read boolean value st.isAvailable its throwing error in backend property not found hence not populating value</p>
  
  <p>Item Bean</p>
  
  <pre><code>package com.inventory.domain;
  
  import java.math.BigDecimal;
  import java.util.ArrayList;
  import java.util.HashSet;
  import java.util.LinkedHashSet;
  import java.util.List;
  import java.util.Set;
  import java.util.SortedSet;
  import java.util.TreeSet;
  
  import javax.persistence.CascadeType;
  import javax.persistence.Column;
  import javax.persistence.Entity;
  import javax.persistence.EnumType;
  import javax.persistence.Enumerated;
  import javax.persistence.GeneratedValue;
  import javax.persistence.GenerationType;
  import javax.persistence.Id;
  import javax.persistence.JoinColumn;
  import javax.persistence.Lob;
  import javax.persistence.ManyToOne;
  import javax.persistence.OneToMany;
  import javax.persistence.OrderBy;
  import javax.persistence.Table;
  
  @Entity
  @Table(name = "item")
  public class Item {
  
      @Id
      @GeneratedValue(strategy = GenerationType.AUTO)
      private int item_id;
  
      @ManyToOne
      @JoinColumn(name = "category_id")
      private Category categoryId;
  
      @Column(name = "item_name",unique = true)
      private String itemName;
  
      @Column(name = "current_stock_quantity")
      private double currentStockQuantity;
  
      public double getCurrentStockQuantity() {
          return currentStockQuantity;
      }
  
      @Column(name = "unit")
      @Enumerated(EnumType.STRING)
      private ItemWeightUnit unit;
  
      @Column(name = "current_purchase_price")
      private double currentPurchasePrice;
  
      @Column(name = "is_available")
      private boolean isAvailable;
  
      @Column(name = "is_active")
      private boolean isActive;
  
      @Column(name = "item_description")
      @Lob
      private String itemDescription;
  
      @OneToMany(mappedBy = "item",cascade = CascadeType.ALL)
      private List&lt;Vendor&gt; vendor = new ArrayList&lt;Vendor&gt;();
  
      @OneToMany(mappedBy = "item",cascade = CascadeType.ALL)
      @OrderBy("transaction_date ASC")
      private SortedSet&lt;ItemTransaction&gt; itemTransaction=new TreeSet&lt;ItemTransaction&gt;();
  
      @OneToMany(mappedBy = "item",cascade = CascadeType.ALL)
      @OrderBy("date ASC")
      private SortedSet&lt;PricingHistory&gt; priceHistory=new TreeSet&lt;PricingHistory&gt;();
  
      public SortedSet&lt;ItemTransaction&gt; getItemTransaction() {
          return itemTransaction;
      }
  
      public void setItemTransaction(SortedSet&lt;ItemTransaction&gt; itemTransaction) {
          this.itemTransaction = itemTransaction;
      }
  
      public void setCurrentStockQuantity(double currentStockQuantity) {
          this.currentStockQuantity = currentStockQuantity;
      }
  
      public List&lt;Vendor&gt; getVendor() {
          return vendor;
      }
  
      public void setVendor(List&lt;Vendor&gt; vendor) {
          this.vendor = vendor;
      }
  
  
  
      public int getItem_id() {
          return item_id;
      }
  
      public void setItem_id(int item_id) {
          this.item_id = item_id;
      }
  
      public Category getCategoryId() {
          return categoryId;
      }
  
      public void setCategoryId(Category categoryId) {
          this.categoryId = categoryId;
      }
  
      public String getItemName() {
          return itemName;
      }
  
      public void setItemName(String itemName) {
          this.itemName = itemName;
      }
  
      public String getItemDescription() {
          return itemDescription;
      }
  
      public void setItemDescription(String itemDescription) {
          this.itemDescription = itemDescription;
      }
  
      public boolean isAvailable() {
          return isAvailable;
      }
  
      public void setAvailable(boolean isAvailable) {
          this.isAvailable = isAvailable;
      }
  
      public boolean isActive() {
          return isActive;
      }
  
      public void setActive(boolean isActive) {
          this.isActive = isActive;
      }
  
  
      public ItemWeightUnit getUnit() {
          return unit;
      }
  
      public void setUnit(ItemWeightUnit unit) {
          this.unit = unit;
      }
  
      public double getCurrentPurchasePrice() {
          return currentPurchasePrice;
      }
  
      public void setCurrentPurchasePrice(double currentPurchasePrice) {
          this.currentPurchasePrice = currentPurchasePrice;
      }
  
      public SortedSet&lt;PricingHistory&gt; getPriceHistory() {
          return priceHistory;
      }
  
      public void setPriceHistory(SortedSet&lt;PricingHistory&gt; priceHistory) {
          this.priceHistory = priceHistory;
      }
  
  }
  
                            &lt;tbody&gt;
                                  &lt;tr th:each="st,iter : ${items}"&gt;
                                      &lt;td th:text="${iter.count}"&gt;&lt;/td&gt;
                                      &lt;td th:text="${st.itemName}"&gt;&lt;/td&gt;
                                      &lt;td th:text="${st.currentStockQuantity}"&gt;&lt;/td&gt;
                                      &lt;td th:text="${st.unit}"&gt;&lt;/td&gt;
                                      &lt;td th:text="${st.currentPurchasePrice}"&gt;&lt;/td&gt;
  
                                      &lt;div th:if="${st.isAvailable} == true"&gt;
                                      &lt;td&gt;Yes&lt;/td&gt;
                                      &lt;/div&gt;
                                      &lt;div th:unless="${st.isAvailable} == false"&gt;
                                      &lt;td&gt;No&lt;/td&gt;
                                      &lt;/div&gt;
                                      &lt;td&gt;
                                          &lt;a href="#" class="btn btn-default" th:href="@{/karyawan/form(id=${st.id})}"
                                             title="Edit Data"&gt;&lt;span class="glyphicon glyphicon-edit"&gt;&lt;/span&gt;&lt;/a&gt;
                                          &lt;a href="#" class="btn btn-default" th:href="@{/karyawan/delete(id=${st.id})}"
                                             title="Delete Data"&gt;&lt;span class="glyphicon glyphicon-trash"&gt;&lt;/span&gt;&lt;/a&gt;
                                      &lt;/td&gt;
                                  &lt;/tr&gt;
                                  &lt;tr th:if="${#lists.isEmpty(items.content)}"&gt;
                                      &lt;td colspan="13" class="text-center"&gt;Data Not Found&lt;/td&gt;
                                  &lt;/tr&gt;
                               &lt;/tbody&gt;
  </code></pre>