actions-on-google / smart-home-dashboard

Apache License 2.0
73 stars 27 forks source link

How to run in tomcat #20

Closed shenhuaxiyuan closed 5 years ago

shenhuaxiyuan commented 5 years ago

I build with command "mvn clean package" and get a war file named "dashboard-0.1.0-SNAPSHOT.war" , then deployed in tomcat successfully. But when I go to url "http://localhost:8080/dashboard-0.1.0-SNAPSHOT" in my browser , there is an empty page here !

surjitr commented 5 years ago

Facing the same issue. Getting an empty page. shenhuaxiyuan were you able to get through? any workaround.

mikevlz commented 5 years ago

Tomcat extracts WAR-file. I've copied the extracted structure to the ROOT directory, after that TOMCAT opens it and serves. There some glitches with 404 error, or page refresh.

dmcamens-legrand commented 5 years ago

@Fleker Hi I had the same issue (blank page). I did what @mikevlz suggested (delete the contents of ROOT and replace with the contents of the dashboard-0.1.0-SNAPSHOT folder) and it worked, but I don't think that is a very good permanent solution. Is there some issue with the web app or is it a Tomcat issue or what? It would be nice to have steps in the readme file that cover this case. Thanks!

Fleker commented 5 years ago

I'm unfamiliar with Tomcat, just with the local/app engine setups.