The method setContainerDataSource(SQLContainer) is undefined for the type G


I try set container to grid, but get error message in Eclipse “The method setContainerDataSource(sqlContainer) is undefined for the type Grid” why, please help?
I undestand, eclipse can’t see this metod, but how fix it?
the code is:

private void initGrid() {        
        try {
            TableQuery tbl = new TableQuery ("table", getPoolConnection());
            SQLContainer sqlContainer = new SQLContainer(tbl);
            Grid grid = new Grid();
            grid.setContainerDataSource(sqlContainer); <-- error here
        } catch (SQLException e) {

Apparently you are using Vaadin 8 Grid, which is not using Containers, see my post about DataProvider & Vaadin 8 here:!/thread/16899311