我创建了一个基本的 Spring Boot 应用程序(手动添加到所有 JAR 文件中,因为 maven 下载限制在内网中)。在本地运行应用程序时,应用程序启动(并且可在 loaclhost:8080 上访问),但在 PCF 上部署 jar 文件时,出现以下错误
Unable to start EmbeddedWebApplicationContext due to missing EmbeddedServletContainerFactory bean
由于应用程序在本地运行,我假设我添加了所有 JAR 文件。
这里有什么问题?