- html - 出于某种原因,IE8 对我的 Sass 文件中继承的 html5 CSS 不友好?
- JMeter 在响应断言中使用 span 标签的问题
- html - 在 :hover and :active? 上具有不同效果的 CSS 动画
- html - 相对于居中的 html 内容固定的 CSS 重复背景?
我已经使用 Spring 创建了一个 API。它在本地主机上完美运行。问题是当我将 WAR 文件部署到 Arvixe(包括 tomcat)时。它不会通过欢迎文件。未找到所有其他网址 - “404 未找到”。例如,如果我输入 http://mylocaldomain.com:8080/restapi/listInstitutions/123/213/123在浏览器中它返回以下 JSON 对象:
{"message":"You do not have permission for this domain","error":true,"comment":null,"notifications":null,"users":null,"diagnose":null,"institution":null,"notification":null,"patient":null,"picture":null,"user":null,"comments":null,"diagnoses":null,"institutions":null,"patients":null,"pictures":null}
但是当我对 Arvixe ( http://www.prespetkov.com/RESTapi/listInstitutions/123/123/213 ) 上部署的 API 做同样的事情时,我得到“404 Not Found”
我使用的映射是:
@RequestMapping(value = "/listInstitutions/{appkey}/{uId}/{tokenValue}", method = RequestMethod.GET)
有没有人遇到过同样的问题或熟悉托管服务?
谢谢!
最佳答案
从以下响应来看,他们共享的 tomcat 实例似乎只能与 jsp 一起使用!
http://forum.arvixe.com/smf/general/servlet-deployment/
我觉得这有点荒谬。哪个优秀的开发人员会这样做?
关于spring - Arvixe 网络主机 - Spring MVC 项目找不到网址,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/22713224/
我已经在Arvixe系统上发布了指向MySQL数据库的网站。当我尝试访问该网站时,它工作正常,但不知何故在访问某些页面后,它开始给出错误: Server Error in '/' Applicatio
我有我的实时数据库中存在的所有表单例份验证数据库表的完整副本,我可以看到数据在那里,我可以在我的应用程序上连接和查看单独的数据......但是当我尝试登录时我的网站我得到一个 建立与 SQL Serv
我已经使用 Spring 创建了一个 API。它在本地主机上完美运行。问题是当我将 WAR 文件部署到 Arvixe(包括 tomcat)时。它不会通过欢迎文件。未找到所有其他网址 - “404 未找
关闭。这个问题不符合Stack Overflow guidelines .它目前不接受答案。 想改进这个问题?将问题更新为 on-topic对于堆栈溢出。 5年前关闭。 Improve this qu
我已经尝试过了,但没有成功。对于我的生活,我似乎无法从我的 PHP 文件连接到 arvixe.com 上的 mySQL 数据库。我的数据库的名称是 aerodial_database。表名是“test
我有一个托管在“arvixe”中的 MySQL 数据库(由 cPanel 管理)。我可以通过我的电脑上的“MySQL Workbech”连接到它,所以我认为我正确地创建了它。 我有一个托管在 Clou
我是一名优秀的程序员,十分优秀!