Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » EMF » import org.eclipse cannot be resolved
import org.eclipse cannot be resolved [message #388356] Thu, 07 October 2004 06:07 Go to next message
Eclipse UserFriend
Originally posted by: s362797.student.uq.edu.au

Hi

The code generated from my ecore model won't compile. In the Problems view
I get thousands of items because the compiler can't find various classes
that are imported. a lot of the errors are "The import org.eclipse cannot
be resolved". E.g. the first error is for the line "import
org.eclipse.emf.ecore.EObject;", and then "import
org.eclipse.emf.common.util.EList;" also does not work. I know this is
probably some kind of configuration problem, but how do I fix it? I notice
in preferences you can set Java classpath variables, and I don't see
anything to do with EMF/Ecore in there, but shouldn't it all be set up
automatically?

Thanks
Damian
Re: import org.eclipse cannot be resolved [message #388357 is a reply to message #388356] Thu, 07 October 2004 06:37 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: s362797.student.uq.edu.au

Sorry about that just ignore me...I think I see what the problem is now...to
do with the java classpath variables...I moved the eclipse installation and
the Eclipse and EMF variables were pointing to the wrong place...doh

"Damian Burger" <s362797@student.uq.edu.au> wrote in message
news:ck2m5k$vvf$1@eclipse.org...
> Hi
>
> The code generated from my ecore model won't compile. In the Problems
> view I get thousands of items because the compiler can't find various
> classes that are imported. a lot of the errors are "The import
> org.eclipse cannot be resolved". E.g. the first error is for the line
> "import org.eclipse.emf.ecore.EObject;", and then "import
> org.eclipse.emf.common.util.EList;" also does not work. I know this is
> probably some kind of configuration problem, but how do I fix it? I
> notice in preferences you can set Java classpath variables, and I don't
> see anything to do with EMF/Ecore in there, but shouldn't it all be set up
> automatically?
>
> Thanks
> Damian
>
Re: import org.eclipse cannot be resolved [message #1841938 is a reply to message #388357] Thu, 03 June 2021 21:51 Go to previous messageGo to next message
sana rachdi is currently offline sana rachdiFriend
Messages: 1
Registered: June 2021
Junior Member
i have the same problem ! can you please help me
try to contact me plz
rachdinissan@gmail.com
Re: import org.eclipse cannot be resolved [message #1841958 is a reply to message #1841938] Fri, 04 June 2021 11:50 Go to previous message
Ed Willink is currently offline Ed WillinkFriend
Messages: 7635
Registered: July 2009
Senior Member
Hi

17 years later you probably don't have the same problem.

Problems with org.eclipse and java.lang.Object are usually due to a significant failure in creating the .project / MANIFEST.MF files.

The original questioner revealed that a manual copy had done foolish things. You too have probably done something foolish / magic but since you do not share your project it is hard to even guess.

I suggest you follow whatever tutorial you are learning from exactly as provided before you try to improve from it.

Regards

Ed Willink


Previous Topic:[CDO] How do I force an update to my model package on the server?
Next Topic:Support for UUIDs in binary resource
Goto Forum:
  


Current Time: Sat Nov 11 09:26:22 GMT 2023

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

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

Back to the top