質問をすることでしか得られない、回答やアドバイスがある。

15分調べてもわからないことは、質問しよう!

新規登録して質問してみよう
ただいま回答率
85.48%
Heroku

HerokuはHeroku社が開発と運営を行っているPaaSの名称です。RubyやNode.js、Python、そしてJVMベース(Java、Scala、Clojureなど)の複数のプログラミング言語をサポートしている。

GitHub

GitHubは、Gitバージョン管理システムを利用したソフトウェア開発向けの共有ウェブサービスです。GitHub商用プランおよびオープンソースプロジェクト向けの無料アカウントを提供しています。

Gradle

Gradleは、ビルド自動化ツールです。 ソフトウェアパッケージやドキュメント、 または実際に何か他の種類のプロジェクトの構築、テスト、公開、展開などを自動化が出来ます

Spring Boot

Spring Bootは、Javaのフレームワークの一つ。Springプロジェクトが提供する様々なフレームワークを統合した、アプリケーションを高速で開発するために設計されたフレームワークです。

Q&A

解決済

1回答

1583閲覧

Spring bootで作成したアプリをHerokuにデプロイしたいが、Unable to access jarfileというエラーが出てしまいます

k_java_beginner

総合スコア12

Heroku

HerokuはHeroku社が開発と運営を行っているPaaSの名称です。RubyやNode.js、Python、そしてJVMベース(Java、Scala、Clojureなど)の複数のプログラミング言語をサポートしている。

GitHub

GitHubは、Gitバージョン管理システムを利用したソフトウェア開発向けの共有ウェブサービスです。GitHub商用プランおよびオープンソースプロジェクト向けの無料アカウントを提供しています。

Gradle

Gradleは、ビルド自動化ツールです。 ソフトウェアパッケージやドキュメント、 または実際に何か他の種類のプロジェクトの構築、テスト、公開、展開などを自動化が出来ます

Spring Boot

Spring Bootは、Javaのフレームワークの一つ。Springプロジェクトが提供する様々なフレームワークを統合した、アプリケーションを高速で開発するために設計されたフレームワークです。

0グッド

0クリップ

投稿2022/08/01 07:44

前提

Spring bootとpostgreSQLで簡単なメモアプリを作成しています。
local環境で望んだ仕上がりまで実装が終わったため、Herokuでの公開を試みたのですが、
「Application error」の画面に遷移してしまい、正常に動作しません。

実現したいこと

Herokuへのデプロイを正常に行いたい

発生している問題・エラーメッセージ

herokulogsで出力したエラーメッセージ

1 22022-08-01T07:08:54.000000+00:00 app[api]: Build started by user メールアドレス 32022-08-01T07:09:35.833882+00:00 app[api]: Release v8 created by user メールアドレス 42022-08-01T07:09:35.833882+00:00 app[api]: Deploy f8d4c9ec by user メールアドレス 52022-08-01T07:09:36.141999+00:00 heroku[web.1]: State changed from crashed to starting 62022-08-01T07:09:40.770443+00:00 heroku[web.1]: Starting process with command `java -Dserver.port=24442 $JAVA_OPTS -jar build/libs/アプリ名-0.0.1-SNAPSHOT.jar` 72022-08-01T07:09:41.887519+00:00 app[web.1]: Setting JAVA_TOOL_OPTIONS defaults based on dyno size. Custom settings will override them. 82022-08-01T07:09:41.890292+00:00 app[web.1]: Error: Unable to access jarfile build/libs/アプリ名-0.0.1-SNAPSHOT.jar 92022-08-01T07:09:42.066430+00:00 heroku[web.1]: Process exited with status 1 102022-08-01T07:09:42.432110+00:00 heroku[web.1]: State changed from starting to crashed 112022-08-01T07:09:42.438130+00:00 heroku[web.1]: State changed from crashed to starting 122022-08-01T07:09:46.694985+00:00 heroku[web.1]: Starting process with command `java -Dserver.port=6526 $JAVA_OPTS -jar build/libs/アプリ名-0.0.1-SNAPSHOT.jar` 132022-08-01T07:09:47.453497+00:00 app[web.1]: Setting JAVA_TOOL_OPTIONS defaults based on dyno size. Custom settings will override them. 142022-08-01T07:09:47.454778+00:00 app[web.1]: Error: Unable to access jarfile build/libs/アプリ名-0.0.1-SNAPSHOT.jar 152022-08-01T07:09:47.575633+00:00 heroku[web.1]: Process exited with status 1 162022-08-01T07:09:47.762689+00:00 heroku[web.1]: State changed from starting to crashed 172022-08-01T07:09:52.000000+00:00 app[api]: Build succeeded 182022-08-01T07:10:07.490607+00:00 heroku[router]: at=error code=H10 desc="App crashed" method=GET path="/" host=アプリ名.herokuapp.com request_id=36b7e7d9-0441-491c-b184-a69f6c56ef4e fwd="106.72.48.98" dyno= connect= service= status=503 bytes= protocol=https 192022-08-01T07:10:07.703205+00:00 heroku[router]: at=error code=H10 desc="App crashed" method=GET path="/favicon.ico" host=アプリ名.herokuapp.com request_id=7d5b8960-4869-468c-a379-11692ca82baf fwd="106.72.48.98" dyno= connect= service= status=503 bytes= protocol=https 202022-08-01T07:17:57.776638+00:00 heroku[router]: at=error code=H10 desc="App crashed" method=GET path="/" host=アプリ名.herokuapp.com request_id=13aa39ff-2e63-4864-aa4b-280e092b9256 fwd="106.72.48.98" dyno= connect= service= status=503 bytes= protocol=https 212022-08-01T07:17:57.971570+00:00 heroku[router]: at=error code=H10 desc="App crashed" method=GET path="/favicon.ico" host=アプリ名.herokuapp.com request_id=e7d2215c-0ad8-4a64-a775-0df9b84e5c8a fwd="106.72.48.98" dyno= connect= service= status=503 bytes= protocol=https 22

