Hi,
I've created a project in Netbeans.
I keep on getting the error message:
Compiling 24 source files to H:\...\build\classes
H:\...\src\com\betfair\www\publicapi\types\exchange
\v3\APIErrorEnum.java:60: package org.apache.axis.encoding does not
exist
So it looks like it can't find package org.apache.axis.encoding.
In order to rectify this, I've tried downloading axis from:
http://mirrors.dedipower.com/ftp.apache.org/ws/axis/1_4/
I then went to Tools\Library Manager, created a new library, clicked
"ADD JAR/Folder" and pointed it at my axis\lib folder.
However, I still get the same error.
Please help me to fix this.
Thanks,
Enter.
Enter The - 27 Sep 2007 18:36 GMT
Also, when I try typing import org. in netbeans, I'd expect it to
suggest apache, as well as w3c, xml etc... However, I don't see
apache in the list.
Lew - 27 Sep 2007 18:37 GMT
> I've created a project in Netbeans.
>
[quoted text clipped - 13 lines]
> I then went to Tools\Library Manager, created a new library, clicked
> "ADD JAR/Folder" and pointed it at my axis\lib folder.
Did you point it at the folder or the JARs in the folder?
You have to put the JARs in the library. You can also attach the JARs
directly to the project's classpath, but for a generally useful library like
Axis you are right to pursue the library approach.
Again, the JARs constitute your classpath, not the folder that holds the JARs.

Signature
Lew
Nigel Wade - 28 Sep 2007 13:02 GMT
> Hi,
>
[quoted text clipped - 23 lines]
>
> Enter.
Did you add the library/jar to the project properties?
Right-click on the Project and select Properties. In the Project Properties
dialog select Libraries, then select Add Project..., Add Library... or Add
JAR/Folder as appropriate.

Signature
Nigel Wade, System Administrator, Space Plasma Physics Group,
University of Leicester, Leicester, LE1 7RH, UK
E-mail : nmw@ion.le.ac.uk
Phone : +44 (0)116 2523548, Fax : +44 (0)116 2523555