How to create Web Application in Apache Netbeans 10?

Unlike some earlier NetBeans releases such as 8.2, Apache NetBeans 10.0 does not support web development by default, and that is why you do not see an option for Java Web under the Categories listed within the Project Wizard. See What's Happened to My Favorite NetBeans Plugins? for additional background information.

However, web development can still be performed using Apache NetBeans 10.0. You just need to install some plugins first:

  • Go to Tools > Plugins and select the Available Plugins tab.
  • Ensure that the entries are sorted in ascending Category order. Click the Category column header to do that if necessary.
  • Scroll down and locate the entries for the Category named Java Web and EE.
  • Under the Install column check all of those entries:

    installPlugins

  • Click the Install button to install those checked Java Web and EE plugins.

  • Follow the instruction for the Installer wizard. The requested plugins will be downloaded and installed, and you will be invited to click Finish to restart NetBeans.
  • After the restart select File > New Project.... There should be new entries in the Categories list named Java Web and Java EE, allowing you to create web and EE applications:

    installPlugins2

Troubleshooting:

  • If there are no entries for Java Web and EE on the Available Plugins tab then update your question with a screen shot of Tools > Plugins > Settings.
  • If the plugins appear to install correctly but Java Web and Java EE are still not available under the Project Wizard after a restart then update your question with:
    • A screen shot of Tools > Plugins > Installed, with the User Installed Plugins entry selected.
    • The recent content of the NetBeans log (View > IDE Log).

If you're not seeing the Java Web and EE categories, you need to go into Settings and make sure Netbeans 8.2 Plugin Portal is checked like in the image below.

Enable Netbeans 8.2 Plugin Portal