jarファイルが読み込めていないみたいですが、なぜ読み込めないかわかりませんでした…

関連ファイル

build.gradle

1plugins { 2 id 'org.springframework.boot' version '2.7.0' 3 id 'io.spring.dependency-management' version '1.0.11.RELEASE' 4 id 'java' 5} 6 7group = 'com.アプリ名' 8version = '0.0.1-SNAPSHOT' 9sourceCompatibility = '17' 10 11configurations { 12 compileOnly { 13 extendsFrom annotationProcessor 14 } 15} 16 17repositories { 18 mavenCentral() 19} 20 21dependencies { 22 implementation 'org.springframework.boot:spring-boot-starter-data-jpa' 23 implementation 'org.springframework.boot:spring-boot-starter-security' 24 implementation 'org.springframework.boot:spring-boot-starter-thymeleaf' 25 implementation 'org.springframework.boot:spring-boot-starter-web' 26 implementation 'org.thymeleaf.extras:thymeleaf-extras-springsecurity5' 27 compileOnly 'org.projectlombok:lombok' 28 developmentOnly 'org.springframework.boot:spring-boot-devtools' 29 runtimeOnly 'org.postgresql:postgresql' 30 annotationProcessor 'org.projectlombok:lombok' 31 testImplementation 'org.springframework.boot:spring-boot-starter-test' 32 testImplementation 'org.springframework.security:spring-security-test' 33 implementation 'nz.net.ultraq.thymeleaf:thymeleaf-layout-dialect' 34 implementation 'com.atilika.kuromoji:kuromoji-ipadic:0.9.0' 35 implementation 'org.springframework.boot:spring-boot-starter-validation' 36 implementation 'org.springframework.boot:spring-boot-starter-mail:2.7.1' 37 implementation 'org.passay:passay:1.6.1' 38 compileOnly 'com.github.jsimone:webapp-runner:9.0.27.1' 39 implementation 'org.apache.maven.plugins:maven-compiler-plugin:3.10.1' 40 41} 42 43tasks.named('test') { 44 useJUnitPlatform() 45} 46 47task stage(dependsOn: ['build', 'clean']) 48build.mustRunAfter clean 49 50jar { 51manifest { 52enabled = false 53 } 54} 55 56

Procfile

1web: java -Dserver.port=$PORT $JAVA_OPTS -jar build/libs/アプリ名-0.0.1-SNAPSHOT.jar

gitignore

