L
L
lif5272020-08-30 10:40:24
Java
lif527, 2020-08-30 10:40:24

How to fix this error in Procfile?

I wrote in Procfile: web: java -jar out\artifacts\telebot_jar\telebot.jar
Posted on heroku, writes an error: Error: Unable to access jarfile outartifactstelebot_jartelebot.jar Tried
to specify only the file name: Error: Unable to access jarfile telebot.jar
What should I write in Procfile?
Folder screenshot:
5f4b57cf06271031362567.png

Answer the question

In order to leave comments, you need to log in

1 answer(s)
R
Roman Mirilaczvili, 2020-08-30
@lif527

Heroku runs on Linux, so paths must contain /.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question