javaspringeclipsewebeclipse-jee

WebContent folder does not exist, webapp instead


I'm taking the following course right now: "Develop websites with Java EE". I encounter a problem when creating the Dynamic Web Project because instead of having a WebContent folder like on all the tutorials I've seen, I get a src/main folder... What should I do to be able to have a WebContent folder


Solution

  • The Eclipse for some reason replaced WebContent with webapp folder. It is basically a replacement for it, but if you really want WebContent you can download 2017 version. Here is the one that I have Eclipse Java EE IDE for Web Developers.

    Version: Oxygen.1a Release (4.7.1a) Build id: 20171005-1200

    https://www.eclipse.org/downloads/packages/release/oxygen/1a

    https://www.eclipse.org/downloads/download.php?file=/technology/epp/downloads/release/oxygen/1a/eclipse-jee-oxygen-1a-win32-x86_64.zip

    After this version WebContent is replaced with webapp

    Here is also a picture of the project structure if you have an eclipse that creates webapp or WebContent, as you can see it is basically a replacement to make it look more like maven structure.

    enter image description here