How do I make package org.apache.axis.encoding exist in netbeans?

E

Enter The

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.
 
E

Enter The

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.
 
L

Lew

Enter said:
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.

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.
 
N

Nigel Wade

Enter said:
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.

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.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,969
Messages
2,570,161
Members
46,709
Latest member
AustinMudi

Latest Threads

Top