Springboot应用程序无法在VPS中打开

时间:2018-06-11 11:21:55

标签: java rest api spring-boot vps

我正在写一个SprinbBoot Rest Api,目前这个应用程序在localhost:8080/users工作并提供用户列表 - 一切正常。

但是我很多天都在尝试在我的VPS上部署它。

所以我将.war文件作为/var/lib/tomcat7/webapps文件上传到ROOT.war

但它不起作用,当我转到http://IP_MY_VPS:8080/users时,我收到了HTTP Status 404 - /users

如果您想了解更多信息请在评论中说明。

怎么会错?我还应该做些什么?每个提示都会很好。

0 个答案:

没有答案