Servlet to load Elastic search Data

Servlet couldn't load the Elastic search class .


I can call the insert method in the queries class ..But that method was not loaded. So what will be the solution ?