首页上一页 1 下一页尾页 1 条记录 1/1页
《JSP项目开发全程实录》
发表在JavaWeb图书答疑
2010-08-04
是否精华
是
否
版块置顶:
是
否
已按书上方法将发送短信功能完全实现,所需的jar包和dll文件也已经配置好
BestMail.dll位于:C:\Program Files\Java\jdk1.6.0\jre\bin
BestMail.jar拷入 lib目录,但还是出现:
2010-8-4 3:24:53 org.apache.catalina.core.StandardWrapperValve invoke
严重: Servlet.service() for servlet action threw exception
java.lang.NoClassDefFoundError
at com.wgh.dao.SendLetterDAO.getConnectionModem(SendLetterDAO.java:74)
at com.wgh.dao.SendLetterDAO.mySend(SendLetterDAO.java:88)
at com.wgh.dao.SendLetterDAO.sendLetter(SendLetterDAO.java:40)
at com.wgh.action.SendLetter.sendLetter(SendLetter.java:70)
at com.wgh.action.SendLetter.execute(SendLetter.java:45)
at org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:419)
at org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:224)
at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1196)
at org.apache.struts.action.ActionServlet.doPost(ActionServlet.java:432)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:710)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:175)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:128)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:286)
at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:844)
at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:583)
at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:447)
at java.lang.Thread.run(Unknown Source)
求助
BestMail.dll位于:C:\Program Files\Java\jdk1.6.0\jre\bin
BestMail.jar拷入 lib目录,但还是出现:
2010-8-4 3:24:53 org.apache.catalina.core.StandardWrapperValve invoke
严重: Servlet.service() for servlet action threw exception
java.lang.NoClassDefFoundError
at com.wgh.dao.SendLetterDAO.getConnectionModem(SendLetterDAO.java:74)
at com.wgh.dao.SendLetterDAO.mySend(SendLetterDAO.java:88)
at com.wgh.dao.SendLetterDAO.sendLetter(SendLetterDAO.java:40)
at com.wgh.action.SendLetter.sendLetter(SendLetter.java:70)
at com.wgh.action.SendLetter.execute(SendLetter.java:45)
at org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:419)
at org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:224)
at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1196)
at org.apache.struts.action.ActionServlet.doPost(ActionServlet.java:432)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:710)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:175)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:128)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:286)
at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:844)
at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:583)
at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:447)
at java.lang.Thread.run(Unknown Source)
求助