Hi Angela.
If you are using OODT from source, you can simply add the http client
commons library to the Pom.xml and rebuild the module. This does however
mean working with the XML and maven to build. Which version of oodt do you
have?

On Friday, September 19, 2014, Mengying Wang <wang...@usc.edu> wrote:

> Dear Everyone,
>
> I am trying to use the url-downloader script of the Apache OODT Crawler.
> However, it raises the following "no class definition" error, I am not sure
> what is going on. Could you please give me some hints? Many thanks.
>
> $ ./url-downloader
> http://pds-imaging.jpl.nasa.gov/data/msl/MSLHAZ_0XXX/CATALOG/CATINFO.TXT .
> Exception in thread "main" java.lang.NoClassDefFoundError:
> org/apache/oodt/cas/pushpull/protocol/http/HttpClient
> Caused by: java.lang.ClassNotFoundException:
> org.apache.oodt.cas.pushpull.protocol.http.HttpClient
> at java.net.URLClassLoader$1.run(URLClassLoader.java:202)
> at java.security.AccessController.doPrivileged(Native Method)
> at java.net.URLClassLoader.findClass(URLClassLoader.java:190)
> at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
> at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301)
> at java.lang.ClassLoader.loadClass(ClassLoader.java:247)
>
> Best,
> Angela Wang
>


-- 
*Lewis*

Reply via email to