Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » EMF » Cannot resolve MinimalEObjectImpl$Container
Cannot resolve MinimalEObjectImpl$Container [message #716047] Tue, 16 August 2011 09:48 Go to next message
Eclipse UserFriend
Originally posted by:

Hi,

I keep getting the following error (marker in editor): The type
org.eclipse.emf.ecore.impl.MinimalEObjectImpl$Container cannot be
resolved. It is indirectly referenced from required .class files

I'm not using this class myself, but inheriting it from Xbase. I also
have checked out a version of EMF 2.7.0 with Xcore's EMF patches in my
workspace. I guess the problem has to do with a problematic combination
of plugins and versions, but why is MinimalEObjectImpl missing?

Hallvard
Re: Cannot resolve MinimalEObjectImpl$Container [message #716185 is a reply to message #716047] Tue, 16 August 2011 16:03 Go to previous messageGo to next message
Ed Merks is currently offline Ed MerksFriend
Messages: 33218
Registered: July 2009
Senior Member
Hallvard,

Usually this means you depend on a bundle that depends on some other
bundle and that other bundle dependency isn't reexported so you need to
add direct dependencies for both bundles to make the compiler happy.


On 16/08/2011 2:48 AM, Hallvard Trætteberg wrote:
> Hi,
>
> I keep getting the following error (marker in editor): The type
> org.eclipse.emf.ecore.impl.MinimalEObjectImpl$Container cannot be
> resolved. It is indirectly referenced from required .class files
>
> I'm not using this class myself, but inheriting it from Xbase. I also
> have checked out a version of EMF 2.7.0 with Xcore's EMF patches in my
> workspace. I guess the problem has to do with a problematic
> combination of plugins and versions, but why is MinimalEObjectImpl
> missing?
>
> Hallvard


Ed Merks
Professional Support: https://www.macromodeling.com/
Re: Cannot resolve MinimalEObjectImpl$Container [message #716368 is a reply to message #716185] Wed, 17 August 2011 07:54 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by:

On 16.08.11 18.03, Ed Merks wrote:
>
> Usually this means you depend on a bundle that depends on some other
> bundle and that other bundle dependency isn't reexported so you need to
> add direct dependencies for both bundles to make the compiler happy.

I know this general rule, but this specific case is confusing. Isn't
MinimalEObjectImpl part of the emf.ecore plugin? The other confusing
thing is that it's reported as a problem in the Java editor (JDT?), but
the build (PDE?) seems be OK (and there is no marker in the package
explorer).

Hallvard
Re: Cannot resolve MinimalEObjectImpl$Container [message #716469 is a reply to message #716368] Wed, 17 August 2011 13:58 Go to previous messageGo to next message
Ed Merks is currently offline Ed MerksFriend
Messages: 33218
Registered: July 2009
Senior Member
Hallvard,

That does seem odd. Does doing a PDE Tools -> Update Classpath help?


On 17/08/2011 12:54 AM, Hallvard Trætteberg wrote:
> On 16.08.11 18.03, Ed Merks wrote:
>>
>> Usually this means you depend on a bundle that depends on some other
>> bundle and that other bundle dependency isn't reexported so you need to
>> add direct dependencies for both bundles to make the compiler happy.
>
> I know this general rule, but this specific case is confusing. Isn't
> MinimalEObjectImpl part of the emf.ecore plugin? The other confusing
> thing is that it's reported as a problem in the Java editor (JDT?),
> but the build (PDE?) seems be OK (and there is no marker in the
> package explorer).
>
> Hallvard


Ed Merks
Professional Support: https://www.macromodeling.com/
Re: Cannot resolve MinimalEObjectImpl$Container [message #716509 is a reply to message #716469] Wed, 17 August 2011 14:45 Go to previous message
Eclipse UserFriend
Originally posted by:

On 17.08.11 15.58, Ed Merks wrote:
> Hallvard,
>
> That does seem odd. Does doing a PDE Tools -> Update Classpath help?

No. Fortunately, the build works and the code runs...

Hallvard
Previous Topic:[Ecore <-> XML] Instantiate an EClass for a given namespace
Next Topic:Re: Cannot resolve MinimalEObjectImpl$Container
Goto Forum:
  


Current Time: Wed Sep 25 18:44:50 GMT 2024

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

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

Back to the top