eBayClassifiedsGroup / PanteraS

PanteraS - PaaS - Platform as a Service in a box
GNU General Public License v2.0
199 stars 61 forks source link

How to run spring boot on panteras #235

Closed kopax closed 7 years ago

kopax commented 7 years ago

I have created a spring boot application that I need to run on Marathon.

I have the following error :

Whitelabel Error Page

This application has no explicit mapping for /error, so you are seeing this as a fallback.

Mon Dec 05 12:54:59 GMT 2016
There was an unexpected error (type=Not Found, status=404).
/WEB-INF/views/login.jsp

This only happen when I deploy using marathon, it work fine when I use docker-compose. I wonder where I should patch this, I am using HAproxy but I haven't wrote any HAproxy env tags.

sielaq commented 7 years ago

can you show me how do you start with docker-compose and how do you start with marathon (json / yaml) ?

kopax commented 7 years ago

Closing this since I didn't knew I needed a war instead of a jar for that. I always wondered what was the war for. Its also outside of Panteras scope but just java. Sorry for posting so fast.