`
winse
  • 浏览: 93106 次
  • 性别: Icon_minigender_1
  • 来自: 广州
社区版块
存档分类
最新评论

Can't find genFeature for feature ...

 
阅读更多

问题场景:<quesiton>

通过Annotated java生成genmodel和ecore后,在ecore的EClass下增加了属性。

 

然后生成代码,一步一步的按照

http://gmfsamples.tuxfamily.org/wiki/doku.php?id=gmf_tutorial5

进行。

从gmfmap生成gmfgen是出现了一下错误提示:

Can't find genFeature for feature 'value' in the class Number.

 

 

--同样的问题:

http://www.eclipse.org/forums/index.php?t=tree&th=18901&#page_top

<re>:you forgot to refresh your .genmodel after adding 'configuredElements' to domain model (.ecore)

 

解决方法:<soluction>

1、 打开genmodel,在根节点上右键,

2、 点击Reload..的命令,refresh模型。

 

分享到:
评论

相关推荐

Global site tag (gtag.js) - Google Analytics