idea中tomcat配置

    xiaoxiao2023-09-26  110

    Run——Edit Configurations——点+号——Tomcat server选local——Configure选择文件——Deployment——点+——external source——在该项目的aritfacts文件下选择 xx.war(如果有的话)没有就在项目右击Add Framework Support(会生成一个artifacts文件)——在刚才的步骤里直接点击fix。

    如果发生端口占用: cmd——netstat -ano——在本地地址查找8080端口——找到其对应的PID号——任务栏右击选中任务管理器——详细信息中找到PID号——结束该任务。

    最新回复(0)