关于MyEclipse中web创建后,在web-inf中没有发现web.xml文件

第一种解决方案:

如果你认为自己勤劳的话,可以手动添加。嘿嘿。

第二种解决方案:

  1. 右键自己创建的pro(web项目)
  2. 在选项卡中选择java ee tools
  3. Generate web.xml deployment descriptor 选上

这样问题就完美解决了!

                                

猜你喜欢

转载自blog.csdn.net/Qve1995/article/details/83577434