Which vaadin version for FormAdvancedLayout

I try to do override on attachField but do no works.
This shows me an error:
FormAdvancedLayoutExample.FormWithComplexLayout must override or implement a supertype method,

I 'm using the last version of Vaadin.

Thanks!