Results 1 to 2 of 2
  1. #1
    Hazza is offline Member
    Join Date
    Oct 2012
    Rep Power

    Default the import x cannot be resolved

    I keep trying to import a package containing various classes into a project in eclipse and at the very top of the class with the main method in I use the standard import x.*; but I keep getting an error on that line saying "the import x cannot be resolved". Any suggestions?

  2. #2
    Tolls is offline Moderator
    Join Date
    Apr 2009
    Rep Power

    Default Re: the import x cannot be resolved

    Where is the package 'x' located?
    Looks to me like your Eclipse project has no idea where this is.
    Please do not ask for code as refusal often offends.

    ** This space for rent **

Similar Threads

  1. Cannot be resolved to a type
    By Naxix in forum AWT / Swing
    Replies: 1
    Last Post: 03-18-2012, 12:16 PM
  2. The import cannot be resolved??
    By Harrie_KalaChakra in forum Eclipse
    Replies: 9
    Last Post: 01-20-2010, 05:15 AM
  3. Error - "The import org.junit cannot be resolved"
    By Jessaurum in forum New To Java
    Replies: 7
    Last Post: 11-03-2009, 03:20 AM
  4. Eclipse "import not resolved" package problem?
    By spamsickle in forum New To Java
    Replies: 3
    Last Post: 08-24-2009, 11:44 AM
  5. The import java.util.Scanner cannot be resolved
    By Heather in forum Advanced Java
    Replies: 1
    Last Post: 07-08-2007, 01:05 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