• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Tim Cooke
  • Campbell Ritchie
  • Paul Clapham
  • Ron McLeod
  • Liutauras Vilda
Sheriffs:
  • Jeanne Boyarsky
  • Rob Spoor
  • Bear Bibeault
Saloon Keepers:
  • Jesse Silverman
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
Bartenders:
  • Piet Souris
  • Al Hobbs
  • salvin francis

Java SE and Java EE categories have disappeared from the New Project dialog box; how to get them?

 
Ranch Hand
Posts: 203
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
After creating a project using mavan-archetype-webapp category
Java SE and Java EE categories have vanished from Netbeans new project
dialog box. How to get Java SE and Java EE categories back into the
new project dialog box. Screenshot attached.

Please Note : When creating the project the tutorial at https://blog.payara.fish/adding-payara-server-to-netbeans was followed.
NetbeansErr.png
[Thumbnail for NetbeansErr.png]
screenshot of New Project dialog box
 
Bartender
Posts: 566
14
IntelliJ IDE Spring Fedora
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
You don't want to use maven?
 
Saloon Keeper
Posts: 13398
298
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
It's because Apache NetBeans 9.0 and later by default don't support JEE project types. First you have to register the NetBeans 8.2 plugin portal, and then you have to install the "EJB and EAR" plugin.

Go to "Tools" -> "Plugins" -> "Settings". Add a new Update Center by clicking "Add". Enter "NetBeans 8.2 Plugin Portal" for the name, and "http://updates.netbeans.org/netbeans/updates/8.2/uc/final/distribution/catalog.xml.gz" for the URL.

Go to the "Available Plugins" tab and check the "EJB and EAR" plugin. Click "Install" and let it install the plugin and all dependency plugins. After restarting your IDE, you should have the project types you are looking for.


I see you're using NetBeans 12. They moved the categories around. You can ignore what I said above, and find your project types under "Java with Ant". But you really should prefer "Java with Maven" projects.
 
You showed up just in time for the waffles! And this tiny ad:
Building a Better World in your Backyard by Paul Wheaton and Shawn Klassen-Koop
https://coderanch.com/wiki/718759/books/Building-World-Backyard-Paul-Wheaton
reply
    Bookmark Topic Watch Topic
  • New Topic