With both jars there, it should work.
On Sun, Sep 27, 2009 at 5:24 AM, Rahul Thathoo <rah...@gm...>wrote:
>
> Hi All,
>
> My jsp looks like this (starts with this)
>
> <%@ page import="org.htmlparser.Parser" %>
> <%@ page import="org.htmlparser.util.NodeList" %>
> <%@ page import="org.htmlparser.util.ParserException" %>
> <%@ page import="org.htmlparser.filters.TagNameFilter" %>
> <%@ page import="org.htmlparser.filters.NodeClassFilter" %>
>
> I copied over the htmlparser.jar into my WEB-INF/lib folder
>
> But i get an exception:
>
> cannot find symbol
> symbol : class NodeList
> location: package org.htmlparser.util
> import org.htmlparser.util.NodeList;
>
> cannot find symbol
> symbol : class ParserException
> location: package org.htmlparser.util
> import org.htmlparser.util.ParserException;
>
> So after that i copied over the htmllexer.jar into my WEB-INF/lib folder as
> well, only to get this error after that:
> JspServlet: unable to dispatch to requested page:
> Exception:java.lang.NoClassDefFoundError: org/htmlparser/Parser
>
> Anyone got any clue as to where i might be messing up?
>
> thanks
> rahul
>
>
>
>
> ------------------------------------------------------------------------------
> Come build with us! The BlackBerry® Developer Conference in SF, CA
> is the only developer event you need to attend this year. Jumpstart your
> developing skills, take BlackBerry mobile applications to market and stay
> ahead of the curve. Join us from November 9-12, 2009. Register now!
> http://p.sf.net/sfu/devconf
> _______________________________________________
> Htmlparser-user mailing list
> Htm...@li...
> https://lists.sourceforge.net/lists/listinfo/htmlparser-user
>
>
|