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 A is currently offline Banafsheh AFriend
Messages: 262
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.

[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: 29116
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.
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 A is currently offline Banafsheh AFriend
Messages: 262
Registered: July 2016
Senior Member
thank you.
when I registered its meta-model, the errors removed.
Previous Topic:Serialize ecore metamodel without eType prefix
Next Topic:CDO: Standalone Setup for programming with the API
Goto Forum:
  


Current Time: Thu Jan 18 00:02:51 GMT 2018

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

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