Results 1 to 3 of 3
  1. #1
    loja11 is offline Member
    Join Date
    Jan 2011
    Posts
    18
    Rep Power
    0

    Smile package does not exist

    I am trying to import a package to another package and access a class in the former package. I used import in the latter package as

    import packagename.* immediately after the package name of the latter class.

    I working on netbeans IDE, and it underlines the package name it reads

    package does not exit.

    I can see it and both are under the same directory on the harddisk.

    Any suggestion as to what could be the problem?

  2. #2
    JosAH's Avatar
    JosAH is online now Moderator
    Join Date
    Sep 2008
    Location
    Voorschoten, the Netherlands
    Posts
    13,563
    Blog Entries
    7
    Rep Power
    21

    Default Re: package does not exist

    Did you spell the package name correctly? Is that package part of the same project in Netbeans?

    kind regards,

    Jos
    cenosillicaphobia: the fear for an empty beer glass

  3. #3
    loja11 is offline Member
    Join Date
    Jan 2011
    Posts
    18
    Rep Power
    0

    Default Re: package does not exist

    Thanks Jos, again. I was confusing package with project.

Similar Threads

  1. package jxl does not exist ??? any ideas
    By Macca07 in forum New To Java
    Replies: 5
    Last Post: 05-14-2012, 07:38 PM
  2. Replies: 5
    Last Post: 07-16-2011, 05:30 PM
  3. package does not exist error
    By glaze24 in forum New To Java
    Replies: 1
    Last Post: 11-28-2010, 02:03 PM
  4. package javax.servlet does not exist :>
    By wildheart25c in forum Java Servlet
    Replies: 2
    Last Post: 02-17-2010, 12:02 AM
  5. package mj does not exist
    By PzK in forum New To Java
    Replies: 8
    Last Post: 12-03-2008, 10:30 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •