5

我正在尝试从本地主机上的某个服务器导入项目。

我更喜欢在 NetBeans 中导入它,但 Eclipse 也可以。我现在在 NetBeans 中设置了 Tomcat 服务器。然后我尝试使用现有源创建新的 Java Web 项目,然后通过向导,当我应该选择网页文件夹时,Web-inf 内容显示:“网页文件夹与项目文件夹重叠。”

但我不确定我应该在那里进行什么样的设置。如果您可能有一些建议或视频教程,那就太棒了..

谢谢!

4

2 回答 2

7

A common error that may arise at the final stage is of the project creation is --

"Web Pages folder overlaps Project folder."

To solve this issue, use the following simple steps.

  • Inside the project folder, create a folder called web.

  • Move the sources and the WEB-INF file into the web directory. You are good to go! When you create the project now from the existing sources, the process will be seamless!

于 2015-02-15T18:25:12.100 回答
0

可以直接通过eclipse导入,有导入某个项目的选项,不要新建项目

于 2013-03-05T14:40:53.603 回答