cost 209 ms
Spring Boot + Angular app deployed to Heroku as a WAR, throws 404 unless I include “index.html” in the URL

[英]Spring Boot + Angular app deployed to Heroku as a WAR, throws 404 unless I include “index.html” in the URL

我正在嘗試創建一個非常基本的 Spring Boot + Angular 應用程序,然后我將能夠開發並自動部署為單個應用程序。 為了構建應用程序,我配置了 Maven 來編譯 Angular 項目並將其與我的后端一起添加到 WAR 文件中。 然后它將 WAR 部署到 Heroku 並使用以下 we ...

如何在Maven應用程序中使用heroku環境變量來綁定http服務器

[英]How to use the heroku environment variable in a maven application to bind http server

您知道我需要在我的Web應用程序中放置heroku http端口嗎? 我可以找到的唯一文檔是: https ://devcenter.heroku.com/articles/setting-the-http-port-for-java-applications,但是我不使用文檔中的8個選項 ...

Heroku 上的 Java Spring MVC 錯誤:無法訪問 jarfile target/dependency/webapp-runner.jar

[英]Java Spring MVC on Heroku Error: Unable to access jarfile target/dependency/webapp-runner.jar

我使用 Heroku 用 PostgreSQL 數據庫部署我的 Spring MVC java 應用程序。 鏈接到數據庫工作正常,並且 PostgreSQL 已成功初始化。 部署成功,沒有錯誤或看起來很奇怪的警告消息,但現在應用程序失敗了。 以下是日志: 我沒有在 stackoverflow ...

在webapp-runner中運行的對Heroku Web-app的API調用最終失敗,並出現google.common中的NoSuchMethodError和NoClassDefFoundError

[英]API calls to Heroku web-app running in webapp-runner eventually fail with NoSuchMethodError then NoClassDefFoundError in google.common

我正在使用webapp-runner在Heroku上進行戰爭。 我通過以下命令使用heroku-maven-plugin 1.2版部署該應用程序: mvn heroku:deploy-war 。 最初,該應用正常運行,並且所有端點都返回有效響應。 但是,如果我允許該應用程序空閑足夠長的時間 ...

在Heroku上修改Tomcat連接器設置

[英]Modifying Tomcat Connector settings on Heroku

Heroku的webapp-runner.jar在Tomcat上運行,默認的Tomcat maxPostSize為2MB 。 我需要增加此值,但不知道該怎么做。 我在https://github.com/jsimone/webapp-runner#options中看不到此設置的參數(這是 ...

Heroku Webapp運行程序JNDI命名,資源不可用

[英]Heroku webapp-runner JNDI naming, resource not available

我在src/main/webapp/META-INF/context.xml聲明了此資源 當我將應用程序部署到Tomcat 8時,它運行良好並且資源可用。 但是,當我嘗試使用以下命令通過webapp-runnner(本地或在Heroku上)運行時: 我收到此警告,但該資源不可 ...

Heroku Webapp運行程序-啟用命名

[英]Heroku webapp-runner --enable-naming

我一直面臨一項繁瑣的任務:部署spring項目(使用JNDI)。 現在,問題與webapp-runner選項“啟用命名”有關。 我的數據源由jndi聲明-使用tomcar context.xml。 當我使用提到的選項喂webapp-runner時,我得到以下消息: 我一直在挖掘 ...

在heroku上部署tomcat servlet項目

[英]deploy tomcat servlet project on heroku

我已經開發了一個基於tomcat-servlet的Web應用程序,可以很好地在本地計算機上運行。 我通過向其發布json發送請求: 它給了我正確的json響應。 但是,當我通過以下方式在heroku上部署我的應用程序時: https ://devcenter.heroku.com/a ...

是否有可能查看* .war文件執行的日志?

[英]Is there any possibility to see logs of *.war file execution?

我使用以下命令啟動了Web應用程序 現在有什么辦法查看日志嗎? 我的控制台輸出: 我的瀏覽器: 我在application.properties有logging.file=mylog.log ,但是它什么也沒寫。 我使用此命令jar cvf web-archi ...


 
粵ICP備18138465號  © 2020-2024 STACKOOM.COM