title: Oracle ADF: View criteria is not working in 12c
body: <p>Hello I am developing a web application using Oracle ADF. Am using jdeveloper12c. I have created a view criteria for a view object as shown below in 12c.</p>
  
  <p><img src="https://i.stack.imgur.com/bWE31.png" alt="enter image description here"></p>
  
  <p>After creating the view criteria am trying to drop this onto a a.jsf page as a ADF Query Panel. When I am trying to run this page I am getting the following error.</p>
  
  <pre><code>javax.servlet.ServletException: Servlet execution threw an exception
      oracle.adf.model.servlet.ADFBindingFilter.doFilter(ADFBindingFilter.java:192)
      oracle.adfinternal.view.faces.webapp.rich.RegistrationFilter.doFilter(RegistrationFilter.java:105)
  
  java.lang.NoClassDefFoundError: org/codehaus/groovy/control/customizers/CompilationCustomizer
      oracle.jbo.ExprEval$ScriptLibrary.createShell(ExprEval.java:2534)
      oracle.jbo.ExprEval$ScriptLibrary.getShell(ExprEval.java:2475)
      oracle.jbo.ExprEval.parseScript(ExprEval.java:1571)
      oracle.jbo.ExprEval.findScript(ExprEval.java:1152)
      oracle.jbo.ExprEval.doEvaluate(ExprEval.java:1956)
      oracle.jbo.ExprEval.doEvaluate(ExprEval.java:1928)
  </code></pre>
  
  <p>root cause</p>
  
  <pre><code>java.lang.ClassNotFoundException: org.codehaus.groovy.control.customizers.CompilationCustomizer
      java.net.URLClassLoader$1.run(URLClassLoader.java:366)
      java.net.URLClassLoader$1.run(URLClassLoader.java:355)
      java.security.AccessController.doPrivileged(Native Method)
      java.net.URLClassLoader.findClass(URLClassLoader.java:354)
      java.lang.ClassLoader.loadClass(ClassLoader.java:425)
      java.lang.ClassLoader.loadClass(ClassLoader.java:358)
      oracle.jbo.ExprEval$ScriptLibrary.createShell(ExprEval.java:2534)
      oracle.jbo.ExprEval$ScriptLibrary.getShell(ExprEval.java:2475)
      oracle.jbo.ExprEval.parseScript(ExprEval.java:1571)
      oracle.jbo.ExprEval.findScript(ExprEval.java:1152)
      oracle.jbo.ExprEval.doEvaluate(ExprEval.java:1956)
      oracle.jbo.ExprEval.doEvaluate(ExprEval.java:1928)
  </code></pre>
  
  <p>I have successfully created view criteria and used in jdeveloper11.1.2.4.</p>
  
  <p>Please help me with this problem.</p>
  
  <p>Thanks in advance.</p>