Executable jar deployment fails

I did gradle/build/clean
then
gradle/build/bootJar

then ran the resulting jar in the lib directory per instructions as
java -jar myapp-0.0.1-SNAPSHOT.jar
but much failure ensued:

. ____ _ __ _ _
/\ / __ _ () __ __ _ \ \ \
( ( )_
_ | '_ | '| | ’ / ` | \ \ \
\/ )| |)| | | | | || (| | ) ) ) )
’ |
| .__|| ||| |_, | / / / /
=========|
|==============|/=////
:: Spring Boot :: (v3.1.0)

2023-07-12T23:47:41.356-07:00 INFO 73008 — [ main] c.softwaretruth.todos.TodosApplication : Starting TodosApplication v0.0.1-SNAPSHOT using Java 17.0.6 with PID 73008 (C:\MyPrograms\IdeaProjects\todos\build\libs\todos-0.0.1-SNAPSHOT.jar started by skear_wgbmp4n in C:\MyPrograms\IdeaProjects\todos\build\libs)
2023-07-12T23:47:41.360-07:00 DEBUG 73008 — [ main] c.softwaretruth.todos.TodosApplication : Running with Spring Boot v3.1.0, Spring v6.0.9
2023-07-12T23:47:41.361-07:00 INFO 73008 — [ main] c.softwaretruth.todos.TodosApplication : No active profile set, falling back to 1 default profile: “default”
2023-07-12T23:47:43.895-07:00 INFO 73008 — [ main] io.jmix.core.JmixModulesProcessor : Using Jmix modules: [io.jmix.core, io.jmix.security, io.jmix.flowui, io.jmix.securityflowui, io.jmix.data, io.jmix.datatools, io.jmix.gridexportflowui, io.jmix.datatoolsflowui, io.jmix.eclipselink, io.jmix.flowuidata, io.jmix.localfs, io.jmix.securitydata, com.softwaretruth.todos]
2023-07-12T23:47:44.420-07:00 WARN 73008 — [ main] ocalVariableTableParameterNameDiscoverer : Using deprecated ‘-debug’ fallback for parameter name resolution. Compile the affected code with ‘-parameters’ instead or avoid its introspection: io.jmix.core.impl.ManagedResourceAspect
2023-07-12T23:47:45.404-07:00 INFO 73008 — [ main] o.s.b.w.embedded.tomcat.TomcatWebServer : Tomcat initialized with port(s): 8080 (http)
2023-07-12T23:47:45.423-07:00 INFO 73008 — [ main] o.apache.catalina.core.StandardService : Starting service [Tomcat]
2023-07-12T23:47:45.424-07:00 INFO 73008 — [ main] o.apache.catalina.core.StandardEngine : Starting Servlet engine: [Apache Tomcat/10.1.8]
2023-07-12T23:47:45.619-07:00 INFO 73008 — [ main] o.a.c.c.C.[Tomcat].[localhost].[/] : Initializing Spring embedded WebApplicationContext
2023-07-12T23:47:45.621-07:00 INFO 73008 — [ main] w.s.c.ServletWebServerApplicationContext : Root WebApplicationContext: initialization completed in 3945 ms
2023-07-12T23:47:45.714-07:00 INFO 73008 — [ main] i.j.c.i.s.JmixModulesClasspathScanner : Classpath scan completed in 50 ms
2023-07-12T23:47:45.748-07:00 WARN 73008 — [ main] ocalVariableTableParameterNameDiscoverer : Using deprecated ‘-debug’ fallback for parameter name resolution. Compile the affected code with ‘-parameters’ instead or avoid its introspection: io.jmix.core.CoreProperties
2023-07-12T23:47:45.787-07:00 WARN 73008 — [ main] ocalVariableTableParameterNameDiscoverer : Using deprecated ‘-debug’ fallback for parameter name resolution. Compile the affected code with ‘-parameters’ instead or avoid its introspection: io.jmix.core.CoreProperties$PessimisticLock
2023-07-12T23:47:46.142-07:00 INFO 73008 — [ main] io.jmix.core.impl.MetadataLoader : Metadata initialized in 212 ms
2023-07-12T23:47:46.297-07:00 WARN 73008 — [ main] ocalVariableTableParameterNameDiscoverer : Using deprecated ‘-debug’ fallback for parameter name resolution. Compile the affected code with ‘-parameters’ instead or avoid its introspection: io.jmix.data.DataProperties
2023-07-12T23:47:46.388-07:00 WARN 73008 — [ main] ocalVariableTableParameterNameDiscoverer : Using deprecated ‘-debug’ fallback for parameter name resolution. Compile the affected code with ‘-parameters’ instead or avoid its introspection: io.jmix.core.session.SessionProperties
2023-07-12T23:47:46.393-07:00 WARN 73008 — [ main] ocalVariableTableParameterNameDiscoverer : Using deprecated ‘-debug’ fallback for parameter name resolution. Compile the affected code with ‘-parameters’ instead or avoid its introspection: io.jmix.core.rememberme.RememberMeProperties
2023-07-12T23:47:46.688-07:00 WARN 73008 — [ main] ocalVariableTableParameterNameDiscoverer : Using deprecated ‘-debug’ fallback for parameter name resolution. Compile the affected code with ‘-parameters’ instead or avoid its introspection: io.jmix.security.SecurityProperties
2023-07-12T23:47:47.084-07:00 INFO 73008 — [ main] c.v.f.s.VaadinServletContextInitializer : Search for VaadinAppShell took 71 ms
2023-07-12T23:47:50.528-07:00 INFO 73008 — [ main] c.v.f.s.VaadinServletContextInitializer : Search for subclasses and classes with annotations took 3190 ms
2023-07-12T23:47:50.600-07:00 INFO 73008 — [ main] c.v.b.d.startup.DevModeStartupListener : Starting dev-mode updaters in C:\MyPrograms\IdeaProjects\todos folder.
2023-07-12T23:47:50.652-07:00 INFO 73008 — [ main] c.v.f.s.f.s.FullDependenciesScanner : Visited 148 classes. Took 32 ms.
2023-07-12T23:47:50.654-07:00 INFO 73008 — [ main] c.v.f.s.frontend.TaskRunDevBundleBuild : Checking if a development mode bundle build is needed
2023-07-12T23:47:50.668-07:00 INFO 73008 — [ main] c.v.f.s.f.TaskRunDevBundleBuild$1 : Added 5 default dependencies to main package.json
2023-07-12T23:47:50.772-07:00 INFO 73008 — [ main] c.v.f.s.frontend.TaskRunDevBundleBuild : A development mode bundle build is not needed
2023-07-12T23:47:50.803-07:00 INFO 73008 — [onPool-worker-1] c.v.f.s.frontend.TaskCopyFrontendFiles : Copying frontend resources from jar files …
2023-07-12T23:47:50.809-07:00 INFO 73008 — [onPool-worker-1] c.v.f.s.frontend.TaskCopyFrontendFiles : Visited 0 resources. Took 5 ms.
2023-07-12T23:47:50.840-07:00 ERROR 73008 — [ main] o.a.c.c.C.[Tomcat].[localhost].[/] : Exception sending context initialized event to listener instance of class [com.vaadin.flow.spring.VaadinServletContextInitializer$CompositeServletContextListener]

java.lang.RuntimeException: Unable to initialize com.vaadin.flow.spring.VaadinServletContextInitializer$DevModeServletContextListener
at com.vaadin.flow.spring.VaadinServletContextInitializer$FailFastServletContextListener.contextInitialized(VaadinServletContextInitializer.java:191) ~[vaadin-spring-24.0.9.jar!/:na]
at com.vaadin.flow.spring.VaadinServletContextInitializer$CompositeServletContextListener.lambda$contextInitialized$0(VaadinServletContextInitializer.java:213) ~[vaadin-spring-24.0.9.jar!/:na]
at java.base/java.util.ArrayList.forEach(ArrayList.java:1511) ~[na:na]
at com.vaadin.flow.spring.VaadinServletContextInitializer$CompositeServletContextListener.contextInitialized(VaadinServletContextInitializer.java:213) ~[vaadin-spring-24.0.9.jar!/:na]
at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:4452) ~[tomcat-embed-core-10.1.8.jar!/:na]
at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:4892) ~[tomcat-embed-core-10.1.8.jar!/:na]
at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:183) ~[tomcat-embed-core-10.1.8.jar!/:na]
at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1332) ~[tomcat-embed-core-10.1.8.jar!/:na]
at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1322) ~[tomcat-embed-core-10.1.8.jar!/:na]
at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264) ~[na:na]
at org.apache.tomcat.util.threads.InlineExecutorService.execute(InlineExecutorService.java:75) ~[tomcat-embed-core-10.1.8.jar!/:na]
at java.base/java.util.concurrent.AbstractExecutorService.submit(AbstractExecutorService.java:145) ~[na:na]
at org.apache.catalina.core.ContainerBase.startInternal(ContainerBase.java:871) ~[tomcat-embed-core-10.1.8.jar!/:na]
at org.apache.catalina.core.StandardHost.startInternal(StandardHost.java:846) ~[tomcat-embed-core-10.1.8.jar!/:na]
at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:183) ~[tomcat-embed-core-10.1.8.jar!/:na]
at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1332) ~[tomcat-embed-core-10.1.8.jar!/:na]
at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1322) ~[tomcat-embed-core-10.1.8.jar!/:na]
at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264) ~[na:na]
at org.apache.tomcat.util.threads.InlineExecutorService.execute(InlineExecutorService.java:75) ~[tomcat-embed-core-10.1.8.jar!/:na]
at java.base/java.util.concurrent.AbstractExecutorService.submit(AbstractExecutorService.java:145) ~[na:na]
at org.apache.catalina.core.ContainerBase.startInternal(ContainerBase.java:871) ~[tomcat-embed-core-10.1.8.jar!/:na]
at org.apache.catalina.core.StandardEngine.startInternal(StandardEngine.java:241) ~[tomcat-embed-core-10.1.8.jar!/:na]
at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:183) ~[tomcat-embed-core-10.1.8.jar!/:na]
at org.apache.catalina.core.StandardService.startInternal(StandardService.java:428) ~[tomcat-embed-core-10.1.8.jar!/:na]
at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:183) ~[tomcat-embed-core-10.1.8.jar!/:na]
at org.apache.catalina.core.StandardServer.startInternal(StandardServer.java:913) ~[tomcat-embed-core-10.1.8.jar!/:na]
at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:183) ~[tomcat-embed-core-10.1.8.jar!/:na]
at org.apache.catalina.startup.Tomcat.start(Tomcat.java:485) ~[tomcat-embed-core-10.1.8.jar!/:na]
at org.springframework.boot.web.embedded.tomcat.TomcatWebServer.initialize(TomcatWebServer.java:123) ~[spring-boot-3.1.0.jar!/:3.1.0]
at org.springframework.boot.web.embedded.tomcat.TomcatWebServer.(TomcatWebServer.java:104) ~[spring-boot-3.1.0.jar!/:3.1.0]
at org.springframework.boot.web.embedded.tomcat.TomcatServletWebServerFactory.getTomcatWebServer(TomcatServletWebServerFactory.java:489) ~[spring-boot-3.1.0.jar!/:3.1.0]
at org.springframework.boot.web.embedded.tomcat.TomcatServletWebServerFactory.getWebServer(TomcatServletWebServerFactory.java:211) ~[spring-boot-3.1.0.jar!/:3.1.0]
at org.springframework.boot.web.servlet.context.ServletWebServerApplicationContext.createWebServer(ServletWebServerApplicationContext.java:183) ~[spring-boot-3.1.0.jar!/:3.1.0]
at org.springframework.boot.web.servlet.context.ServletWebServerApplicationContext.onRefresh(ServletWebServerApplicationContext.java:161) ~[spring-boot-3.1.0.jar!/:3.1.0]
at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:602) ~[spring-context-6.0.9.jar!/:6.0.9]
at org.springframework.boot.web.servlet.context.ServletWebServerApplicationContext.refresh(ServletWebServerApplicationContext.java:146) ~[spring-boot-3.1.0.jar!/:3.1.0]
at org.springframework.boot.SpringApplication.refresh(SpringApplication.java:733) ~[spring-boot-3.1.0.jar!/:3.1.0]
at org.springframework.boot.SpringApplication.refreshContext(SpringApplication.java:435) ~[spring-boot-3.1.0.jar!/:3.1.0]
at org.springframework.boot.SpringApplication.run(SpringApplication.java:311) ~[spring-boot-3.1.0.jar!/:3.1.0]
at org.springframework.boot.SpringApplication.run(SpringApplication.java:1305) ~[spring-boot-3.1.0.jar!/:3.1.0]
at org.springframework.boot.SpringApplication.run(SpringApplication.java:1294) ~[spring-boot-3.1.0.jar!/:3.1.0]
at com.softwaretruth.todos.TodosApplication.main(TodosApplication.java:32) ~[classes!/:0.0.1-SNAPSHOT]
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[na:na]
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77) ~[na:na]
at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[na:na]
at java.base/java.lang.reflect.Method.invoke(Method.java:568) ~[na:na]
at org.springframework.boot.loader.MainMethodRunner.run(MainMethodRunner.java:49) ~[todos-0.0.1-SNAPSHOT.jar:0.0.1-SNAPSHOT]
at org.springframework.boot.loader.Launcher.launch(Launcher.java:95) ~[todos-0.0.1-SNAPSHOT.jar:0.0.1-SNAPSHOT]
at org.springframework.boot.loader.Launcher.launch(Launcher.java:58) ~[todos-0.0.1-SNAPSHOT.jar:0.0.1-SNAPSHOT]
at org.springframework.boot.loader.JarLauncher.main(JarLauncher.java:65) ~[todos-0.0.1-SNAPSHOT.jar:0.0.1-SNAPSHOT]
Caused by: java.util.concurrent.CompletionException: java.lang.IllegalStateException:

Failed to find the following files:
- ./generated/jar-resources/gridConnector.js
- ./generated/jar-resources/lumo-includes.ts
- ./generated/jar-resources/src/code-editor/jmix-code-editor.js
- ./generated/jar-resources/vaadin-grid-flow-selection-column.js
- ./generated/jar-resources/messageListConnector.js
- ./generated/jar-resources/vaadin-big-decimal-field.js
- ./generated/jar-resources/selectConnector.js
- ./generated/jar-resources/src/value-picker-button/jmix-value-picker-button.js
- ./generated/jar-resources/flow-component-renderer.js
- ./generated/jar-resources/src/multi-select-combo-box-picker/jmix-multi-select-combo-box-picker.js
- ./generated/jar-resources/lit-renderer.ts
- ./generated/jar-resources/src/combo-box-picker/jmix-combo-box-picker.js
- ./generated/jar-resources/vaadin-time-picker/timepickerConnector.js
- ./generated/jar-resources/src/upload-button/jmix-upload-button.js
- ./generated/jar-resources/contextMenuConnector.js
- ./generated/jar-resources/src/uploadfield/jmix-upload-field.js
- ./generated/jar-resources/contextMenuTargetConnector.js
- ./generated/jar-resources/datepickerConnector.js
- ./generated/jar-resources/dndConnector-es6.js
- ./generated/jar-resources/comboBoxConnector.js
- ./generated/jar-resources/tooltip.ts
- ./generated/jar-resources/menubarConnector.js
- ./generated/jar-resources/src/login-form/jmix-login-form.js
- ./generated/jar-resources/src/tabsheet/jmix-tabsheet.js
- ./generated/jar-resources/virtualListConnector.js
- ./generated/jar-resources/src/value-picker/jmix-value-picker.js

Locations searched were:
- C:\MyPrograms\IdeaProjects\todos\frontend in this project
- META-INF/frontend in included JARs
- META-INF/resources/frontend in included JARs

Please, double check that those files exist. If you use a custom directory for your resource files instead of default frontend folder then make sure you it’s correctly configured (e.g. set ‘vaadin.frontend.frontend.folder’ property)

at java.base/java.util.concurrent.CompletableFuture.encodeThrowable(CompletableFuture.java:315) ~[na:na]
at java.base/java.util.concurrent.CompletableFuture.completeThrowable(CompletableFuture.java:320) ~[na:na]
at java.base/java.util.concurrent.CompletableFuture$AsyncRun.run(CompletableFuture.java:1807) ~[na:na]
at java.base/java.util.concurrent.CompletableFuture$AsyncRun.exec(CompletableFuture.java:1796) ~[na:na]
at java.base/java.util.concurrent.ForkJoinTask.doExec(ForkJoinTask.java:373) ~[na:na]
at java.base/java.util.concurrent.ForkJoinPool$WorkQueue.topLevelExec(ForkJoinPool.java:1182) ~[na:na]
at java.base/java.util.concurrent.ForkJoinPool.scan(ForkJoinPool.java:1655) ~[na:na]
at java.base/java.util.concurrent.ForkJoinPool.runWorker(ForkJoinPool.java:1622) ~[na:na]
at java.base/java.util.concurrent.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:165) ~[na:na]

Caused by: java.lang.IllegalStateException:

Failed to find the following files:
- ./generated/jar-resources/gridConnector.js
- ./generated/jar-resources/lumo-includes.ts
- ./generated/jar-resources/src/code-editor/jmix-code-editor.js
- ./generated/jar-resources/vaadin-grid-flow-selection-column.js
- ./generated/jar-resources/messageListConnector.js
- ./generated/jar-resources/vaadin-big-decimal-field.js
- ./generated/jar-resources/selectConnector.js
- ./generated/jar-resources/src/value-picker-button/jmix-value-picker-button.js
- ./generated/jar-resources/flow-component-renderer.js
- ./generated/jar-resources/src/multi-select-combo-box-picker/jmix-multi-select-combo-box-picker.js
- ./generated/jar-resources/lit-renderer.ts
- ./generated/jar-resources/src/combo-box-picker/jmix-combo-box-picker.js
- ./generated/jar-resources/vaadin-time-picker/timepickerConnector.js
- ./generated/jar-resources/src/upload-button/jmix-upload-button.js
- ./generated/jar-resources/contextMenuConnector.js
- ./generated/jar-resources/src/uploadfield/jmix-upload-field.js
- ./generated/jar-resources/contextMenuTargetConnector.js
- ./generated/jar-resources/datepickerConnector.js
- ./generated/jar-resources/dndConnector-es6.js
- ./generated/jar-resources/comboBoxConnector.js
- ./generated/jar-resources/tooltip.ts
- ./generated/jar-resources/menubarConnector.js
- ./generated/jar-resources/src/login-form/jmix-login-form.js
- ./generated/jar-resources/src/tabsheet/jmix-tabsheet.js
- ./generated/jar-resources/virtualListConnector.js
- ./generated/jar-resources/src/value-picker/jmix-value-picker.js

Locations searched were:
- C:\MyPrograms\IdeaProjects\todos\frontend in this project
- META-INF/frontend in included JARs
- META-INF/resources/frontend in included JARs

Please, double check that those files exist. If you use a custom directory for your resource files instead of default frontend folder then make sure you it’s correctly configured (e.g. set ‘vaadin.frontend.frontend.folder’ property)

at com.vaadin.flow.server.frontend.AbstractUpdateImports.getUniqueEs6ImportPaths(AbstractUpdateImports.java:381) ~[flow-server-24.0.9.jar!/:24.0.9]
at com.vaadin.flow.server.frontend.AbstractUpdateImports.getModuleLines(AbstractUpdateImports.java:407) ~[flow-server-24.0.9.jar!/:24.0.9]
at com.vaadin.flow.server.frontend.AbstractUpdateImports.collectModules(AbstractUpdateImports.java:299) ~[flow-server-24.0.9.jar!/:24.0.9]
at com.vaadin.flow.server.frontend.AbstractUpdateImports.run(AbstractUpdateImports.java:102) ~[flow-server-24.0.9.jar!/:24.0.9]
at com.vaadin.flow.server.frontend.TaskUpdateImports.execute(TaskUpdateImports.java:356) ~[flow-server-24.0.9.jar!/:24.0.9]
at com.vaadin.flow.server.frontend.NodeTasks.execute(NodeTasks.java:301) ~[flow-server-24.0.9.jar!/:24.0.9]
at com.vaadin.base.devserver.startup.DevModeInitializer.runNodeTasks(DevModeInitializer.java:375) ~[vaadin-dev-server-24.0.9.jar!/:na]
at com.vaadin.base.devserver.startup.DevModeInitializer.lambda$initDevModeHandler$0(DevModeInitializer.java:316) ~[vaadin-dev-server-24.0.9.jar!/:na]
at java.base/java.util.concurrent.CompletableFuture$AsyncRun.run(CompletableFuture.java:1804) ~[na:na]
... 6 common frames omitted

2023-07-12T23:47:50.851-07:00 ERROR 73008 — [ main] o.apache.catalina.core.StandardContext : One or more listeners failed to start. Full details will be found in the appropriate container log file
2023-07-12T23:47:50.852-07:00 ERROR 73008 — [ main] o.apache.catalina.core.StandardContext : Context [] startup failed due to previous errors
2023-07-12T23:47:50.894-07:00 INFO 73008 — [ main] o.apache.catalina.core.StandardService : Stopping service [Tomcat]
2023-07-12T23:47:50.898-07:00 WARN 73008 — [ main] ConfigServletWebServerApplicationContext : Exception encountered during context initialization - cancelling refresh attempt: org.springframework.context.ApplicationContextException: Unable to start web server
2023-07-12T23:47:50.910-07:00 INFO 73008 — [ main] .s.b.a.l.ConditionEvaluationReportLogger :

Error starting ApplicationContext. To display the condition evaluation report re-run your application with ‘debug’ enabled.
2023-07-12T23:47:50.940-07:00 ERROR 73008 — [ main] o.s.boot.SpringApplication : Application run failed

org.springframework.context.ApplicationContextException: Unable to start web server
at org.springframework.boot.web.servlet.context.ServletWebServerApplicationContext.onRefresh(ServletWebServerApplicationContext.java:164) ~[spring-boot-3.1.0.jar!/:3.1.0]
at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:602) ~[spring-context-6.0.9.jar!/:6.0.9]
at org.springframework.boot.web.servlet.context.ServletWebServerApplicationContext.refresh(ServletWebServerApplicationContext.java:146) ~[spring-boot-3.1.0.jar!/:3.1.0]
at org.springframework.boot.SpringApplication.refresh(SpringApplication.java:733) ~[spring-boot-3.1.0.jar!/:3.1.0]
at org.springframework.boot.SpringApplication.refreshContext(SpringApplication.java:435) ~[spring-boot-3.1.0.jar!/:3.1.0]
at org.springframework.boot.SpringApplication.run(SpringApplication.java:311) ~[spring-boot-3.1.0.jar!/:3.1.0]
at org.springframework.boot.SpringApplication.run(SpringApplication.java:1305) ~[spring-boot-3.1.0.jar!/:3.1.0]
at org.springframework.boot.SpringApplication.run(SpringApplication.java:1294) ~[spring-boot-3.1.0.jar!/:3.1.0]
at com.softwaretruth.todos.TodosApplication.main(TodosApplication.java:32) ~[classes!/:0.0.1-SNAPSHOT]
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[na:na]
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77) ~[na:na]
at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[na:na]
at java.base/java.lang.reflect.Method.invoke(Method.java:568) ~[na:na]
at org.springframework.boot.loader.MainMethodRunner.run(MainMethodRunner.java:49) ~[todos-0.0.1-SNAPSHOT.jar:0.0.1-SNAPSHOT]
at org.springframework.boot.loader.Launcher.launch(Launcher.java:95) ~[todos-0.0.1-SNAPSHOT.jar:0.0.1-SNAPSHOT]
at org.springframework.boot.loader.Launcher.launch(Launcher.java:58) ~[todos-0.0.1-SNAPSHOT.jar:0.0.1-SNAPSHOT]
at org.springframework.boot.loader.JarLauncher.main(JarLauncher.java:65) ~[todos-0.0.1-SNAPSHOT.jar:0.0.1-SNAPSHOT]
Caused by: org.springframework.boot.web.server.WebServerException: Unable to start embedded Tomcat
at org.springframework.boot.web.embedded.tomcat.TomcatWebServer.initialize(TomcatWebServer.java:142) ~[spring-boot-3.1.0.jar!/:3.1.0]
at org.springframework.boot.web.embedded.tomcat.TomcatWebServer.(TomcatWebServer.java:104) ~[spring-boot-3.1.0.jar!/:3.1.0]
at org.springframework.boot.web.embedded.tomcat.TomcatServletWebServerFactory.getTomcatWebServer(TomcatServletWebServerFactory.java:489) ~[spring-boot-3.1.0.jar!/:3.1.0]
at org.springframework.boot.web.embedded.tomcat.TomcatServletWebServerFactory.getWebServer(TomcatServletWebServerFactory.java:211) ~[spring-boot-3.1.0.jar!/:3.1.0]
at org.springframework.boot.web.servlet.context.ServletWebServerApplicationContext.createWebServer(ServletWebServerApplicationContext.java:183) ~[spring-boot-3.1.0.jar!/:3.1.0]
at org.springframework.boot.web.servlet.context.ServletWebServerApplicationContext.onRefresh(ServletWebServerApplicationContext.java:161) ~[spring-boot-3.1.0.jar!/:3.1.0]
… 16 common frames omitted
Caused by: java.lang.IllegalStateException: StandardEngine[Tomcat].StandardHost[localhost].TomcatEmbeddedContext[] failed to start
at org.springframework.boot.web.embedded.tomcat.TomcatWebServer.rethrowDeferredStartupExceptions(TomcatWebServer.java:187) ~[spring-boot-3.1.0.jar!/:3.1.0]
at org.springframework.boot.web.embedded.tomcat.TomcatWebServer.initialize(TomcatWebServer.java:126) ~[spring-boot-3.1.0.jar!/:3.1.0]
… 21 common frames omitted

1 Like

I have the same problem and searched a lot for a solution. But unfortunately I didn’t get any positive results

I have been changing theme settings with success, and then when I deleted the changes to revert to default, problems like this occurred, files missing from the frontend directory, in my case related to bpm add-on. I tried to remove-reinstall the addon, but no luck, got more problems with liquibase changelogs.

So, I restored the project from the daily backup. I’ll try to replicate the steps to file a bug report.

Kind regards,
Mladen

I have executed vaadinClean gradle task (instead of clean) and it cleaned node_modules directory.
To get them back, either vaadinPrepareFrontend and then vaadinBuildFrontend, which may take some time, or restore from backup.

Same for me. 2.2.3 Not assembled out of the box The same error as Steve Kearns

fixed, just added in your application.property vaadin.productionMode=true

1 Like