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