1HELP.md 2.gradle 3build/ 4!gradle/wrapper/gradle-wrapper.jar 5!**/src/main/**/build/ 6!**/src/test/**/build/ 7 8### STS ### 9.apt_generated 10.classpath 11.factorypath 12.project 13.settings 14.springBeans 15.sts4-cache 16bin/ 17!**/src/main/**/bin/ 18!**/src/test/**/bin/ 19 20### IntelliJ IDEA ### 21.idea 22*.iws 23*.iml 24*.ipr 25out/ 26!**/src/main/**/out/ 27!**/src/test/**/out/ 28 29### NetBeans ### 30/nbproject/private/ 31/nbbuild/ 32/dist/ 33/nbdist/ 34/.nb-gradle/ 35 36### VS Code ### 37.vscode/ 38

system.properties

1java.runtime.version=17

いずれもプロジェクトフォルダ直下にあります。

試したこと

▼ターミナルで下記コマンドの実行
git add -f build/libs/アプリ名-0.0.1-SNAPSHOT.jar
git push heroku master
→Everything up-to-dateと表示され、特に他のログに変化なし
▼下記サイトを参考に、build.gradleに下記コードを追加
https://zenn.dev/otkshol/articles/db34b50fee53f7
jar {
manifest {
enabled = false
}
}
→特に変化なし

▼コンソールを確認

heroku run consoleと打ったところ、
Running console on ⬢ アプリ名... up, run.4080 (Free)
bash: console: command not foundとの表示で確認できず

補足情報(FW/ツールのバージョンなど)

SpringFramework 2.7.0
OpenJDK 64-Bit Server VM Temurin-17.0.3+7

理解が浅く、頓珍漢な質問でしたら申し訳ございません。
ご教示いただけますと幸いです。

気になる質問をクリップする

クリップした質問は、後からいつでもMYページで確認できます。

またクリップした質問に回答があった際、通知やメールを受け取ることができます。

バッドをするには、ログインかつ

こちらの条件を満たす必要があります。

k_java_beginner

2022/08/02 00:31

