java rest web service RuntimeException WEB9033
i'm developing a rest web service in java.
i'm using htmlparser library on it.
but when i try to run service i'm getting this exception. i can build it successfully. and org.htmlparser.beans.StringBean class exists in project.
exception
javax.servlet.ServletException: java.lang.RuntimeException: WEB9033: Unable to load class with name [org.htmlparser.beans.StringBean], reason: java.lan开发者_Python百科g.NoClassDefFoundError: org/htmlparser/visitors/NodeVisitor
root cause
java.lang.RuntimeException: WEB9033: Unable to load class with name [org.htmlparser.beans.StringBean], reason: java.lang.NoClassDefFoundError: org/htmlparser/visitors/NodeVisitor
root cause
java.lang.NoClassDefFoundError: org/htmlparser/visitors/NodeVisitor
root cause
java.lang.ClassNotFoundException: org.htmlparser.visitors.NodeVisitor
Check that WEB-INF/lib/htmlparser.jar
exists in the server.
精彩评论