方法一:更改WebRoot为WebContent 方法二:1. 进入项目目录,找到.project文件,打开。 2. 找到<natures>…</natures>代码段 3. 在第2步的代码段中加入如下标……