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

Hello!

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());
            tbl.setVersionColumn("VERSION");
            SQLContainer sqlContainer = new SQLContainer(tbl);
            Grid grid = new Grid();
            grid.setContainerDataSource(sqlContainer); <-- error here
        } catch (SQLException e) {
            e.printStackTrace();
        }
    }

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