I have developed a java webservice application that I have been running on my dev-computer and in the meanwhile been setting up a dedicated ubuntu based linux server. I have installed oracle-jre, mysql and apache tomcat 7 on this linux server and after reading documentation I understand that I can either copy the deployed project archive (.WAR) or I can simply copy the project folder, into the servers /webapps/ folder from my development computer. Then restart tomcat7 and it should automatically run the webapp.
On my dev-computer with Eclipse IDE the webservice works properly as expected, but I cannot access the POST URL methods at all on the server
eg localhost:8080/Webservice/rest/account/login
(The installation on the server seems to be OK as the Apache examples all work properly.)
A lot of questions there, but I wanted to clarify as much as possible,
Cheers,
Oliver
我通过重新安装tomcat解决了此问题。
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.