Community
Participate
Working Groups
Build Identifier: 20090619-0625 The following code provides me with the following error, "Package with uri 'http://schema.omg.org/spec/UML/2.1.1' not found.". I was hoping someone could possibly explain to me what is happening. Within the contents of the project.xmi file it contains that uri and this file was exported from Rhapsody. This .xmi file is a model diagram. I found out that EMF allows an interpretation of this model as a UML and in turn I was hoping I could traverse that UML interpretation rather than the .xmi text. My ultimate goal is to recreate that Rhapsody model in Eclipse. String pathToXMI = "C:\\project.xmi"; File XMIFile = new File(pathToXMI); try { resource.load(new FileInputStream(XMIFile), Collections.EMPTY_MAP); } catch (FileNotFoundException e) { e.printStackTrace(); } catch (IOException e) { e.printStackTrace(); } Reproducible: Always