首页 诗词 字典 板报 句子 名言 友答 励志 学校 网站地图
当前位置: 首页 > 教程频道 > JAVA > Java Exception >

java.lang.NoClassDefFoundError:javax/xml/parsers/DocumentBuilderFactory-jsp,serv

2014-01-26 
java.lang.NoClassDefFoundError: javax/xml/parsers/DocumentBuilderFactoryat bussiness.order_servlet.d

java.lang.NoClassDefFoundError: javax/xml/parsers/DocumentBuilderFactory
  at bussiness.order_servlet.doGet(order_servlet.java:29)
  at bussiness.order_servlet.doPost(order_servlet.java:64)
  at javax.servlet.http.HttpServlet.service(HttpServlet.java:760)
  at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
  at org.apache.tomcat.core.ServletWrapper.handleRequest(ServletWrapper.java:503)
  at org.apache.tomcat.core.ServletWrapper.handleRequest(ServletWrapper.java:597)
  at org.apache.tomcat.servlets.InvokerServlet.service(InvokerServlet.java:257)
  at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
  at org.apache.tomcat.core.ServletWrapper.handleRequest(ServletWrapper.java:503)
  at org.apache.tomcat.core.ContextManager.service(ContextManager.java:559)
  at org.apache.tomcat.service.http.HttpConnectionHandler.processConnection(HttpConnectionHandler.java:160)
  at org.apache.tomcat.service.TcpConnectionThread.run(SimpleTcpEndpoint.java:338)
  at java.lang.Thread.run(Thread.java:484

------解决方法--------------------------------------------------------
应引入jaxp.jar
------解决方法--------------------------------------------------------
classpath加如路径!就可以了!!

        

热点排行