它工作得很好,但是SpringBootServletInitializer在1.4.0中被否决了。我应该使用哪一个?org.springframework.boot.autoconfigure.SpringBootApplication; public class DemoApplication extends SpringBootSer
如果我添加SpringBootServletInitializer,就会出现以下错误
org.springframework.beans.factory.BeanDefinitionStoreExceptionjava.lang.IllegalStateException: Failed to introspect annotated methods on class org.springframework.boot.web.servlet.support.SpringBootServletInitializerJmxAutoConfiguration.cl
我正尝试在Ubuntu 18.04服务器上的Tomcat应用服务器上运行一个带有Spring Boot的Vaadin projekt。 我下载了Vaadin Flow Spring Starter项目:https://vaadin.com/start/latest/project-base-spring 但是当我在tomcat上部署它并试图打开它时,我得到了这个错误: There was an exception while trying to navigate to '' with the exception message 'Unable to create an
org.springframework.boot.builder.SpringApplicationBuilder;@PropertySource("classpath:application.properties")
public class Application extends SpringBootServletInitial
据我所知,这是一个依赖问题,我正在使用SpringBootServletInitializer cannot be resolved to a type。org.springframework.boot.builder.SpringApplicationBuilder;
public class SpringBootApplication extends SpringBootServletInitial