
tomcat
supermouse_
软件工程硕士
展开
-
在 Idea 中配置远程 tomcat 并部署
1. 前言在项目开发过程中,需要访问某公司的接口,由于将我们公司自己服务器的 IP 配置成了发起请求的主机 IP,所以只有在服务器上运行的项目请求那个接口才能请求成功。我们平常开发都是在自己电脑本地的 tomcat 中运行项目,这样显然不能访问该公司的接口,但是如果在本地编译完再部署到服务器上测试就太浪费时间了。所以需要在 Idea 中配置服务器上的tomcat,这样在本地写完代码之后,点击运行...原创 2019-11-01 15:31:32 · 13782 阅读 · 17 评论 -
Tomcat 缓存问题
如果你在启动 web 项目时,tomcat 显示如下错误信息:org.apache.catalina.webresources.Cache.getResource Unable to add the resource at [/base/1325/WA6144-150x112.jpg] to the cache because there was insufficient free space...原创 2019-03-03 11:46:51 · 1624 阅读 · 0 评论