Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Language IDEs » Java Development Tools (JDT) » Problem importing a project(Imports have errors when importing)
Problem importing a project [message #1385373] Thu, 05 June 2014 22:40 Go to next message
Brandon Sharp is currently offline Brandon SharpFriend
Messages: 1
Registered: June 2014
Junior Member
So, after I imported my project to eclipse my current imports are not being recognized by eclipse. I'm thinking this is because eclipse displays folders within a folder with 1 name and does not display the parent folders to the sub-folders separately.

For example: My folder in eclipse is named: src/server/model/players

Here is an example of one of my imports to this directory:
import server.model.players.Client;

Then an error is thrown on this import:
the import server.model.players cannot be resolved

Please note that nothing is wrong on a batch compiler so i'm assuming this error is just because eclipse is interpreting it wrong. Does anyone know how to fix this? Also, I know I did not eplain this very well so if need be I can provide some pictures.

Re: Problem importing a project [message #1385526 is a reply to message #1385373] Sun, 08 June 2014 19:42 Go to previous message
Stephan Herrmann is currently offline Stephan HerrmannFriend
Messages: 1853
Registered: July 2009
Senior Member
sounds like you might want to read the help at
http://help.eclipse.org/kepler/topic/org.eclipse.jdt.doc.user/gettingStarted/qs-ProjectConfiguration.htm?cp=1_1_1

(which of course is also bundled with your installation of Eclipse)
Previous Topic:What happened to "Alt+Shift+X" shortcuts??
Next Topic:Connecting to SQL Server
Goto Forum:
  


Current Time: Wed Dec 11 20:25:43 GMT 2024

Powered by FUDForum. Page generated in 0.03148 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top