NoClassDefFoundError via jsp usage

Rahul Thathoo <[email protected]>
Newsgroups gmane.comp.parsers.htmlparser.user
Message-ID <[email protected]>
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&reg; 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&#45;12, 2009. Register now&#33;
http://p.sf.net/sfu/devconf

_______________________________________________
Htmlparser-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/htmlparser-user
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.