Home
Support Forums

What are the correct comands to deploy a maven project with spring boot?

Hi, I can’t deploy my spring-boot (with maven) back and I have a build faillure without log. I think I just don’t have the right commands. In the section Build & deploy :
Annotation%202019-09-08%20182059
It works fine in local with the command : mvn spring-boot:run
Thank you in advance.

Hi @EspritNobel - welcome to the netlify forums.

Can you tell me a bit more about what you are trying to do here? Are you using maven just to run tasks or are you looking to deploy and run a server?

If it is the former, we can troubleshoot with you, if it is the latter, we are unable to help, as you can’t run servers on Netlify. This will explain!

Hi @perry, indeed I’m trying to deploy and run a server. So it’s impossible!
It solved my issue :woozy_face:
Thank you very much for your answer.

PS: it is definitively not obvious than Netlify can’t deploy a server and I guess it’s the reason why there so much questions of this kind.

Thanks for your feedback @EspritNobel - can you tell us how you first learned about Netlify, which things you read before trying to deploy? - I am wondering if we can make this more obvious somewhere?? Thanks for your help.