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.
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.
30 seconds to difuse a loaf of bread ... here, use this tiny ad:
SKIP - a book about connecting industrious people with elderly land owners