Unable to find required classes (javax.activation.DataHandler and javax.mail.internet.MimeMultipart)
来源:互联网 发布:如何注册淘宝卖家 编辑:程序博客网 时间:2024/05/29 16:00
错误原因:
需要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%
说明:
这个是可以忽略的。不过以后构建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
需要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%
说明:
这个是可以忽略的。不过以后构建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
转载自:http://blog.csdn.net/foamflower/article/details/2897501
0 0
- Unable to find required classes (javax.activation.DataHandler and javax.mail.internet.MimeMultipart)
- Unable to find required classes (javax.activation.DataHandler and javax.mail.internet.MimeMultipart)
- Unable to find required classes (javax.activation.DataHandler and javax.mail.internet.MimeMultipart)
- Unable to find required classes (javax.activation.DataHandler and javax.mail.internet.MimeMultipart)
- Unable to find required classes (javax.activation.DataHandler and javax.mail.internet.MimeMultipart)
- Unable to find required classes (javax.activation.DataHandler and javax.mail.internet.MimeMultipart). Attachment support is disa
- Unable to find required classes (javax.activation.DataHandler and javax.mail.internet.MimeMultipart). Attachment support is disa
- Unable to find required classes (javax.activation.DataHandler and javax.mail.internet.MimeMultipart). Attachment support is disa
- [slove]Unable to find required classes (javax.activation.DataHandler and javax.mail.internet.MimeMul
- Unable to find required classes (javax.activation.DataHandler and javax.mail.internet.MimeMu
- 错误:javax.activation.DataHandler and javax.mail.internet.MimeMultipart
- JavaUtils:1308 - Unable to find required classes (javax.activation.DataHandler and javax.ma il.
- java.lang.ClassCastException: javax.mail.internet.MimeMultipart
- JBOSS:javax/activation/DataHandler
- 【异常】Could not find class 'javax.activation.DataHandler'
- 使用javax.activation.DataHandler将文件转为byte[]
- java.lang.NoClassDefFoundError: javax.activation.DataHandler的解决办法
- [Android]异常3-java.lang.NoClassDefFoundError: javax.activation.DataHandler
- git reset 版本回退
- malloc函数详解
- 企业级与个人级 DNS 劫持简谈
- xib学习跳转(presentViewController:)
- 3-4、java.util.Queue
- Unable to find required classes (javax.activation.DataHandler and javax.mail.internet.MimeMultipart)
- 小谈抽象工厂模式与工厂方法,Abstract Factory Pattern and Factory Method
- 嵌入式开发中ARM架构的C代码优化
- git偷懒 -- 别名
- Java编程知识点——Scanner
- UIViewController如何作为父容器管理子容器
- Way to Clean Code
- DIY智能插座(一) -- 硬件搭建
- 本地和远程版本库之间协作