Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsWhite Papers
Discussion GroupsFirst AidDatabasesJavaBeansGUIJava 3DVirtual MachineCORBASecurityToolsGeneral
Java DirectoryOpen Source ProjectsSample Book ChaptersUser GroupsWeb Resources
Related Topics
Databases.NETMore Topics ...

Java Forum / General / September 2007

Tip: Looking for answers? Try searching our database.

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

Thread view: 
Enter The - 27 Sep 2007 18:34 GMT
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



Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.