Skip to main content



      Home
Home » Language IDEs » ServerTools (WTP) » Error whilst creating a web service - ClassNotFoundException: javax.activation.DataSource
Error whilst creating a web service - ClassNotFoundException: javax.activation.DataSource [message #86903] Thu, 24 March 2005 12:13 Go to next message
Eclipse UserFriend
Originally posted by: jm.r.lineone.net

I'm getting the above error whilst following the top-down tutorial
( http://www.eclipse.org/webtools/jst/components/ws/tutorials/ TopDownWebService.html).

I have set up a Tomcat 4.1 runtime. My project properties lists Tomcat
4.1 as the default server and its entry exists in my project. In fact,
it is possible to see javax.activation.DataSource by expanding the
Tomcat 4.1 runtime project entry!

I have followed the instructions at
http://www.eclipse.org/webtools/wst/components/ws/download_i nstructions_for_jars.html
and started eclispe with the -clean option.

In general terms this is a classpath error, but as I'm a newbie to
eclipse I don't know where else to look.

There is a similar posting to this (NoClassDefFoundError when creating
web service from wsdl) but no solution!

Ideas anyone? Thanks in advance for your help.
Re: Error whilst creating a web service - ClassNotFoundException: javax.activation.DataSource [message #87444 is a reply to message #86903] Fri, 25 March 2005 15:56 Go to previous message
Eclipse UserFriend
When I ran into this problem before, I found another activiation.jar in
my classpath. After removing it, the problem went away.

Maybe, you could try doing a search for "activation.jar" with windows
explorer.

Also, make sure the activiation.jar file is in the 'lib' directory of
"<wtpInstallDirectory>/eclipse/plugins/org.eclipse.wst.ws.apache.soap_1.0.0/
". In fact, all the jars need to be in a "lib" directory, so create the
folder if one doesn't already exist.

And finally, you could try starting up eclipse with "-clean".

If after more tinkering and none of my suggestions work, maybe we should
start tracking this problem through a bugzilla bug. Please feel free to
open one.

https://bugs.eclipse.org/bugs/enter_bug.cgi


-seng




SuiteJ wrote:
> I'm getting the above error whilst following the top-down tutorial
> ( http://www.eclipse.org/webtools/jst/components/ws/tutorials/ TopDownWebService.html).
>
>
> I have set up a Tomcat 4.1 runtime. My project properties lists Tomcat
> 4.1 as the default server and its entry exists in my project. In fact,
> it is possible to see javax.activation.DataSource by expanding the
> Tomcat 4.1 runtime project entry!
>
> I have followed the instructions at
> http://www.eclipse.org/webtools/wst/components/ws/download_i nstructions_for_jars.html
> and started eclispe with the -clean option.
>
> In general terms this is a classpath error, but as I'm a newbie to
> eclipse I don't know where else to look.
>
> There is a similar posting to this (NoClassDefFoundError when creating
> web service from wsdl) but no solution!
>
> Ideas anyone? Thanks in advance for your help.
Previous Topic:Source code not being compiled and copied
Next Topic:User-definable schema file resolver?
Goto Forum:
  


Current Time: Sat Jun 21 07:01:47 EDT 2025

Powered by FUDForum. Page generated in 0.03243 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top