1、項(xiàng)目右鍵找到Open Module Settings,然后配置Modules

F4

配置Paths

配置Dependencies
2、配置Artifacts,選擇Web Application:Exploded

3、配置Output Layout,雙擊右側(cè)complie output


4、添加Driectory Content,選擇工程目錄下的WebContent,完事后OK



5、配置tomcat,右上角



6、配置Deployment


7、點(diǎn)擊運(yùn)行,大功告成。
