开发者

java rest web service RuntimeException WEB9033

开发者 https://www.devze.com 2022-12-24 15:30 出处:网络
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.Str

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.

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号