umed0025さん、ご返信ありがとうございます。 2点、下記の結果となりました。 1. git push時のログ macのアカウント名 アプリ名 % git push heroku master Everything up-to-date macのアカウント名 アプリ名 % heroku logs -a アプリ名 2022-08-01T01:39:29.177873+00:00 app[web.1]: Error: Unable to access jarfile build/libs/アプリ名-0.0.1-SNAPSHOT.jar 2022-08-01T01:39:29.302534+00:00 heroku[web.1]: Process exited with status 1 2022-08-01T01:39:29.354329+00:00 heroku[web.1]: State changed from starting to crashed 2022-08-01T01:39:31.000000+00:00 app[api]: Build succeeded 2022-08-01T01:40:23.015395+00:00 heroku[router]: at=error code=H10 desc="App crashed" method=GET path="/" host=アプリ名.herokuapp.com request_id=0698efe6-29f6-4d2b-afc0-4cdc454afb85 fwd="106.72.48.98" dyno= connect= service= status=503 bytes= protocol=https 2022-08-01T01:40:23.238093+00:00 heroku[router]: at=error code=H10 desc="App crashed" method=GET path="/favicon.ico" host=アプリ名.herokuapp.com request_id=7560892d-d4cd-44ba-b3cb-6ca93d7828d0 fwd="106.72.48.98" dyno= connect= service= status=503 bytes= protocol=https 2022-08-01T02:13:22.323629+00:00 heroku[router]: at=error code=H10 desc="App crashed" method=GET path="/" host=アプリ名.herokuapp.com request_id=7b07bfdc-0c86-47a5-85d6-817148e064e8 fwd="106.72.48.98" dyno= connect= service= status=503 bytes= protocol=https 2022-08-01T02:13:22.600304+00:00 heroku[router]: at=error code=H10 desc="App crashed" method=GET path="/favicon.ico" host=アプリ名.herokuapp.com request_id=a1a306f3-eabc-4d09-9a7b-8792a1b9e692 fwd="106.72.48.98" dyno= connect= service= status=503 bytes= protocol=https 2022-08-01T02:37:44.000000+00:00 app[api]: Build started by user メールアドレス 2022-08-01T02:38:37.671575+00:00 app[api]: Deploy c4dff4c7 by user メールアドレス 2022-08-01T02:38:37.671575+00:00 app[api]: Release v5 created by user メールアドレス 2022-08-01T02:38:37.930734+00:00 heroku[web.1]: State changed from crashed to starting 2022-08-01T02:38:42.252445+00:00 heroku[web.1]: Starting process with command `java -Dserver.port=58938 -jar target/アプリ名-0.0.1-SNAPSHOT.jar` 2022-08-01T02:38:43.037193+00:00 app[web.1]: Setting JAVA_TOOL_OPTIONS defaults based on dyno size. Custom settings will override them. 2022-08-01T02:38:43.039446+00:00 app[web.1]: Error: Unable to access jarfile target/アプリ名-0.0.1-SNAPSHOT.jar 2022-08-01T02:38:43.142796+00:00 heroku[web.1]: Process exited with status 1 2022-08-01T02:38:43.374204+00:00 heroku[web.1]: State changed from starting to crashed 2022-08-01T02:38:43.404655+00:00 heroku[web.1]: State changed from crashed to starting 2022-08-01T02:38:47.986913+00:00 heroku[web.1]: Starting process with command `java -Dserver.port=40855 -jar target/アプリ名-0.0.1-SNAPSHOT.jar` 2022-08-01T02:38:48.866926+00:00 app[web.1]: Setting JAVA_TOOL_OPTIONS defaults based on dyno size. Custom settings will override them. 2022-08-01T02:38:48.869359+00:00 app[web.1]: Error: Unable to access jarfile target/アプリ名-0.0.1-SNAPSHOT.jar 2022-08-01T02:38:48.996115+00:00 heroku[web.1]: Process exited with status 1 2022-08-01T02:38:49.095007+00:00 heroku[web.1]: State changed from starting to crashed 2022-08-01T02:38:52.000000+00:00 app[api]: Build succeeded 2022-08-01T02:39:20.900452+00:00 heroku[router]: at=error code=H10 desc="App crashed" method=GET path="/" host=アプリ名.herokuapp.com request_id=b95a7e1a-6e9f-469a-8842-02701f040fdd fwd="106.72.48.98" dyno= connect= service= status=503 bytes= protocol=https 2022-08-01T02:39:21.133910+00:00 heroku[router]: at=error code=H10 desc="App crashed" method=GET path="/favicon.ico" host=アプリ名.herokuapp.com request_id=42644248-6465-4629-9fd5-2550a8b032c3 fwd="106.72.48.98" dyno= connect= service= status=503 bytes= protocol=https 2022-08-01T04:58:04.300347+00:00 heroku[router]: at=error code=H10 desc="App crashed" method=GET path="/" host=アプリ名.herokuapp.com request_id=8b34a8de-2f25-4767-a8fb-f525f3e27461 fwd="106.72.48.98" dyno= connect= service= status=503 bytes= protocol=https 2022-08-01T04:58:04.578944+00:00 heroku[router]: at=error code=H10 desc="App crashed" method=GET path="/favicon.ico" host=アプリ名.herokuapp.com request_id=79006b46-ae2d-46c7-842d-0b505124dbde fwd="106.72.48.98" dyno= connect= service= status=503 bytes= protocol=https 2022-08-01T05:07:42.999714+00:00 app[api]: Starting process with command `console` by user メールアドレス 2022-08-01T05:07:48.425373+00:00 heroku[run.8563]: State changed from starting to up 2022-08-01T05:07:48.487630+00:00 heroku[run.8563]: Awaiting client 2022-08-01T05:07:48.511223+00:00 heroku[run.8563]: Starting process with command `console` 2022-08-01T05:07:51.958591+00:00 heroku[run.8563]: Process exited with status 127 2022-08-01T05:07:52.041377+00:00 heroku[run.8563]: State changed from up to complete 2022-08-01T05:57:29.000000+00:00 app[api]: Build started by user メールアドレス 2022-08-01T05:58:14.115024+00:00 app[api]: Deploy 3b9de6f2 by user メールアドレス 2022-08-01T05:58:14.115024+00:00 app[api]: Release v6 created by user メールアドレス 2022-08-01T05:58:17.084797+00:00 heroku[web.1]: State changed from crashed to starting 2022-08-01T05:58:21.397348+00:00 heroku[web.1]: Starting process with command `java -Dserver.port=6260 $JAVA_OPTS -jar build/libs/アプリ名-0.0.1-SNAPSHOT.jar` 2022-08-01T05:58:22.172466+00:00 app[web.1]: Setting JAVA_TOOL_OPTIONS defaults based on dyno size. Custom settings will override them. 2022-08-01T05:58:22.174669+00:00 app[web.1]: Error: Unable to access jarfile build/libs/アプリ名-0.0.1-SNAPSHOT.jar 2022-08-01T05:58:22.299630+00:00 heroku[web.1]: Process exited with status 1 2022-08-01T05:58:22.369589+00:00 heroku[web.1]: State changed from starting to crashed 2022-08-01T05:58:22.373021+00:00 heroku[web.1]: State changed from crashed to starting 2022-08-01T05:58:26.949297+00:00 heroku[web.1]: Starting process with command `java -Dserver.port=55557 $JAVA_OPTS -jar build/libs/アプリ名-0.0.1-SNAPSHOT.jar` 2022-08-01T05:58:28.079417+00:00 app[web.1]: Setting JAVA_TOOL_OPTIONS defaults based on dyno size. Custom settings will override them. 2022-08-01T05:58:28.087826+00:00 app[web.1]: Error: Unable to access jarfile build/libs/アプリ名-0.0.1-SNAPSHOT.jar 2022-08-01T05:58:28.237615+00:00 heroku[web.1]: Process exited with status 1 2022-08-01T05:58:28.290262+00:00 heroku[web.1]: State changed from starting to crashed 2022-08-01T05:58:30.000000+00:00 app[api]: Build succeeded 2022-08-01T05:58:34.498752+00:00 heroku[router]: at=error code=H10 desc="App crashed" method=GET path="/" host=アプリ名.herokuapp.com request_id=b6981ad0-f3d9-4d61-86b7-a09103f40815 fwd="106.72.48.98" dyno= connect= service= status=503 bytes= protocol=https 2022-08-01T05:58:34.771551+00:00 heroku[router]: at=error code=H10 desc="App crashed" method=GET path="/favicon.ico" host=アプリ名.herokuapp.com request_id=64cd95d5-3248-4d24-a4ff-48990d36a2bf fwd="106.72.48.98" dyno= connect= service= status=503 bytes= protocol=https 2022-08-01T05:58:55.969581+00:00 heroku[router]: at=error code=H10 desc="App crashed" method=GET path="/" host=アプリ名.herokuapp.com request_id=6df057f8-e1d9-4d4e-bfa4-44787e21c392 fwd="106.72.48.98" dyno= connect= service= status=503 bytes= protocol=https 2022-08-01T05:58:56.222996+00:00 heroku[router]: at=error code=H10 desc="App crashed" method=GET path="/favicon.ico" host=アプリ名.herokuapp.com request_id=f9e9069c-adf1-4eda-a210-27461af29cb0 fwd="106.72.48.98" dyno= connect= service= status=503 bytes= protocol=https 2022-08-01T06:51:45.000000+00:00 app[api]: Build started by user メールアドレス 2022-08-01T06:52:29.411505+00:00 app[api]: Release v7 created by user メールアドレス 2022-08-01T06:52:29.411505+00:00 app[api]: Deploy 3b9de6f2 by user メールアドレス 2022-08-01T06:52:29.701710+00:00 heroku[web.1]: State changed from crashed to starting 2022-08-01T06:52:34.101261+00:00 heroku[web.1]: Starting process with command `java -Dserver.port=47233 $JAVA_OPTS -jar build/libs/アプリ名-0.0.1-SNAPSHOT.jar` 2022-08-01T06:52:34.953901+00:00 app[web.1]: Setting JAVA_TOOL_OPTIONS defaults based on dyno size. Custom settings will override them. 2022-08-01T06:52:34.956441+00:00 app[web.1]: Error: Unable to access jarfile build/libs/アプリ名-0.0.1-SNAPSHOT.jar 2022-08-01T06:52:35.086345+00:00 heroku[web.1]: Process exited with status 1 2022-08-01T06:52:35.147157+00:00 heroku[web.1]: State changed from starting to crashed 2022-08-01T06:52:35.150426+00:00 heroku[web.1]: State changed from crashed to starting 2022-08-01T06:52:39.658767+00:00 heroku[web.1]: Starting process with command `java -Dserver.port=22107 $JAVA_OPTS -jar build/libs/アプリ名-0.0.1-SNAPSHOT.jar` 2022-08-01T06:52:40.466549+00:00 app[web.1]: Setting JAVA_TOOL_OPTIONS defaults based on dyno size. Custom settings will override them. 2022-08-01T06:52:40.469721+00:00 app[web.1]: Error: Unable to access jarfile build/libs/アプリ名-0.0.1-SNAPSHOT.jar 2022-08-01T06:52:40.599580+00:00 heroku[web.1]: Process exited with status 1 2022-08-01T06:52:40.774627+00:00 heroku[web.1]: State changed from starting to crashed 2022-08-01T06:52:44.000000+00:00 app[api]: Build succeeded 2022-08-01T06:52:56.731349+00:00 heroku[router]: at=error code=H10 desc="App crashed" method=GET path="/" host=アプリ名.herokuapp.com request_id=237a3c50-719d-42a5-adf3-35ffdd5aa5d7 fwd="106.72.48.98" dyno= connect= service= status=503 bytes= protocol=https 2022-08-01T06:52:56.999563+00:00 heroku[router]: at=error code=H10 desc="App crashed" method=GET path="/favicon.ico" host=アプリ名.herokuapp.com request_id=5ee82553-094f-498c-a42e-c7a351871750 fwd="106.72.48.98" dyno= connect= service= status=503 bytes= protocol=https 2022-08-01T07:05:47.620318+00:00 heroku[router]: at=error code=H10 desc="App crashed" method=GET path="/" host=アプリ名.herokuapp.com request_id=58c61290-52c1-403d-80c4-ab712005415a fwd="106.72.48.98" dyno= connect= service= status=503 bytes= protocol=https 2022-08-01T07:05:47.903721+00:00 heroku[router]: at=error code=H10 desc="A 要不要の判断がつかなかったため、出力された全文を載せています。 2. ローカルでの起動 heroku local -p 8080(5000番はalready in useと出たため8080を指定)としたところ、ローカルでは問題なくアプリが起動しました…! 依然として、リモートではエラーの状況です。
guest

