Java 1.8 method CriteriaBuilder between is not applicable (Netbeans 8.2)
<p>I have a problem with CriteriaBuilder in my project. 
I get the error:   </p>

<blockquote>
  <p>method CriteriaBuilder between is not applicable</p>
</blockquote>

<p>Any idea?</p>

<p><a href="https://i.stack.imgur.com/xbd6w.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/xbd6w.png" alt="enter image description here"></a></p>