任何关于spring引导应用程序的建议都需要修改吗?a.Springboot app with docker then has to go with building image -> pushing to docker registry -> then由于spring引导附带嵌入式tomcat,所以不建议将可执行的jar文件作为java -jar运行
我也成功地将它部署到Heroku,但是现在当我尝试在IntelliJ中本地运行它(就像在部署之前一样),(选择“dev profile”,单击spring: run )或运行Application方法,: Heroku database URL is not configured, you must set --spring.datasource.heroku-url=$DATABASE_URL$$dbf295a9$
我第一次尝试用Kotlin,Gradle创建Spring应用程序,并在heroku上运行它。使用在IntelliK Idea 2022.1 (终极版)中创建的项目--当应用程序在本地主机上由ide运行时--一切正常,但是当我尝试从jar文件运行应用程序时,会出现一些问题。:spring-boot-starter-web")implementation("org.springframework.boot
我在Heroku写了一个弹靴应用程序。当我使用maven spring-boot:run在本地运行时,一切都是可以的。但是,当我将应用程序部署到Heroku时,页面会显示错误:
There was an unexpected error (type=Internal Server Error, status=500)./lib/spring-webmvc-4.0.7.RELEASE.jar&quo