jaxio / celerio-angular-quickstart

Generate an Angular 5 CRUD application from an existing database schema (we provide a sample one)
Apache License 2.0
481 stars 138 forks source link

Export .war issue #44

Closed denizque closed 7 years ago

denizque commented 7 years ago

When I export the generated app as .jar and run it, it works fine. If I edit the pom file and change packaging to war:

<packaging>war</packaging>

Then when I deploy the generated .war to the webserver it does't work. Is there another setting which I'm missing?

nromanetti commented 7 years ago

Thanks for the feedback on jar... I am glad it works.

To answer your question, we target jar application, not war... it won't work out of the box like that... currently we do not support it.

denizque commented 7 years ago

Thanks for your reply. I see. Basically that's the idea behind SpringBoot. The expectation (habit) immediately comes for ".war" file but SpringBoot has gone way more and simplified things :) Therefore you're right, war support is not even needed.

For others who might be unaware of this issue (as I was) I'm providing the reference for clarification;

https://spring.io/blog/2014/03/07/deploying-spring-boot-applications