3
votes

I have a issue running JHipster. I have a working application that runs fine with the embedded tomcat server. But when I deploy the the war file after mvn -Pprod to an external tomcat server, the home url shows the following error. I don't have made any explicit changes for html5 etc.

Your request cannot be processed
Sorry, an error has occurred.

Status: Not Found (Not Found)
Message: No message available

My main doubt is, how do I debug this scenario? I cannot see any stack trace in the console or server log. I am accessing the url: For my war : Project1-0.0.1-SNAPSHOT.war

I am accessing the following url (in the external server) :

http://localhost:8080/Project1-0.0.1-SNAPSHOT/

1

1 Answers

1
votes

as specified in the documentation when you are deploying to a container, you should deploy the Project1-0.0.1-SNAPSHOT.war.original file to the container, i.e. remove the suffix .original from Project1-0.0.1-SNAPSHOT.war.original file and deploy it to your container. As debug option start watching the log of your container to see that the deployment was good and then you can have a look at the exploded war to check if all the files that you are expecting have been included into your war.