Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » EMF » error in opening xmi file
error in opening xmi file [message #1754763] Wed, 22 February 2017 08:28 Go to next message
Banafsheh Azizi is currently offline Banafsheh AziziFriend
Messages: 328
Registered: July 2016
Senior Member
Hi,
when I open my .xmi file, I have bellow errors. Would you please help me in this regard?
org.eclipse.emf.ecore.xmi.PackageNotFoundException: Package with uri 'http://ruletypesmm/1.0' not found.
org.eclipse.emf.ecore.xmi.ClassNotFoundException: Class 'Trafo' is not found or is abstract.


Member of MDSE Research Group
http://mdse.ui.ac.ir

[Updated on: Wed, 22 February 2017 08:29]

Report message to a moderator

Re: error in opening xmi file [message #1754779 is a reply to message #1754763] Wed, 22 February 2017 10:16 Go to previous messageGo to next message
Ed Merks is currently offline Ed MerksFriend
Messages: 33140
Registered: July 2009
Senior Member
You've provided minimal information, so you can't expect much help. The Ecore package needed to read this XMI isn't available. You either need to install the bundle that provides the generated model for this namespace or your XMI instance needs to specify, via an xsi:schemaLocation attribute, the location where this Ecore package can be loaded.

Ed Merks
Professional Support: https://www.macromodeling.com/
Re: error in opening xmi file [message #1754824 is a reply to message #1754779] Wed, 22 February 2017 19:08 Go to previous message
Banafsheh Azizi is currently offline Banafsheh AziziFriend
Messages: 328
Registered: July 2016
Senior Member
thank you.
when I registered its meta-model, the errors removed.


Member of MDSE Research Group
http://mdse.ui.ac.ir
Previous Topic:Serialize ecore metamodel without eType prefix
Next Topic:CDO: Standalone Setup for programming with the API
Goto Forum:
  


Current Time: Thu Apr 25 14:58:47 GMT 2024

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

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

Back to the top