[Bio-Linux] KEGG SOAP API

Nathan S. Haigh nathanhaigh at ukonline.co.uk
Fri Jun 16 03:29:16 EDT 2006


I'm trying to install Apache Axis libraries following the instructions at:

http://www.genome.jp/kegg/soap/doc/keggapi_manual.html#label:8

 

I copy the libraries to /usr/local/java/lib/

And then try the first command mentioned on this page:

java -classpath
/path/to/lib/axis.jar:/path/to/lib/jaxrpc.jar:/path/to/lib/commons-logging.j
ar:/path/to/lib/commons-discovery.jar:/path/to/lib/saaj.jar:/path/to/lib/wsd
l4j.jar:. org.apache.axis.wsdl.WSDL2Java -p keggapi
http://soap.genome.jp/KEGG.wsdl

 

I then get an error:

Exception in thread "main" java.lang.NoClassDefFoundError:
org.apache.commons.logging.LogFactory

        at
org.apache.axis.components.logger.LogFactory.class$(LogFactory.java:45)

        at
org.apache.axis.components.logger.LogFactory$1.run(LogFactory.java:45)

        at java.security.AccessController.doPrivileged(Native Method)

        at
org.apache.axis.components.logger.LogFactory.getLogFactory(LogFactory.java:4
1)

        at
org.apache.axis.components.logger.LogFactory.<clinit>(LogFactory.java:33)

        at
org.apache.axis.i18n.ProjectResourceBundle.<clinit>(ProjectResourceBundle.ja
va:53)

        at
org.apache.axis.i18n.MessagesConstants.<clinit>(MessagesConstants.java:32)

        at org.apache.axis.utils.Messages.<clinit>(Messages.java:36)

        at org.apache.axis.wsdl.WSDL2Java.<clinit>(WSDL2Java.java:112)

 

Has anyone tried this installation, or do you have any suggestions?

 

Thanks

Nathan

 

----------------------------------------------------------------------------
------

Dr. Nathan S. Haigh MPharmacol. Ph.D.

Bioinformatics PostDoctoral Research Associate

 

Room B2 211                                            Tel: +44 (0)114 22
20112

Department of Animal and Plant Sciences                Mob: +44 (0)7742 533
569

University of Sheffield                                Fax: +44 (0)114 22
20002

Western Bank                                           Web:
www.bioinf.shef.ac.uk <http://www.bioinf.shef.ac.uk/> 

Sheffield
www.petraea.shef.ac.uk

S10 2TN                                         

----------------------------------------------------------------------------
------

 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.bioinformatics.org/pipermail/bio-linux-list/attachments/20060616/122bf58f/attachment.html>


More information about the Bio-linux-list mailing list