DevX Home    Today's Headlines   Articles Archive   Tip Bank   Forums   

Results 1 to 3 of 3

Hybrid View

  1. #1
    Join Date
    Aug 2005

    Unhappy Compilation prob (Classpath)

    I have a compilation prob here. I try to compile the file in location C:\aspmclient\src\com\xx\aspm\classes with the proper classpath settings. However I get the following compilation error -

    C:\upmclient\src\com\xx\upm\classes>javac AAGUDServlet.java
    AAGUDServlet.java:108: cannot resolve symbol
    symbol  : class ASPMServiceFacadePortType
    location: class com.xx.upm.classes.AAGUDServlet
                ASPMServiceFacadePortType myProxy = (ASPMServiceFacadePortType) aspmService.getPort(new QNa
    I have set the classpath to point to this class like -

    set classpath = .;%CLASSPATH%;C:\aspmclient\src\com\xx\aspm\ejb;

    where C:\aspmclient\src\com\xx\aspm\ejb is the location of the needed classes and yet it still shows the same error. I checked the classpath and it includes the abovepath. I dont know what is causing the prob.

    Any ideas?
    Last edited by man_25; 08-22-2005 at 01:44 AM.

  2. #2
    Join Date
    Aug 2003
    Not positive, but try using all caps, e.g. CLASSPATH. Also, try it specifying it on teh command line (take a look at http://java.sun.com/j2se/1.4.2/docs/...ws/javac.html). It should be something like
    javac -classpath "http://java.sun.com/j2se/1.4.2/docs/tooldocs/windows/javac.html" ...

    Hope this helps.

  3. #3
    Join Date
    Aug 2005
    thnkx evlich for your help!

Similar Threads

  1. Replies: 0
    Last Post: 12-03-2001, 05:06 PM
  2. classpath issues
    By in forum Java
    Replies: 1
    Last Post: 02-15-2001, 11:19 AM
  3. Replies: 3
    Last Post: 02-10-2001, 08:24 AM
  4. regarding classpath
    By satyamohanty in forum Java
    Replies: 0
    Last Post: 11-21-2000, 11:31 PM
  5. Using VB's Conditional Compilation Arguments
    By Larry Rebich in forum vb.announcements
    Replies: 0
    Last Post: 05-22-2000, 12:49 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
HTML5 Development Center
Latest Articles
Questions? Contact us.
Web Development
Latest Tips
Open Source

   Development Centers

   -- Android Development Center
   -- Cloud Development Project Center
   -- HTML5 Development Center
   -- Windows Mobile Development Center

We have made updates to our Privacy Policy to reflect the implementation of the General Data Protection Regulation.