I'm building my first application Java Spring Boot
. At this first experiment, I'm having difficulty using Git and sending it to the server. The main idea would be: I pull to a private repository, example: Bitbucket
, and on my server I do, git
clone. But with this, I'm having several problems, so I thought about the possibility of doing .jar and sending it by ftp. But this does not even work on the server when I do java -jar projeto.jar
, I have the following errors:
nenhum atributo de manifesto principal em projeto.jar
I would like to know from other developers' experience, what is the best practice to export my Spring Boot project to the server and how to make it easy for maintenance and upgrade.
Thank you.