简体   繁体   English

Eclipse 动态 Web 项目结构

[英]Eclipse Dynamic Web Project structure

I'm working from Eclipse to generate my first Dynamic Web Project, but when I create it this structure appears to me:我正在从 Eclipse 生成我的第一个动态 Web 项目,但是当我创建它时,这个结构出现在我身上:

1

instead in all the tutorials that I have seen this type of structure appears:相反,在我见过的所有教程中都出现了这种结构:

2

Why does it do this, is it a problem?为什么会这样,有问题吗? How can this be solved?如何解决? Thanks谢谢

It's not a real problem.这不是一个真正的问题。 The defaults in the Dynamic Web Project wizard changed .动态 Web 项目向导中的默认值已更改 You can still enter WebContent into the Content directory field of the Web Module wizard page if you want the old behavior.如果您想要旧的行为,您仍然可以将WebContent输入到Web 模块向导页面的内容目录字段中。

图片来自 New and Noteworthy

This structuring issue will be resolved in the later version of eclipse.Example: In Eclipse 2018 or later versions此结构化问题将在 eclipse 的更高版本中解决。示例:在 Eclipse 2018 或更高版本中

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM