jbuilderx+tomcat5+apache soap

04-09-09 melonseed
各位大哥、大虾们帮帮忙:

我用jbuilderx,tomcat5,apache SOAp 建立web services。

tomcat5是作为jbuilderx thirdparty 安装的,用到的其他软件包有soap2.3.1,xerces-j1.4.4,javamail1.2,bsf2.3.0,jaf1_0_2。在启动soap admin时出现如下问题:

exception

javax.servlet.ServletException: javax/mail/MessagingException

org.apache.jasper.runtime.PageContextImpl.doHandlePageException(PageContextImpl.java:867)

org.apache.jasper.runtime.PageContextImpl.handlePageException(PageContextImpl.java:800)

org.apache.jsp.admin.list_jsp._jspService(list_jsp.java:84)

org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:133)

javax.servlet.http.HttpServlet.service(HttpServlet.java:856)

org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:311)

org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:301)

org.apache.jasper.servlet.JspServlet.service(JspServlet.java:248)

javax.servlet.http.HttpServlet.service(HttpServlet.java:856)

root cause

java.lang.NoClassDefFoundError: javax/mail/MessagingException

org.apache.jsp.admin.list_jsp._jspService(list_jsp.java:49)

org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:133)

javax.servlet.http.HttpServlet.service(HttpServlet.java:856)

org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:311)

org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:301)

org.apache.jasper.servlet.JspServlet.service(JspServlet.java:248)

javax.servlet.http.HttpServlet.service(HttpServlet.java:856)

请各位帮帮忙,谢谢!

banq
2004-09-10 12:03
这个问题有人问过,JavaMail包没有导入,虽然你没有使用。

melonseed
2004-09-10 15:59
非常感谢!

melonseed
2004-09-10 16:09
我是一名新手,还想请教:

在什么地方导入javamail包呢?

谢谢!

melonseed
2004-09-12 16:49
终于搞定了,谢谢!

猜你喜欢