首页 诗词 字典 板报 句子 名言 友答 励志 学校 网站地图
当前位置: 首页 > 教程频道 > 其他教程 > 开源软件 >

Can't find genFeature for feature .

2012-07-24 
Cant find genFeature for feature ...问题场景:quesiton通过Annotated java生成genmodel和ecore后,在e

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模型。

?

热点排行