You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-user@axis.apache.org by J H <do...@hotmail.com> on 2005/08/04 00:07:14 UTC
RE: could not find class javax.activation.DataHandler from file activation.jar ?
I'm still learning all of this, but I used to get the message below, I fixed
it by adding activation.jar to the classpath for the server or web
application. (One machine I put it in the server\lib, one machine I put it
in web-inf\lib).
"- Unable to find required classes (javax.activation.DataHandler and
javax.mail.internet.MimeMultipart). Attachment support is disabled."
Jeff
>From: "Chen, Donald" <dc...@nrgn.com>
>Reply-To: axis-user@ws.apache.org
>To: <ax...@ws.apache.org>
>Subject: could not find class javax.activation.DataHandler from file
>activation.jar ???
>Date: Wed, 3 Aug 2005 17:53:10 -0400
>
>Hi, there.
>
>
>
>I tried to run the http://127.0.0.1:8080/axis/happyaxis.jsp, and got
>this message:
>
> Error: could not find class javax.activation.DataHandler from file
>activation.jar
>
> Axis will not work.
>
> See http://java.sun.com/products/javabeans/glasgow/jaf.html
>
>
>
>I use Axis 12. with Tomcat 5.5 on windows XP professional, the JRE is
>J2SE 1.5.
>
>
>
>Did I miss something?
>
>
>
>Thanks,
>
>
>
>Don
>
RE: could not find class javax.activation.DataHandler from
file activation.jar ?
Posted by richard falconer <rf...@peopledoc.com>.
Additionally to the activation.jar, you'll need the mailapi.jar from
java's mail api. This library is located somewhere on suns website.
Best regards
Richard
At 23:07 03/08/2005, you wrote:
>I'm still learning all of this, but I used to get the message below, I
>fixed it by adding activation.jar to the classpath for the server or web
>application. (One machine I put it in the server\lib, one machine I put
>it in web-inf\lib).
>
>"- Unable to find required classes (javax.activation.DataHandler and
>javax.mail.internet.MimeMultipart). Attachment support is disabled."
>
>Jeff
>
>>From: "Chen, Donald" <dc...@nrgn.com>
>>Reply-To: axis-user@ws.apache.org
>>To: <ax...@ws.apache.org>
>>Subject: could not find class javax.activation.DataHandler from file
>>activation.jar ???
>>Date: Wed, 3 Aug 2005 17:53:10 -0400
>>
>>Hi, there.
>>
>>
>>
>>I tried to run the http://127.0.0.1:8080/axis/happyaxis.jsp, and got
>>this message:
>>
>> Error: could not find class javax.activation.DataHandler from file
>>activation.jar
>>
>> Axis will not work.
>>
>> See http://java.sun.com/products/javabeans/glasgow/jaf.html
>>
>>
>>
>>I use Axis 12. with Tomcat 5.5 on windows XP professional, the JRE is
>>J2SE 1.5.
>>
>>
>>
>>Did I miss something?
>>
>>
>>
>>Thanks,
>>
>>
>>
>>Don
>