回答1

0

ベストアンサー

herokuのデプロイは、 ソースコードをリモート(heroku)へプッシュ → リモートでビルド → 起動(Procfile) というざっくりとした流れになっています。
Error: Unable to access jarfile ということから jarファイルが生成されてないのでは?ということが推測されます。
ここでは、リモート(heroku)でビルドに失敗している可能性が高いです。

確認する内容としては以下になると思います。

  1. git push heroku masterを行った際の画面出力(ログ)の確認。何かエラーがでてないかどうか?、エラーがあった場合は内容の調査、対応。
  2. gradle builde でローカル環境でビルドできるのか?。(ソースコードの問題か、heroku環境の問題なのか切り分けるため)
    • heroku local webでローカル環境で起動確認。

可能であれば、質問へgit push heroku masterを行った際のログの追記をお願いします。

追記

heroku localで動いているということはローカルのビルドには成功している。純粋にProcfileで指定したパスにjarファイルがない可能性もありますね。
jarファイル名を最近変えた場合は、キャッシュが残っってローカルで成功する場合があります。キャッシュを消して確認する場合は以下の様に実行します。

./gradlew clean build heroku local web -p 8080

投稿2022/08/01 23:53

編集2022/08/03 05:44
umed0025

総合スコア851

バッドをするには、ログインかつ

