Eclipse: can’t find genfeature for feature in class

When generating a GMF mapping, if you get the following error

can’t find genfeature for feature in class XXX

then most probably your genmodel is out of sync with your ecore metamodel.

To resolve this issue, you can simply right click on your .genmodel file, select “Reload ..” and then select your ecore file with which you want to sync. This should hopefully resolve the issue.

Leave a Reply

Your email address will not be published. Required fields are marked *