N
N
Nikita K2020-11-19 05:37:23
Java
Nikita K, 2020-11-19 05:37:23

How to deploy a spring boot bot?

Finally, I added my bot to the spring booth and it works on the computer as it should, but when I try to deploy it, it does not work. I must say right away that I am generally a vegetable in Ubuntu (I bought a vps), I somehow uploaded a database dump and my jar. It’s not clear from the database at all, I created a user and a database (postgres), but Ubuntu can’t find them, I did everything according to the guide on the internet, but postgres doesn’t see the authorization.
The jar itself does not see the manifest at startup, when you try to explicitly indicate where the manifest is located in the idea, it gives an error that it is already present in the assembly
Upd: another question about pom.xml, I wanted to put the spring-boot-starter-plugin, copied it from mvn, but the idea does not want to see it, how is this possible. Here's what you get when you try to explicitly specify the manifest: C:/Users/Nikita/IdeaProjects/telegramBotMoney/src/main/resources/META-INF/MANIFEST.MF' already exists in VFS

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