江阴早晨网站建设,制作相册app,如何做下载网站赚钱吗,广东上海专业网站建设公司在接触WebService时值得收藏的一篇文章#xff1a; 在调试Axis1.4访问WebService服务时#xff0c;出现以下错误#xff1a; Unable to find required classes (javax.activation.DataHandler and javax.mail.internet.MimeMultipart) 有错误找到错误原因以及发现值得收藏的…在接触WebService时值得收藏的一篇文章 在调试Axis1.4访问WebService服务时出现以下错误 Unable to find required classes (javax.activation.DataHandler and javax.mail.internet.MimeMultipart) 有错误找到错误原因以及发现值得收藏的一篇文章方便自己查找。 —————————————————————————————————— 错误原因需要mail.jar和activation.jar。Solution:Web Services Required Jars Download Instructions http://www.eclipse.org/webtools/wst/components/ws/download_instructions_for_jars.html解决办法1) 下载javamail和jaf解压出mail.jar和activation.jarhttp://java.sun.com/products/javamail/downloads/index.htmlhttp://java.sun.com/products/javabeans/glasgow/jaf.html#download或者我提供了一个rar包包含mail.jar action.jardownloadmail.jar and activation.jar2) 把mail.jar和activation.jar放到%AXIS_HOME%/WEB-INF/lib目录下3) 将.jar文件添加到%CLASSPATH%说明这个是可以忽略的。不过以后构建web services都要用到的还是添加上的好。参考http://www.ogsadai.org.uk/documentation/ogsadai-wsi-2.1/doc/wsi/FAQ.htmlThis is a warning message that can safely be ignored. It is displayed when Axis has been deployed without an optional JAR. An optional JAR is one that allows Axis to support a particular piece of functionalty but is not required for general use. Please refer to the Axis documentation for more details.备注一篇很好的jars下载指南Web Services Required Jars Download InstructionsAxis指南Guide to building Axis