L
L
lif5272020-09-16 22:20:55
Java
lif527, 2020-09-16 22:20:55

I don’t understand why it’s not possible to deploy the bot?

I want to deploy telegram bot'a writes an error:

020-09-16T19:16:07.167880+00:00 app[java.1]: Picked up JAVA_TOOL_OPTIONS: -Xmx300m -Xss512k -XX:CICompilerCount=2 -Dfile.encoding=UTF-8 
2020-09-16T19:16:07.271648+00:00 app[java.1]: no main manifest attribute, in out/artifacts/telebot2_jar/telebot2.jar

I specified in Procfile:
java: java -jar out/artifacts/telebot2_jar/telebot2.jar

How can I solve the error?
folder screenshot:
5f6265863c856777611900.png

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question