In my model, Class not found or is abstract [message #540786] |
Thu, 17 June 2010 07:25  |
Eclipse User |
|
|
|
Hi,
I made a metamodel, where Items is my container EClass.
part of the metamodel :
<?xml version="1.0" encoding="UTF-8"?>
<ecore:EPackage xmi:version="2.0"
xmlns:xmi="http://www.omg.org/XMI" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:ecore="http://www.eclipse.org/emf/2002/Ecore" name="hla"
nsURI="http://hla/1.0" nsPrefix="hla">
<eClassifiers xsi:type="ecore:EClass" name="Items">
<eStructuralFeatures xsi:type="ecore:EReference" name="entities" upperBound="-1"
eType="#//HEntity" derived="true" containment="true"/>
</eClassifiers>
So after that I wanted to define a model
<?xml version="1.0" encoding="UTF-8"?>
<hla:Items xmi:version="2.0" xmlns:xmi="http://www.omg.org/XMI" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:metamodel="http://www.example.org/metamodel" xsi:schemaLocation="http://www.example.org/metamodel metamodel/hla.ecore">
</hla:Items>
But I get "Class 'Items' is not found or is abstract". The most surprising is that it worked for a while.
|
|
|
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.04818 seconds