I am getting the following error when i try to deploy a jmix application to apache tomcat server: The application was just upgraded from version 2.7 to 2.8.1.
BeanCreationException: Error creating bean with name ‘hubdatastoreEntityManagerFactory’ Failed to read candidate component class: URL [jar:file:/usr/local/tomcat/webapps/app/WEB-INF/lib/atmosphere-runtime-3.0.5.slf4jvaadin1.jar! /org/atmosphere/inject/AtmosphereRequestIntrospector.class]
The ‘hubdatastoreEntityManagerFactory’ refers to a secondary database of the application. In previous version (2.7), the application was running smoothly.
Did you make sure that the Tomcat version is 10 or greater?
I also got some errors when upgrading, so I recommend first to File - Invalidate caches, all, and then rebuild your war. Gradle clean and vadiinClean.
I don’t work with war at the moment, but would also delete the Tomcat cache, delete the old uncompressed web app folder, and then deploy the fresh war you rebuilt.