[Esapi-user] java.lang.NoClassDefFoundError: org/owasp/validator/html/PolicyException

Prashmit Tanay prashmittanay at gmail.com
Mon Jan 30 06:55:00 UTC 2012


I am trying an Input Validation using the ESAPI 1.4.4. I am constantly
getting a java.lang.NoClassDefFoundError:
org/owasp/validator/html/PolicyException error.

I am using Eclipse EE IDE 1.4.2
ESAPI version: 1.4.4
Java: 1.6

protected void doGet(HttpServletRequest request, HttpServletResponse
response) throws ServletException, IOException {
PrintWriter out=response.getWriter();
String email=request.getParameter("email");
Validator validator=ESAPI.validator();
boolean b=validator.isValidInput("Email_validity", email, "Email", 50,
out.print("Result: " +b);
catch(Exception e){

Prashmit Tanay
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.owasp.org/pipermail/esapi-user/attachments/20120130/9f83be78/attachment.html>

More information about the Esapi-user mailing list