日韩性视频-久久久蜜桃-www中文字幕-在线中文字幕av-亚洲欧美一区二区三区四区-撸久久-香蕉视频一区-久久无码精品丰满人妻-国产高潮av-激情福利社-日韩av网址大全-国产精品久久999-日本五十路在线-性欧美在线-久久99精品波多结衣一区-男女午夜免费视频-黑人极品ⅴideos精品欧美棵-人人妻人人澡人人爽精品欧美一区-日韩一区在线看-欧美a级在线免费观看

歡迎訪問 生活随笔!

生活随笔

當前位置: 首頁 > 编程资源 > 编程问答 >内容正文

编程问答

Unable to find required classes (javax.activation.DataHandler and javax.mail.internet.MimeMultipart)

發(fā)布時間:2023/11/29 编程问答 38 豆豆
生活随笔 收集整理的這篇文章主要介紹了 Unable to find required classes (javax.activation.DataHandler and javax.mail.internet.MimeMultipart) 小編覺得挺不錯的,現(xiàn)在分享給大家,幫大家做個參考.

在接觸WebService時值得收藏的一篇文章:

在調(diào)試Axis1.4訪問WebService服務(wù)時,出現(xiàn)以下錯誤:

Unable to find required classes (javax.activation.DataHandler and javax.mail.internet.MimeMultipart)

有錯誤找到錯誤原因以及發(fā)現(xiàn)值得收藏的一篇文章,方便自己查找。

——————————————————————————————————

錯誤原因:
需要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.jar
http://java.sun.com/products/javamail/downloads/index.html
http://java.sun.com/products/javabeans/glasgow/jaf.html#download
或者我提供了一個rar包:包含mail.jar action.jar
download:mail.jar and activation.jar
2)?把mail.jar和activation.jar放到%AXIS_HOME%/WEB-INF/lib目錄下

3)?將.jar文件添加到%CLASSPATH%

說明:
這個是可以忽略的。不過以后構(gòu)建web services都要用到的,還是添加上的好。
參考:http://www.ogsadai.org.uk/documentation/ogsadai-wsi-2.1/doc/wsi/FAQ.html
This 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 Instructions
Axis指南:Guide to building Axis

總結(jié)

以上是生活随笔為你收集整理的Unable to find required classes (javax.activation.DataHandler and javax.mail.internet.MimeMultipart)的全部內(nèi)容,希望文章能夠幫你解決所遇到的問題。

如果覺得生活随笔網(wǎng)站內(nèi)容還不錯,歡迎將生活随笔推薦給好友。