Skip to main content



      Home
Home » Eclipse Projects » Sirius » Warning: The EClass XXX used in domainClass is not accessible
Warning: The EClass XXX used in domainClass is not accessible [message #1786930] Tue, 15 May 2018 22:03 Go to next message
Eclipse UserFriend
Hi.

What does this warning message mean?

"The EClass XXX used in domainClass is not accessible. You are most likely trying to use an EClass without having a dependency to its plugin."

How can I solve it?

Regards.
Re: Warning: The EClass XXX used in domainClass is not accessible [message #1786946 is a reply to message #1786930] Wed, 16 May 2018 04:00 Go to previous messageGo to next message
Eclipse UserFriend
As mentioned in the error message, the plugin containing your modeler definition must have a dependency towards the plug-in which defines your metamodel.
Re: Warning: The EClass XXX used in domainClass is not accessible [message #1786962 is a reply to message #1786946] Wed, 16 May 2018 08:56 Go to previous messageGo to next message
Eclipse UserFriend
Pierre,

the strange thing is that my project was working fine. I was trying to integrate it with an Acceleo project. Suddenly, this message appears.

Where I must look to fix this error?

Regards

Re: Warning: The EClass XXX used in domainClass is not accessible [message #1786964 is a reply to message #1786962] Wed, 16 May 2018 10:26 Go to previous message
Eclipse UserFriend
Hi

When you edit a Sirius diagram or an Acceleo transformation you are running within Eclipse and everything registered in your Eclipse workspace can be accessible.

When you run an Acceleo transformation you are running a standalone Java application with some help from Eclipse in that the classpath is auto-generated from the MANIFEST.MF; it uses only what is registered in the MANIFEST.MF. Therefore fix your classpath, by adding a MANIFEST.MF dependency to what you need. That should fix it for simple file layouts. If you have a complex workspace spread across many GIT locations, you could be in trouble.

Regards

Ed Willink
Previous Topic:Some Validation Rules are not executed properly within the generated plugin.
Next Topic:The feature 'activatedLayers' has a reference to '' which cannot be f
Goto Forum:
  


Current Time: Mon Jul 14 05:38:04 EDT 2025

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

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

Back to the top