aliasad-khowaja/spark-lms

Tomcat deployment and application run

Opened this issue · 4 comments

Hi,
I've created a deployalble war to run webapp in tomcat 8.0. The application starts without problems and I login successful. But when I try to access any menu item I get a 404:

immagine

Is it possible that some configuration on my POM was wrong?

Thank you in advance for your help and for the amazing job you made!

This is the homepage screenshot after login:

immagine

But I think I found the problem:
immagine

It seems that the menu link points to a wrong address. In this case http://localhost:8083/member/list instead of http://localhost:8083/NuvoLibrary/member/list

Do you have any suggestions to get around the problem?

It works great for the app deployed in tomcat. Though this implementation should be applyed to all buttons in html templates too...

Unfortunately it does not work if I start the app as SpringBoot application. If I don't find a common solution (that works in any environment) I will manage two separates projects, for tomcat environments and springboot cloud.

Thank you again
Great work