IDEA does not see com.vaadin.Application

I am using vaadin-bom for importing vaadin dependencies, this one already has vaadin-client-compiler and other needed dependencies for using vaadin. But when I extend my class from Application IDEA cant find the class

What can it be?

Application is from Vaadin 6. You should extend “application entry point” from com.vaadin.ui.UI.

oh I see, so many examples on this website with Application class that misslead you.

Thank you

Glad I cloud help. Which page are you finding these examples?

I remember it was on, but can`t find the link now