eclipse配置tomcat相关设置备忘

xiaoxiao2021-02-28  98

设置项目发布路径,比如项目访问地址不要项目名 web项目–右键–properties 找到Web Project Settings 将Context root中的内容换成 / 这样发布项目的时候访问不需要再加上项目名 eclipse中不用输入项目名称就可以直接访问项目设置运行环境jdk版本,web项目–右键–run as–run configurations

web项目–右键–properties–project facets 设置项目运行配置 project facets参考

设置tomcat运行依赖的jre版本 eclipse–windows–preferences

转载请注明原文地址: https://www.6miu.com/read-53726.html

最新回复(0)