How to deploy to Tomcat from NetBeans?

前端 未结 9 984
渐次进展
渐次进展 2021-02-08 14:51

I\'ve added Tomcat in the \"Tools > Servers\" menu and as you can see it appears in the list of servers:

But when I try to run my project, I cannot select Tomcat! The dr

9条回答
  •  挽巷
    挽巷 (楼主)
    2021-02-08 15:38

    Go into your web.xml and replace the header with:

    
    

    Go back to properties and you will be able to pick Tomcat

提交回复
热议问题