nikos
nikos

Reputation: 3003

Can't create Java Web Application in NetBeans

I want to write a java web application using NetBeans 7.0.1, but i can't find the option Java Web in File -> New Project. Do i need to get any special Java edition to do that?

Upvotes: 21

Views: 97988

Answers (7)

Paul
Paul

Reputation: 20061

  1. Go to the Tools menu and select Plugins.
  2. Click on the "Available Plugins" tab.
  3. Check the box for "Java EE Base" (note: on older NetBeans versions, the plugin to install was called "Java Web Applications").
  4. Click the "Install" button.
  5. Click your way through the dialogs until the plugin and its dependencies are installed.
  6. Restart the IDE.

You should now find "Java Web" in File -> New Project.

Upvotes: 41

TechnoCrat
TechnoCrat

Reputation: 708

In my case Above mentioned thing didn't worked for me.

I have installed multiple JDK (JDK version 8 and 9) due to which Netbeans 8.2 might not working as expected and then I was unable to create project.

Then I removed JDK9 and cleared cache from \Users\admin\AppData in windows.

Then I was able to create Java Project.

Upvotes: 0

ayushgp
ayushgp

Reputation: 5091

If you have NetBeans 8.2+ and installed the EE edition, open the plugin panel from Tools -> Plugins. Go to the installed tab and check the Java EE Base plugin. Then activate that plugin.

If you need other options as well the select all the plugins under the Web and Java EE category and activate them.

Upvotes: 0

123iamking
123iamking

Reputation: 2703

My answer will provide images for you to understand easily.

Go to Tools -> Plugins like this image

Plugins

In Plugins windows, select Available Plugins tab, choose and install Java EE Base like this image JavaEEBase

Now just follow the instruction and install the plugin, when it's done, restart the Netbeans, then you can create Java Web Application like this image Create web

Upvotes: 18

Nabin
Nabin

Reputation: 11776

I had problems while finding the plugins under the Available plugins tab. The reason was under the settings tab, the three checkboxes were unchecked. I checked them all and then I can see the plugins under the Available plugins Tab.

And then I followed the steps mentioned in other answers. Hope this is also useful to this context.

Upvotes: 7

kangaswad
kangaswad

Reputation: 775

  1. Go to the Tools menu and select Plugins.
  2. Click on the "Available Plugins" tab.
  3. Check the box for "Java EE Base".
  4. Click the "Install" button.
  5. Select "Web Projects" from plugin list
  6. Check the term & condition checkbox
  7. Click next and wait while NetBeans downloading the plugin
  8. Restart IDE

Upvotes: 31

Eduardo_Arias
Eduardo_Arias

Reputation: 61

Well, maybe you cant find Java Web in the installation list, so, search for Java EE Base, in Netbeans 7.x is the option, and includes the comment that includes Java Web and EE.

regards

Upvotes: 6

Related Questions