Skip to main content



      Home
Home » Language IDEs » Java Development Tools (JDT) » The import org.eclipse cannot be resolved(im trying to use swt to create windows / dialogs. and i get the mentioned error.)
The import org.eclipse cannot be resolved [message #1826688] Tue, 28 April 2020 21:16 Go to next message
Eclipse UserFriend
Fresh install of eclipce and openjdk 11 with hotspot,

created a new proejct, java references seem to be fine. but anything requiring org.eclipse cannot be resolved.

any help would be appreciated. :(
Re: The import org.eclipse cannot be resolved [message #1826728 is a reply to message #1826688] Wed, 29 April 2020 10:50 Go to previous messageGo to next message
Eclipse UserFriend
Are dependencies to SWT properly setup in your project?

[Updated on: Wed, 29 April 2020 10:51] by Moderator

Re: The import org.eclipse cannot be resolved [message #1826731 is a reply to message #1826728] Wed, 29 April 2020 11:14 Go to previous messageGo to next message
Eclipse UserFriend
Hi

Have you restarted Eclipse and cleaned and rebuilt everything.?

Have you checked the target definition? The new PDE *.target editor tooling makes it really easy to trash the target definition and thereafter all sorts of magic stupid errors happen.

Regards

Ed Willink
Re: The import org.eclipse cannot be resolved [message #1826784 is a reply to message #1826731] Thu, 30 April 2020 08:36 Go to previous message
Eclipse UserFriend
@Aaron, for a systematic analysis it might help, if first you describe to us, by which means JDT should resolve those references? We don't even know if your's is a plug-in project or a plain Java project. Are the desired plug-ins correctly showing as dependencies (in the Java Build Path dialog and/or the Package Explorer) etc. pp.

Before we know these things we can only provide hints of the style of cargo cult ;p (i.e., actions that empirically have solved problems in the past, without knowing their root cause).
Previous Topic:Is Project Explorer completely broken?
Next Topic:How to change default generic type from E to T
Goto Forum:
  


Current Time: Tue Jun 24 04:21:40 EDT 2025

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

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

Back to the top