You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@netbeans.apache.org by "Nicola Isotta (Jira)" <ji...@apache.org> on 2022/03/02 09:06:00 UTC

[jira] [Commented] (NETBEANS-5585) Cannot create Maven web project with EE 5

    [ https://issues.apache.org/jira/browse/NETBEANS-5585?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17499993#comment-17499993 ] 

Nicola Isotta commented on NETBEANS-5585:
-----------------------------------------

Moved to GitHub: https://github.com/apache/netbeans/issues/3681

> Cannot create Maven web project with EE 5
> -----------------------------------------
>
>                 Key: NETBEANS-5585
>                 URL: https://issues.apache.org/jira/browse/NETBEANS-5585
>             Project: NetBeans
>          Issue Type: Bug
>          Components: projects - Maven
>    Affects Versions: 12.3
>            Reporter: Nicola Isotta
>            Priority: Major
>
> 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)}}



--
This message was sent by Atlassian Jira
(v8.20.1#820001)

---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@netbeans.apache.org
For additional commands, e-mail: commits-help@netbeans.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists