一、项目上右键点击选择properties Convert to faceted form 二、选中Dynamic Web Module 如果需要修改项目默认的WebContent为WebRoot则点击下侧的Further configuration available修改即可