Vaadin 14 + Tomcat

Hi,
i’m new to vaadin and Tomcat, i need to create a vaadin cdi project to work on Tomcat. Can someone tell me how should i configure the project?
Currently i’m running the project with a MainView.java with a button, do i need to configure something in web.xml ?
When i go to localhost:8080/ProjectName i’m getting the attached exception.
Thanks for the help.

17805699.png

Tomcat isn’t a full-fledged Jakarta EE container, so you can’t use CDI. You’ll need something like TomEE or Wildfly. This old StackOverflow answer might help you get on the path: https://stackoverflow.com/a/7295697/3608089 (note that Jakarta EE is just the new name of Java EE)