Uploaded image for project: 'NetBeans'
  1. NetBeans
  2. NETBEANS-5585

Cannot create Maven web project with EE 5

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Major
    • Resolution: Unresolved
    • 12.3
    • None
    • projects - Maven
    • None

    Description

      Steps to reproduce:

      New Project > [Java with Maven][Web Application] > Next

      Choose a name then > Next

      Select [Java EE 5] then > Finish

      An exception is thrown and the project is not created.

      Stack trace:

      java.lang.IllegalStateException: No archetype defined for profile 1.5 in class org.netbeans.modules.maven.j2ee.ui.wizard.archetype.J2eeArchetypeFactory$WebArchetypes; check whether all possible <Profile, Archetype> pairs have been addedjava.lang.IllegalStateException: No archetype defined for profile 1.5 in class org.netbeans.modules.maven.j2ee.ui.wizard.archetype.J2eeArchetypeFactory$WebArchetypes; check whether all possible <Profile, Archetype> pairs have been added at org.netbeans.modules.maven.j2ee.ui.wizard.archetype.BaseJ2eeArchetypeProvider.getArchetypeFor(BaseJ2eeArchetypeProvider.java:128) at org.netbeans.modules.maven.j2ee.ui.wizard.archetype.J2eeArchetypeFactory.findArchetypeFor(J2eeArchetypeFactory.java:79) at org.netbeans.modules.maven.j2ee.ui.wizard.EEWizardIterator.instantiate(EEWizardIterator.java:102) at org.openide.loaders.TemplateWizard$InstantiatingIteratorBridge.instantiate(TemplateWizard.java:1050) at org.openide.loaders.TemplateWizard.handleInstantiate(TemplateWizard.java:602) at org.netbeans.modules.project.ui.NewProjectWizard.handleInstantiate(NewProjectWizard.java:51) at org.openide.loaders.TemplateWizard.instantiateNewObjects(TemplateWizard.java:436) at org.openide.loaders.TemplateWizardIterImpl.instantiate(TemplateWizardIterImpl.java:223) at org.openide.loaders.TemplateWizardIteratorWrapper.instantiate(TemplateWizardIteratorWrapper.java:135) at org.openide.WizardDescriptor.callInstantiateOpen(WizardDescriptor.java:1605) at org.openide.WizardDescriptor.callInstantiate(WizardDescriptor.java:1546) at org.openide.WizardDescriptor.access$2300(WizardDescriptor.java:67)[catch] at org.openide.WizardDescriptor$Listener$2$1.run(WizardDescriptor.java:2233) at org.openide.util.RequestProcessor$Task.run(RequestProcessor.java:1418) at org.netbeans.modules.openide.util.GlobalLookup.execute(GlobalLookup.java:45) at org.openide.util.lookup.Lookups.executeWith(Lookups.java:278) at org.openide.util.RequestProcessor$Processor.run(RequestProcessor.java:2033)

      Attachments

        Activity

          People

            Unassigned Unassigned
            NicolaIsotta Nicola Isotta
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated: