This is my first post in the forum. So I would also like to say hello to all. :)
I am currently developing an application for Android and to do so I came across HtmlUnit.
I have never heard of HtmlUnit so I decided to try it (me being the experimental type). I have come to an impasse.
"noclassdeffounderror". Its awful because I do not fully understand it. It is my first time even seeing this error.
What did I do wrong?Code:public void showResults(String endText) throws Exception{
WebClient webClient = new WebClient(); //ERROR IS HERE
HtmlPage page = webClient.getPage(baseSite+endText);
HtmlTable resultsT = page.getHtmlElementById("results");
int i = 0;
for(final HtmlTableRow row : resultsT.getRows()){
Toast.makeText(getApplicationContext(), "Getting Results...", Toast.LENGTH_SHORT).show();
for(final HtmlTableCell cell : row.getCells()){
results[i] = cell.asText();
i++;
}
}
}

