• <ins id="pjuwb"></ins>
    <blockquote id="pjuwb"><pre id="pjuwb"></pre></blockquote>
    <noscript id="pjuwb"></noscript>
          <sup id="pjuwb"><pre id="pjuwb"></pre></sup>
            <dd id="pjuwb"></dd>
            <abbr id="pjuwb"></abbr>
            隨筆-20  評論-89  文章-1  trackbacks-0
            [slove]Unable to find required classes (javax.activation.DataHandler and javax.mail.internet.MimeMultipart). Attachment support is disabled
            2006年4月27日 劉濤LiuTao.PRC@gmail.com

            錯誤原因:
            需要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
            posted on 2006-04-27 11:44 夜舞重金屬 閱讀(27557) 評論(15)  編輯 收藏 引用 所屬分類: 網格(Grid)

            評論:
            # re: [slove]Unable to find required classes (javax.activation.DataHandler and javax.mail.internet.MimeMultipart). Attachment support is disabled 2006-09-18 09:21 | WS-newer
            WS初學者,謝謝摟主的帖子!幫了大忙了~  回復  更多評論
              
            # re: [slove]Unable to find required classes (javax.activation.DataHandler and javax.mail.internet.MimeMultipart). Attachment support is disabled 2006-11-30 10:24 | Javen Wong
            呵呵,頂!  回復  更多評論
              
            # re: [slove]Unable to find required classes (javax.activation.DataHandler and javax.mail.internet.MimeMultipart). Attachment support is disabled 2007-06-10 21:49 | Thierry
            哈哈,一年之后,謝謝劉兄!  回復  更多評論
              
            # re: [slove]Unable to find required classes (javax.activation.DataHandler and javax.mail.internet.MimeMultipart). Attachment support is disabled 2007-06-14 16:50 | d
            初學,還不知道把文件放在哪個目錄下,見笑。(Tomcat5,IDK 1.5)  回復  更多評論
              
            # re: [slove]Unable to find required classes (javax.activation.DataHandler and javax.mail.internet.MimeMultipart). Attachment support is disabled 2007-06-15 09:48 | wform
            @d
            %AXIS_HOME%\WEB-INF\lib
            也就是你自己的AXIS安裝目錄里面對應的lib目錄下。  回復  更多評論
              
            # re: [slove]Unable to find required classes (javax.activation.DataHandler and javax.mail.internet.MimeMultipart). Attachment support is disabled 2007-07-09 17:06 | 凌觀生
            我還是不能,操作應該正確的,但就是顯示總是:代碼如下
            import javax.xml.rpc.ParameterMode;

            import javax.xml.rpc.encoding.XMLType;

            import org.apache.axis.client.Call;

            import org.apache.axis.client.Service;

            public class Client {

            public static void main(String[] args) throws Exception {

            String endpoint = "http://61.164.53.250/LZL_SMS_Service.dll";
            //String endpoint = "http://61.164.53.250/LZL_SMS_Service.dll/?";

            Service service = new Service();

            Call call = (Call) service.createCall();

            call.setTargetEndpointAddress(new java.net.URL(endpoint));

            call.setOperationName("SubmitShortMessage");

            call.addParameter("UserName", XMLType.XSD_STRING, ParameterMode.IN);

            call.addParameter("UserPW", XMLType.XSD_STRING, ParameterMode.IN);

            call.addParameter("AtTime", XMLType.XSD_STRING, ParameterMode.IN);

            call.addParameter("SourceAddr", XMLType.XSD_STRING, ParameterMode.IN);

            call.addParameter("DestAddr", XMLType.XSD_STRING, ParameterMode.IN);

            call.addParameter("Content", XMLType.XSD_STRING, ParameterMode.IN);

            call.addParameter("ServiceID", XMLType.XSD_INT, ParameterMode.IN);

            call.setReturnType(XMLType.XSD_INT);

            Integer ret = (Integer) call.invoke(new Object[] { new String("ling"), new String("password"),new String

            ("19:20:20"),new String("source"),new String("dest"),new String("content"),new Integer(3)});

            System.out.println("The value of webservice return is :" + ret);

            }

            }
              回復  更多評論
              
            # re: [slove]Unable to find required classes (javax.activation.DataHandler and javax.mail.internet.MimeMultipart). Attachment support is disabled 2007-08-01 21:24 | gdfsg
            fgsdgfd
            gsddf231231  回復  更多評論
              
            # re: [slove]Unable to find required classes (javax.activation.DataHandler and javax.mail.internet.MimeMultipart). Attachment support is disabled 2007-11-07 15:13 | zhuge
            Thank you sir!  回復  更多評論
              
            # re: [slove]Unable to find required classes (javax.activation.DataHandler and javax.mail.internet.MimeMultipart). Attachment support is disabled 2008-02-13 06:49 | Buddy
            謝謝~~~~~~~~~你太牛了~~~!!!!!!  回復  更多評論
              
            # re: [slove]Unable to find required classes (javax.activation.DataHandler and javax.mail.internet.MimeMultipart). Attachment support is disabled[未登錄] 2008-03-27 10:58 | smile
            我剛試過,警告信息沒有了,太感謝了!  回復  更多評論
              
            # re: [slove]Unable to find required classes (javax.activation.DataHandler and javax.mail.internet.MimeMultipart). Attachment support is disabled 2010-09-13 18:16 | KatiePatel27
            Various people in all countries get the <a href="http://bestfinance-blog.com/topics/mortgage-loans">mortgage loans</a> from various banks, because this is comfortable and fast.   回復  更多評論
              
            # re: [slove]Unable to find required classes (javax.activation.DataHandler and javax.mail.internet.MimeMultipart). Attachment support is disabled 2011-07-08 11:51 | 狼王爺
            謝謝前輩了,你的文章很好,剛好用上,謝謝,這篇文章轉到我的博客了,通知您一下,哈哈,  回復  更多評論
              
            # re: [slove]Unable to find required classes (javax.activation.DataHandler and javax.mail.internet.MimeMultipart). Attachment support is disabled 2011-08-26 18:46 | forum profile service
            Some people create their blogs knowing nothing just about linkbuilding. Therefore, their websites have not high ranking. These folks do not understand that forum profiles services can resolve this kind of issue!   回復  更多評論
              
            # re: [slove]Unable to find required classes (javax.activation.DataHandler and javax.mail.internet.MimeMultipart). Attachment support is disabled 2011-10-10 11:20 | aa
            謝謝 解決了  回復  更多評論
              
            # re: [slove]Unable to find required classes (javax.activation.DataHandler and javax.mail.internet.MimeMultipart). Attachment support is disabled 2012-01-06 19:48 | Logo design
            Your posts are helpful and informative as always. Thanks very much.
              回復  更多評論
              
            # re: [slove]Unable to find required classes (javax.activation.DataHandler and javax.mail.internet.MimeMultipart). Attachment support is disabled 2012-06-28 21:23 | custom essay
            Order term papers essays from expert academic writers. So if you don’t know how to write your paper, you only need to use the following link and get reliable term paper writing services.  回復  更多評論
              
            老司机午夜网站国内精品久久久久久久久 | 狠狠色噜噜狠狠狠狠狠色综合久久 | 久久久久久久免费视频| 亚洲国产成人精品91久久久| 亚洲精品视频久久久| 亚洲精品无码久久久久去q| 久久精品无码专区免费东京热| 青草影院天堂男人久久| 伊人久久大香线蕉综合网站| 人人狠狠综合久久88成人| 久久久国产精品福利免费| 日韩久久久久中文字幕人妻| 精品熟女少妇av免费久久| 久久久噜噜噜久久中文字幕色伊伊| 四虎国产精品成人免费久久| 日本道色综合久久影院| 久久久无码精品亚洲日韩蜜臀浪潮| 亚洲日韩中文无码久久| 久久久WWW成人| 天天久久狠狠色综合| 久久久无码精品亚洲日韩蜜臀浪潮| 久久久久亚洲av毛片大| 99久久综合狠狠综合久久止| 国产69精品久久久久久人妻精品 | 精品久久综合1区2区3区激情| 99久久99久久精品国产| 亚洲AV无码久久精品成人| 久久国产精品视频| 精品久久一区二区| 亚洲综合伊人久久综合| 国产精品久久久香蕉| 久久国产福利免费| 国产AⅤ精品一区二区三区久久 | 色噜噜狠狠先锋影音久久| 日韩人妻无码一区二区三区久久 | 久久国产热精品波多野结衣AV| 亚洲中文字幕伊人久久无码| 久久久久国产一区二区| 中文字幕久久欲求不满| 99久久精品国产一区二区| 7国产欧美日韩综合天堂中文久久久久 |