How to create Web Application in Apache Netbeans 10?
Asked Answered
H

2

6

Just I've downloaded Netbeans 10. While creating new project, I'm not getting option 'Web Application'.

How to do it? Is there GUI design builder for web applications in Apache Netbeans 10?

Hargis answered 7/1, 2019 at 18:24 Comment(0)
W
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).
Werth answered 8/1, 2019 at 8:35 Comment(6)
Warning - could not install some modules: Nashorn Integration - No module providing the capability com.oracle.js.parser.implementation could be found. 15 further modules could not be installed due to the above problems. [ Disable Modules and Continue ] [ Exit ]Elison
@अक्षयपरूळेकर I have no idea about that, although someone else has raised a bug report for it on NetBeans: NETBEANS-1806. If it is still a problem you could create a new question, but I don't think it is related to the issue you raised above.Werth
I got that issue too 'Warning - could not install...'Downhill
Finally I returned back to Netbeans 8.0.1 for Web ProjectsElison
@अक्षयपरूळेकर [1] That's a shame. I think you might at least try regressing to NetBeans 8.2 instead of NetBeans 8.0.1, since it will contain many bug fixes from earlier releases of NetBeans 8.x, and will be more stable. [2] Another approach you could try is to download and install Apache NetBeans 11.0 instead of Apache NetBeans 10.0. [3] Note that you can safely install and use different major versions of NetBeans concurrently, such as NetBeans 8.x and NetBeans 11.0.Werth
@Werth Netbeans 8.2 had problem of starting Tomcat Server. I tried a lot to solve it. I reinstalled it but problem didn't solved. Even I tried different versions of tomcat... but still didn't worked! That's why finally I did have to install Netbeans 8.0.1 and Tomcat started successfully.Elison
R
6

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

Riki answered 1/3, 2019 at 10:52 Comment(0)

© 2022 - 2024 — McMap. All rights reserved.