Results 1 to 3 of 3
- 01-30-2012, 04:08 PM #1
Member
- Join Date
- Sep 2008
- Posts
- 9
- Rep Power
- 0
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
- 01-30-2012, 04:39 PM #2
Moderator
- Join Date
- Apr 2009
- Posts
- 10,438
- Rep Power
- 16
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.
- 01-31-2012, 11:32 AM #3
Member
- Join Date
- Sep 2008
- Posts
- 9
- Rep Power
- 0
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
-
Netbeans IDE Errors while compiling a JSP project
By pala in forum JavaServer Pages (JSP) and JSTLReplies: 5Last Post: 12-29-2011, 07:35 AM -
Default imported packages
By Himanshu23 in forum Java SoftwareReplies: 2Last Post: 01-11-2011, 06:20 AM -
how can downloaded package be imported in java
By aldm in forum New To JavaReplies: 3Last Post: 10-08-2010, 10:16 AM -
Sharing Project Libraries in NetBeans
By Ajenjo in forum NetBeansReplies: 0Last Post: 03-15-2010, 09:38 AM -
[SOLVED] Errors with project: specify array size by the value in first command-line a
By jhrh95 in forum New To JavaReplies: 22Last Post: 01-05-2009, 01:03 AM


LinkBack URL
About LinkBacks
Reply With Quote

Bookmarks