こちらの条件を満たす必要があります。

k_java_beginner

2022/08/03 04:40

teraralが落ちていたので、念のためこちらにもコメント失礼します。 質問に追記させていただいた状況が現在も続いております。追加で調べてみたものの、それらしき解決手段も見当たらず…お知恵をお借りできますと幸いです。
umed0025

2022/08/03 05:05 編集

``` macのアカウント名 アプリ名 % git push heroku master Everything up-to-date ``` 前回からのソースに変更がないためログが表示されていないようです。 以下の様にソースに変更があったことにしてからpushしてビルドログの確認をしてください。 ``` git commit --allow-empty -m "empty commit" git push heroku master ```
k_java_beginner

2022/08/04 05:16

追記・コメントありがとうございます。 「Procfileで指定したパスにjarファイルがない可能性がある」とのご指摘をもとに、 改めて確認してみました。 結論から申しますと、jarファイルの場所は間違っていなかったものの、 Procfileでパスを指定する際に大文字が紛れてしまっていたことがエラーの原因でした。 修正後はリモートでもきちんと動作するようになりました。 初歩的なミスでお手間をおかけして申し訳ございません。 umed0025さんのおかげで解決できました、色々教えていただきありがとうございました!
guest

あなたの回答

tips

太字

斜体

打ち消し線

見出し

引用テキストの挿入

コードの挿入

リンクの挿入

リストの挿入

番号リストの挿入

表の挿入

水平線の挿入

プレビュー

15分調べてもわからないことは
teratailで質問しよう!

ただいまの回答率
85.48%

質問をまとめることで
思考を整理して素早く解決

テンプレート機能で
簡単に質問をまとめる

質問する

関連した質問