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

it2022-05-05  124

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

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

转载于:https://www.cnblogs.com/doudou-taste/p/9120564.html


最新回复(0)