-
-
Save Peppe/75ee86e66305a2954cdfb68065e9c701 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
PS C:\Users\jensj\Downloads\example-project (1)> mvn spring-boot:run | |
[INFO] Scanning for projects... | |
[INFO] | |
[INFO] --------------< com.example.application:example-project >--------------- | |
[INFO] Building Example Project 2.0-SNAPSHOT | |
[INFO] --------------------------------[ jar ]--------------------------------- | |
[INFO] | |
[INFO] >>> spring-boot-maven-plugin:2.2.0.RELEASE:run (default-cli) > test-compile @ example-project >>> | |
[INFO] | |
[INFO] --- maven-resources-plugin:3.1.0:resources (default-resources) @ example-project --- | |
[INFO] Using 'UTF-8' encoding to copy filtered resources. | |
[INFO] Copying 1 resource | |
[INFO] Copying 2 resources | |
[INFO] | |
[INFO] --- vaadin-maven-plugin:15.0.1:prepare-frontend (default) @ example-project --- | |
[INFO] writing file C:\Users\jensj\Downloads\example-project (1)\target\flow-frontend\package.json. | |
[INFO] Copying frontend resources from jar files ... | |
[INFO] Visited 153 resources. Took 367 ms. | |
[INFO] | |
[INFO] --- maven-compiler-plugin:3.8.1:compile (default-compile) @ example-project --- | |
[INFO] Nothing to compile - all classes are up to date | |
[INFO] | |
[INFO] --- maven-resources-plugin:3.1.0:testResources (default-testResources) @ example-project --- | |
[INFO] Using 'UTF-8' encoding to copy filtered resources. | |
[INFO] skip non existing resourceDirectory C:\Users\jensj\Downloads\example-project (1)\src\test\resources | |
[INFO] | |
[INFO] --- maven-compiler-plugin:3.8.1:testCompile (default-testCompile) @ example-project --- | |
[INFO] No sources to compile | |
[INFO] | |
[INFO] <<< spring-boot-maven-plugin:2.2.0.RELEASE:run (default-cli) < test-compile @ example-project <<< | |
[INFO] | |
[INFO] | |
[INFO] --- spring-boot-maven-plugin:2.2.0.RELEASE:run (default-cli) @ example-project --- | |
[INFO] Attaching agents: [] | |
_____ _ ____ _ _ | |
| ____|__ __ __ _ _ __ ___ _ __ | | ___ | _ \ _ __ ___ (_) ___ ___ | |_ | |
| _| \ \/ / / _` || '_ ` _ \ | '_ \ | | / _ \ | |_) || '__| / _ \ | | / _ \ / __|| __| | |
| |___ > < | (_| || | | | | || |_) || || __/ | __/ | | | (_) | | || __/| (__ | |_ | |
|_____|/_/\_\ \__,_||_| |_| |_|| .__/ |_| \___| |_| |_| \___/ _/ | \___| \___| \__| | |
|_| |__/ | |
2020-03-13 11:13:03.714 INFO 13504 --- [ restartedMain] com.example.application.Application : Starting Application on Peppe-Lina with PID 13504 (started by jensj in C:\Users\jensj\Downloads\example-project (1)) | |
2020-03-13 11:13:03.717 INFO 13504 --- [ restartedMain] com.example.application.Application : No active profile set, falling back to default profiles: default | |
2020-03-13 11:13:03.755 INFO 13504 --- [ restartedMain] .e.DevToolsPropertyDefaultsPostProcessor : Devtools property defaults active! Set 'spring.devtools.add-properties' to 'false' to disable | |
2020-03-13 11:13:03.755 INFO 13504 --- [ restartedMain] .e.DevToolsPropertyDefaultsPostProcessor : For additional web related logging consider setting the 'logging.level.web' property to 'DEBUG' | |
2020-03-13 11:13:04.432 INFO 13504 --- [ restartedMain] o.s.b.w.embedded.tomcat.TomcatWebServer : Tomcat initialized with port(s): 8080 (http) | |
2020-03-13 11:13:04.439 INFO 13504 --- [ restartedMain] o.apache.catalina.core.StandardService : Starting service [Tomcat] | |
2020-03-13 11:13:04.439 INFO 13504 --- [ restartedMain] org.apache.catalina.core.StandardEngine : Starting Servlet engine: [Apache Tomcat/9.0.27] | |
2020-03-13 11:13:04.524 INFO 13504 --- [ restartedMain] o.a.c.c.C.[Tomcat].[localhost].[/] : Initializing Spring embedded WebApplicationContext | |
2020-03-13 11:13:04.524 INFO 13504 --- [ restartedMain] o.s.web.context.ContextLoader : Root WebApplicationContext: initialization completed in 768 ms | |
2020-03-13 11:13:04.581 INFO 13504 --- [ restartedMain] c.v.f.s.VaadinServletContextInitializer : Search for VaadinAppShell took 27 ms | |
2020-03-13 11:13:04.583 INFO 13504 --- [ restartedMain] c.v.f.s.s.VaadinAppShellInitializer : Using com.example.application.AppShell class for configuring `index.html` response | |
2020-03-13 11:13:04.590 ERROR 13504 --- [ restartedMain] o.a.c.c.C.[Tomcat].[localhost].[/] : Exception sending context initialized event to listener instance of class [com.vaadin.flow.spring.VaadinServletContextInitializer$VaadinAppShellContextListener] | |
java.lang.RuntimeException: Unable to initialize com.vaadin.flow.spring.VaadinServletContextInitializer$VaadinAppShellContextListener | |
at com.vaadin.flow.spring.VaadinServletContextInitializer$FailFastServletContextListener.contextInitialized(VaadinServletContextInitializer.java:166) ~[vaadin-spring-13.0.1.jar:na] | |
at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:4683) ~[tomcat-embed-core-9.0.27.jar:9.0.27] | |
at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5146) ~[tomcat-embed-core-9.0.27.jar:9.0.27] | |
at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:183) ~[tomcat-embed-core-9.0.27.jar:9.0.27] | |
at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1384) ~[tomcat-embed-core-9.0.27.jar:9.0.27] | |
at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1374) ~[tomcat-embed-core-9.0.27.jar:9.0.27] | |
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-9.0.27.jar:9.0.27] | |
at java.base/java.util.concurrent.AbstractExecutorService.submit(AbstractExecutorService.java:140) ~[na:na] | |
at org.apache.catalina.core.ContainerBase.startInternal(ContainerBase.java:909) ~[tomcat-embed-core-9.0.27.jar:9.0.27] | |
at org.apache.catalina.core.StandardHost.startInternal(StandardHost.java:841) ~[tomcat-embed-core-9.0.27.jar:9.0.27] | |
at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:183) ~[tomcat-embed-core-9.0.27.jar:9.0.27] | |
at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1384) ~[tomcat-embed-core-9.0.27.jar:9.0.27] | |
at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1374) ~[tomcat-embed-core-9.0.27.jar:9.0.27] | |
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-9.0.27.jar:9.0.27] | |
at java.base/java.util.concurrent.AbstractExecutorService.submit(AbstractExecutorService.java:140) ~[na:na] | |
at org.apache.catalina.core.ContainerBase.startInternal(ContainerBase.java:909) ~[tomcat-embed-core-9.0.27.jar:9.0.27] | |
at org.apache.catalina.core.StandardEngine.startInternal(StandardEngine.java:262) ~[tomcat-embed-core-9.0.27.jar:9.0.27] | |
at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:183) ~[tomcat-embed-core-9.0.27.jar:9.0.27] | |
at org.apache.catalina.core.StandardService.startInternal(StandardService.java:421) ~[tomcat-embed-core-9.0.27.jar:9.0.27] | |
at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:183) ~[tomcat-embed-core-9.0.27.jar:9.0.27] | |
at org.apache.catalina.core.StandardServer.startInternal(StandardServer.java:930) ~[tomcat-embed-core-9.0.27.jar:9.0.27] | |
at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:183) ~[tomcat-embed-core-9.0.27.jar:9.0.27] | |
at org.apache.catalina.startup.Tomcat.start(Tomcat.java:459) ~[tomcat-embed-core-9.0.27.jar:9.0.27] | |
at org.springframework.boot.web.embedded.tomcat.TomcatWebServer.initialize(TomcatWebServer.java:107) ~[spring-boot-2.2.0.RELEASE.jar:2.2.0.RELEASE] | |
at org.springframework.boot.web.embedded.tomcat.TomcatWebServer.<init>(TomcatWebServer.java:88) ~[spring-boot-2.2.0.RELEASE.jar:2.2.0.RELEASE] | |
at org.springframework.boot.web.embedded.tomcat.TomcatServletWebServerFactory.getTomcatWebServer(TomcatServletWebServerFactory.java:438) ~[spring-boot-2.2.0.RELEASE.jar:2.2.0.RELEASE] | |
at org.springframework.boot.web.embedded.tomcat.TomcatServletWebServerFactory.getWebServer(TomcatServletWebServerFactory.java:191) ~[spring-boot-2.2.0.RELEASE.jar:2.2.0.RELEASE] | |
at org.springframework.boot.web.servlet.context.ServletWebServerApplicationContext.createWebServer(ServletWebServerApplicationContext.java:180) ~[spring-boot-2.2.0.RELEASE.jar:2.2.0.RELEASE] | |
at org.springframework.boot.web.servlet.context.ServletWebServerApplicationContext.onRefresh(ServletWebServerApplicationContext.java:153) ~[spring-boot-2.2.0.RELEASE.jar:2.2.0.RELEASE] | |
at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:544) ~[spring-context-5.2.0.RELEASE.jar:5.2.0.RELEASE] | |
at org.springframework.boot.web.servlet.context.ServletWebServerApplicationContext.refresh(ServletWebServerApplicationContext.java:141) ~[spring-boot-2.2.0.RELEASE.jar:2.2.0.RELEASE] | |
at org.springframework.boot.SpringApplication.refresh(SpringApplication.java:747) ~[spring-boot-2.2.0.RELEASE.jar:2.2.0.RELEASE] | |
at org.springframework.boot.SpringApplication.refreshContext(SpringApplication.java:397) ~[spring-boot-2.2.0.RELEASE.jar:2.2.0.RELEASE] | |
at org.springframework.boot.SpringApplication.run(SpringApplication.java:315) ~[spring-boot-2.2.0.RELEASE.jar:2.2.0.RELEASE] | |
at org.springframework.boot.SpringApplication.run(SpringApplication.java:1226) ~[spring-boot-2.2.0.RELEASE.jar:2.2.0.RELEASE] | |
at org.springframework.boot.SpringApplication.run(SpringApplication.java:1215) ~[spring-boot-2.2.0.RELEASE.jar:2.2.0.RELEASE] | |
at com.example.application.Application.main(Application.java:14) ~[classes/:na] | |
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[na:na] | |
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[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:566) ~[na:na] | |
at org.springframework.boot.devtools.restart.RestartLauncher.run(RestartLauncher.java:49) ~[spring-boot-devtools-2.2.0.RELEASE.jar:2.2.0.RELEASE] | |
Caused by: com.vaadin.flow.server.InvalidApplicationConfigurationException: | |
Found app shell configuration annotations in non `AppShellConfigurator` classes. | |
The following annotations must be either removed or moved to the 'class com.example.application.AppShell' class: | |
- @PWA from com.example.application.views.main.MainView | |
at com.vaadin.flow.server.startup.VaadinAppShellInitializer.init(VaadinAppShellInitializer.java:150) ~[flow-server-3.0.1.jar:3.0.1] | |
at com.vaadin.flow.spring.VaadinServletContextInitializer$VaadinAppShellContextListener.failFastContextInitialized(VaadinServletContextInitializer.java:438) ~[vaadin-spring-13.0.1.jar:na] | |
at com.vaadin.flow.spring.VaadinServletContextInitializer$FailFastServletContextListener.contextInitialized(VaadinServletContextInitializer.java:162) ~[vaadin-spring-13.0.1.jar:na] | |
... 43 common frames omitted | |
2020-03-13 11:13:04.591 ERROR 13504 --- [ restartedMain] o.apache.catalina.core.StandardContext : One or more listeners failed to start. Full details will be found in the appropriate container log file | |
2020-03-13 11:13:04.591 ERROR 13504 --- [ restartedMain] o.apache.catalina.core.StandardContext : Context [] startup failed due to previous errors | |
2020-03-13 11:13:04.759 INFO 13504 --- [ restartedMain] o.apache.catalina.core.StandardService : Stopping service [Tomcat] | |
2020-03-13 11:13:04.763 WARN 13504 --- [ restartedMain] ConfigServletWebServerApplicationContext : Exception encountered during context initialization - cancelling refresh attempt: org.springframework.context.ApplicationContextException: Unable to start web server; nested exception is org.springframework.boot.web.server.WebServerException: Unable to start embedded Tomcat | |
2020-03-13 11:13:04.768 INFO 13504 --- [ restartedMain] ConditionEvaluationReportLoggingListener : | |
Error starting ApplicationContext. To display the conditions report re-run your application with 'debug' enabled. | |
2020-03-13 11:13:04.772 ERROR 13504 --- [ restartedMain] o.s.boot.SpringApplication : Application run failed | |
org.springframework.context.ApplicationContextException: Unable to start web server; nested exception is org.springframework.boot.web.server.WebServerException: Unable to start embedded Tomcat | |
at org.springframework.boot.web.servlet.context.ServletWebServerApplicationContext.onRefresh(ServletWebServerApplicationContext.java:156) ~[spring-boot-2.2.0.RELEASE.jar:2.2.0.RELEASE] | |
at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:544) ~[spring-context-5.2.0.RELEASE.jar:5.2.0.RELEASE] | |
at org.springframework.boot.web.servlet.context.ServletWebServerApplicationContext.refresh(ServletWebServerApplicationContext.java:141) ~[spring-boot-2.2.0.RELEASE.jar:2.2.0.RELEASE] | |
at org.springframework.boot.SpringApplication.refresh(SpringApplication.java:747) ~[spring-boot-2.2.0.RELEASE.jar:2.2.0.RELEASE] | |
at org.springframework.boot.SpringApplication.refreshContext(SpringApplication.java:397) ~[spring-boot-2.2.0.RELEASE.jar:2.2.0.RELEASE] | |
at org.springframework.boot.SpringApplication.run(SpringApplication.java:315) ~[spring-boot-2.2.0.RELEASE.jar:2.2.0.RELEASE] | |
at org.springframework.boot.SpringApplication.run(SpringApplication.java:1226) ~[spring-boot-2.2.0.RELEASE.jar:2.2.0.RELEASE] | |
at org.springframework.boot.SpringApplication.run(SpringApplication.java:1215) ~[spring-boot-2.2.0.RELEASE.jar:2.2.0.RELEASE] | |
at com.example.application.Application.main(Application.java:14) ~[classes/:na] | |
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[na:na] | |
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[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:566) ~[na:na] | |
at org.springframework.boot.devtools.restart.RestartLauncher.run(RestartLauncher.java:49) ~[spring-boot-devtools-2.2.0.RELEASE.jar:2.2.0.RELEASE] | |
Caused by: org.springframework.boot.web.server.WebServerException: Unable to start embedded Tomcat | |
at org.springframework.boot.web.embedded.tomcat.TomcatWebServer.initialize(TomcatWebServer.java:126) ~[spring-boot-2.2.0.RELEASE.jar:2.2.0.RELEASE] | |
at org.springframework.boot.web.embedded.tomcat.TomcatWebServer.<init>(TomcatWebServer.java:88) ~[spring-boot-2.2.0.RELEASE.jar:2.2.0.RELEASE] | |
at org.springframework.boot.web.embedded.tomcat.TomcatServletWebServerFactory.getTomcatWebServer(TomcatServletWebServerFactory.java:438) ~[spring-boot-2.2.0.RELEASE.jar:2.2.0.RELEASE] | |
at org.springframework.boot.web.embedded.tomcat.TomcatServletWebServerFactory.getWebServer(TomcatServletWebServerFactory.java:191) ~[spring-boot-2.2.0.RELEASE.jar:2.2.0.RELEASE] | |
at org.springframework.boot.web.servlet.context.ServletWebServerApplicationContext.createWebServer(ServletWebServerApplicationContext.java:180) ~[spring-boot-2.2.0.RELEASE.jar:2.2.0.RELEASE] | |
at org.springframework.boot.web.servlet.context.ServletWebServerApplicationContext.onRefresh(ServletWebServerApplicationContext.java:153) ~[spring-boot-2.2.0.RELEASE.jar:2.2.0.RELEASE] | |
... 13 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:171) ~[spring-boot-2.2.0.RELEASE.jar:2.2.0.RELEASE] | |
at org.springframework.boot.web.embedded.tomcat.TomcatWebServer.initialize(TomcatWebServer.java:110) ~[spring-boot-2.2.0.RELEASE.jar:2.2.0.RELEASE] | |
... 18 common frames omitted | |
[INFO] ------------------------------------------------------------------------ | |
[INFO] BUILD SUCCESS | |
[INFO] ------------------------------------------------------------------------ | |
[INFO] Total time: 7.035 s | |
[INFO] Finished at: 2020-03-13T11:13:04+02:00 | |
[INFO] ------------------------------------------------------------------------ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment