Attachment support is disabled解決方案

Unable to find required classes (javax.activation.DataHandler and javax.mail.internet.MimeMultipart). Attachment support is disabled解決方案
錯誤原因:
需要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

2) 把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.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
發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章