WarBuild -tomcat9 issue - error 404 after depoyment


From the documentation of Jmix & cuba i found how to build & deploy a war file.

@PropertySource(value = { "classpath:application.properties" })
public class FlexidataApplication extends SpringBootServletInitializer {

	public static void main(String[] args) {
		SpringApplication.run(FlexidataApplication.class, args);

	protected SpringApplicationBuilder configure(SpringApplicationBuilder builder) {
		return builder.sources(SpringApplication.class);

	DataSource dataSource() {
		return DataSourceBuilder.create().build();

This is the code that I added as well as in the application.properties. However when deploying I’m always getting a 404 error

jelastic stack
Tomcat 9
java 11

I also tested this with the basic setup (new project & run) that has the same result.

We had some problems with deployable WAR file.
See ticket: https://github.com/Haulmont/jmix-core/issues/155
It’s resolved in the Jmix 1.0.0 which will be released soon.