Tag: 服务器

部署java web应用程序.war文件后未find404

我使用Spring框架在java中编写了一个Web应用程序。 测试并部署到远程Tomcat服务器。 部署后,我有消息OK – Started application at context path [/proxynator] 。 但是,如果我使用链接像http://109.206.178.66:8080/proxynator/和http://109.206.178.66:8080/proxynator/proxynator/test我有404 – Not Found和Description: The origin server did not find a current representation for the target resource or is not willing to disclose that one exists. 在应用程序中,我有起动器类 @SpringBootApplication public class Application { public static void main(String[] args) { SpringApplication.run(Application.class, args); } } 和控制器 @RestController […]