`

Unable to find required classes 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/javabeans/glasgow/jaf.html#download 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
分享到:
评论
2 楼 emilyzhanghong 2011-11-08  
server端出现这个问题了,用你的方法解决了,谢谢
1 楼 xufeng52645264 2011-11-02  
我用的MyEclipse8.5自带的xFire开发的web service,也出现这个问题,那该怎么解决,您说的%AXIS_HOME%\WEB-INF\lib目录下都不存在,可能是因为其它问题吧

相关推荐

Global site tag (gtag.js) - Google Analytics