War deployment Tomcat error

I’m using IntelliJ IDEA 2024.3
Jmix 2.5.1
Java 17
Tomcat 10

I followed all the instructions in the guide.
If I deploy the WAR, the application does not start and Tomcat log the following error:

06-May-2025 16:25:05.204 SEVERE [https-openssl-nio-127.0.0.60-443-exec-135] org.apache.catalina.core.StandardContext.listenerStart Exception sending context initialized event to listener instance of class [com.vaadin.flow.server.startup.ServletContextListeners]
	java.lang.IllegalStateException: The application Lookup instance is not found in VaadinContext. The instance is supposed to be created by a ServletContainerInitializer. Issues known to cause this problem are:
- A Spring Boot application deployed as a war-file but the main application class does not extend SpringBootServletInitializer
- An embedded server that is not set up to execute ServletContainerInitializers
- Unit tests which do not properly set up the context for the test

Here is the zip sample
jmixtest5.zip (1.2 MB)

Thanks to everyone

Cannot reproduce.
The project that you attached perfectly deploys on my Tomcat.
Check that the webapps folder does not contain a WAR with some previous version of the application where “the main application class does not extend SpringBootServletInitializer”.

Regards,
Konstantin

After multiple attempts, it worked when i installed java 21.
I don’t know why it didn’t work with Java 17.
Thanks anyway.