idea配置Tomcat的context.xml
2018-01-16,本文 154 字,阅读全文约需 1 分钟
-
打开当前项目的Project Structure
-
打开Project Settings里面的Facets
-
在Web里面点击Add Application Server specific descriptor
-
选择tomcat
-
apply这个新增
-
左下角打开Web窗口
-
里面的context.xml就可以配置上我们需要的数据源
-
大功告成