maven项目中WEB-INF的父目录必须叫webapp吗?

这个并不是必须的,可以在pom配置文件中修改,如下所示:

<webappDirectory>src/main/WebContent</webappDirectory>  
                <warSourceDirectory>src/main/WebContent</warSourceDirectory>  

猜你喜欢

转载自www.cnblogs.com/doudou-taste/p/9120564.html