在tomcat安装目录中有一个conf文件夹,打开此文件夹,其中包含配置文件server.xml,打开配置文件,并在<host>和</host>之间插入如下语句。 <Context crossContext="true" debug="0" docBase="C:\workspace\OAuthService\WebRoot" path="/OAuthService" reloadable="true"/>
58,454
社区成员
49,449
社区内容
加载中
试试用AI创作助手写篇文章吧