Results 1 to 3 of 3
  1. #1
    FakeRabbit is offline Member
    Join Date
    Sep 2008
    Posts
    9
    Rep Power
    0

    Unhappy Tons of errors in imported project. Can't see the libraries?

    Hello there!

    I'm new to java and I've been requested to do some work on a big java project which is already in development.
    After I downloaded it from svn to my eclipse, I get like 4000 errors, all of which like this:
    "******** cannot be resolved to a type"
    When I look at the imports section of each file, the "org.eclipse.core" part is underlined and there's an error like this:
    "The import org.eclipse.core cannot be resolved"
    The same thing goes for org.eclipse.swt, org.eclipse.jface and org.osgi which, as I understand, are the core libs and should be accessible as they are.

    My guess is there's something wrong with java build path but I can't figure out what :(

    Any help would be appreciated

  2. #2
    Tolls is offline Moderator
    Join Date
    Apr 2009
    Posts
    11,817
    Rep Power
    19

    Default Re: Tons of errors in imported project. Can't see the libraries?

    Does the project work with some form of dependency management tool (eg Maven)?
    If so then you need to refresh the libraries.

  3. #3
    FakeRabbit is offline Member
    Join Date
    Sep 2008
    Posts
    9
    Rep Power
    0

    Default Re: Tons of errors in imported project. Can't see the libraries?

    Thanks, that was it :) My problem was that in order to import my project from svn, I installed only those parts of Collaboration group that had anything to do with svn. Now that I installed the rest (including maven), everything works fine.

Similar Threads

  1. Netbeans IDE Errors while compiling a JSP project
    By pala in forum JavaServer Pages (JSP) and JSTL
    Replies: 5
    Last Post: 12-29-2011, 07:35 AM
  2. Default imported packages
    By Himanshu23 in forum Java Software
    Replies: 2
    Last Post: 01-11-2011, 06:20 AM
  3. how can downloaded package be imported in java
    By aldm in forum New To Java
    Replies: 3
    Last Post: 10-08-2010, 10:16 AM
  4. Sharing Project Libraries in NetBeans
    By Ajenjo in forum NetBeans
    Replies: 0
    Last Post: 03-15-2010, 09:38 AM
  5. Replies: 22
    Last Post: 01-05-2009, 01:03 AM

Tags for this Thread

Posting Permissions

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