Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Parsing result: 7 errors
- : Error: MTTParseError: Illegal/unknown context: uml, line: 31, column: 0
- : Error: MTTParseError: Can't find feature 'name' for type 'Class'., line: 13, column: 20
- : Error: MTTParseError: Type not found: 'Property' in metamodel 'null', line: 0, column: 0
- : Error: MTTParseError: Can't find feature 'ownedAttribute' for type 'Class'., line: 15, column: 4
- : Error: MTTParseError: Can't find feature 'name' for type 'Class'., line: 19, column: 20
- : Error: MTTParseError: Illegal/unknown context: uml, line: 31, column: 0
- : Error: MTTParseError: Can't find feature 'type' for type 'Property'., line: 27, column: 18
- Exception in thread "main" org.eclipse.emf.ecore.resource.impl.ResourceSetImpl$1DiagnosticWrappedException: org.eclipse.emf.ecore.xmi.PackageNotFoundException: Package with uri 'http://www.eclipse.org/uml2/2.1.0/UML' not found. (file:/D:/workspace/UML2Alloy/My.uml, 2, 162)
- at org.eclipse.emf.ecore.resource.impl.ResourceSetImpl.handleDemandLoadException(ResourceSetImpl.java:315)
- at org.eclipse.emf.ecore.resource.impl.ResourceSetImpl.demandLoadHelper(ResourceSetImpl.java:274)
- at org.eclipse.emf.ecore.resource.impl.ResourceSetImpl.getResource(ResourceSetImpl.java:397)
- at br.edu.ufcg.mdaveritas.mofscriptExecutor.MOFScriptExecutor.loadSourceModel(MOFScriptExecutor.java:152)
- at br.edu.ufcg.mdaveritas.mofscriptExecutor.MOFScriptExecutor.executeTransformation(MOFScriptExecutor.java:165)
- at br.edu.ufcg.mdaveritas.mofscriptExecutor.MOFScriptExecutor.makeTransformation(MOFScriptExecutor.java:141)
- at br.edu.ufcg.mdaveritas.mofscriptExecutor.MOFScriptExecutor.executeTransformations(MOFScriptExecutor.java:237)
- at br.edu.ufcg.mdaveritas.mofscriptExecutor.MOFScriptExecutor.main(MOFScriptExecutor.java:254)
- Caused by: org.eclipse.emf.ecore.xmi.PackageNotFoundException: Package with uri 'http://www.eclipse.org/uml2/2.1.0/UML' not found. (file:/D:/workspace/UML2Alloy/My.uml, 2, 162)
- at org.eclipse.emf.ecore.xmi.impl.XMLHandler.getPackageForURI(XMLHandler.java:2566)
- at org.eclipse.emf.ecore.xmi.impl.XMLHandler.getFactoryForPrefix(XMLHandler.java:2398)
- at org.eclipse.emf.ecore.xmi.impl.XMLHandler.createObjectByType(XMLHandler.java:1276)
- at org.eclipse.emf.ecore.xmi.impl.XMLHandler.createTopObject(XMLHandler.java:1445)
- at org.eclipse.emf.ecore.xmi.impl.XMLHandler.processElement(XMLHandler.java:1010)
- at org.eclipse.emf.ecore.xmi.impl.XMIHandler.processElement(XMIHandler.java:83)
- at org.eclipse.emf.ecore.xmi.impl.XMLHandler.startElement(XMLHandler.java:992)
- at org.eclipse.emf.ecore.xmi.impl.XMLHandler.startElement(XMLHandler.java:712)
- at org.eclipse.emf.ecore.xmi.impl.XMIHandler.startElement(XMIHandler.java:167)
- at com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.startElement(Unknown Source)
- at com.sun.org.apache.xerces.internal.impl.dtd.XMLDTDValidator.startElement(Unknown Source)
- at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanStartElement(Unknown Source)
- at com.sun.org.apache.xerces.internal.impl.XMLDocumentScannerImpl$ContentDriver.scanRootElementHook(Unknown Source)
- at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl$FragmentContentDriver.next(Unknown Source)
- at com.sun.org.apache.xerces.internal.impl.XMLDocumentScannerImpl$PrologDriver.next(Unknown Source)
- at com.sun.org.apache.xerces.internal.impl.XMLDocumentScannerImpl.next(Unknown Source)
- at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown Source)
- at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(Unknown Source)
- at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(Unknown Source)
- at com.sun.org.apache.xerces.internal.parsers.XMLParser.parse(Unknown Source)
- at com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.parse(Unknown Source)
- at com.sun.org.apache.xerces.internal.jaxp.SAXParserImpl$JAXPSAXParser.parse(Unknown Source)
- at javax.xml.parsers.SAXParser.parse(Unknown Source)
- at org.eclipse.emf.ecore.xmi.impl.XMLLoadImpl.load(XMLLoadImpl.java:181)
- at org.eclipse.emf.ecore.xmi.impl.XMLResourceImpl.doLoad(XMLResourceImpl.java:180)
- at org.eclipse.emf.ecore.resource.impl.ResourceImpl.load(ResourceImpl.java:1414)
- at org.eclipse.emf.ecore.resource.impl.ResourceImpl.load(ResourceImpl.java:1210)
- at org.eclipse.emf.ecore.resource.impl.ResourceSetImpl.demandLoad(ResourceSetImpl.java:255)
- at org.eclipse.emf.ecore.resource.impl.ResourceSetImpl.demandLoadHelper(ResourceSetImpl.java:270)
- ... 6 more
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement