You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@netbeans.apache.org by GitBox <gi...@apache.org> on 2022/09/09 16:24:14 UTC

[GitHub] [netbeans] richard-grin opened a new issue, #4605: Impossible to create a Maven Web application for Jakarta EE 9.1

richard-grin opened a new issue, #4605:
URL: https://github.com/apache/netbeans/issues/4605

   ### Apache NetBeans version
   
   Apache NetBeans 15 release candidate
   
   ### What happened
   
   Windows 11
   NetBeans 15
   Impossible to create a Java with Maven - Web Application, Server GlassFish Server 6.2.5, Jakarta EE 9.1
   Menu File > New Project > Java with Maven > Web Application.
   
   Server: GlassFish Server 6.2.5
   Java EE Version: Jakarta EE 9.1 Web.
   
   Click on Finish.
   
   In the Notifications Zone, an "Unexpected Exception" appears. The error message:
   
   java.lang.IllegalStateException: **No archetype defined for profile 9.1-web 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:135)
       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 ...
       ... 
   
   ### How to reproduce
   
   Launch NetBeans 15.
   Menu File > New Project > Java with Maven > Web Application.
   Server: GlassFish Server 6.2.5
   Java EE Version: Jakarta EE 9.1 Web.
   Click on Finish.
   
   In the Notifications Zone, an "Unexpected Exception" appears. The error message:
   
   java.lang.IllegalStateException: No archetype defined for profile **9.1-web** 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:135)
       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 ...
       ... 
   
   ### Did this work correctly in an earlier version?
   
   Apache NetBeans 13
   
   ### Operating System
   
   Windows 11
   
   ### JDK
   
   Java: 17; OpenJDK 64-Bit Server VM 17+35-2724 
   
   ### Apache NetBeans packaging
   
   Apache NetBeans provided installer
   
   ### Anything else
   
   Every time.
   The creation of a Maven Web Application for Jakarta EE 8 worked in NetBeans 13. I didn't try NetBeans 14.
   
   Afterwards, it is not possible to create a new project, of any type (even a simple Java project with Maven). I must restart NetBeans to be able to create a simple Java project with Maven.
   
   ### Are you willing to submit a pull request?
   
   No
   
   ### Code of Conduct
   
   Yes


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@netbeans.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


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

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


[GitHub] [netbeans] geertjanw commented on issue #4605: Impossible to create a Maven Web application for Jakarta EE 9.1

Posted by GitBox <gi...@apache.org>.
geertjanw commented on issue #4605:
URL: https://github.com/apache/netbeans/issues/4605#issuecomment-1242900425

   Probably 9.1 isn't supported yet, can you verify @juneau001 ?


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@netbeans.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


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

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


[GitHub] [netbeans] richard-grin commented on issue #4605: Impossible to create a Maven Web application for Jakarta EE 9.1

Posted by GitBox <gi...@apache.org>.
richard-grin commented on issue #4605:
URL: https://github.com/apache/netbeans/issues/4605#issuecomment-1341120640

   Hello,
   
   I have tried an RC version of NetBeans 16 and it works. Unfortunately, 
   the wizards to help the developers have some problems because of the new 
   package names ("jakarta" instead of "javax")., but it is often (not 
   always) easy to fix the problems by changing the package names.
   
   Richard
   
   Le 07/12/2022 à 15:50, ronan-crcdc a écrit :
   >
   > Same issue with fresh install of Netbeans 15
   >
   > —
   > Reply to this email directly, view it on GitHub 
   > <https://github.com/apache/netbeans/issues/4605#issuecomment-1341078327>, 
   > or unsubscribe 
   > <https://github.com/notifications/unsubscribe-auth/AAYFS72C5E26QEX7F2HFBXLWMCPZ7ANCNFSM6AAAAAAQI2LXSA>.
   > You are receiving this because you authored the thread.Message ID: 
   > ***@***.***>
   >


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@netbeans.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


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

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


[GitHub] [netbeans] HamiltonNCIrl commented on issue #4605: Impossible to create a Maven Web application for Jakarta EE 9.1

Posted by GitBox <gi...@apache.org>.
HamiltonNCIrl commented on issue #4605:
URL: https://github.com/apache/netbeans/issues/4605#issuecomment-1284007202

   Could you possibly provide instructions on how to apply this update, please? I'm lost here. Thanks.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@netbeans.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


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

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


[GitHub] [netbeans] ronan-crcdc commented on issue #4605: Impossible to create a Maven Web application for Jakarta EE 9.1

Posted by GitBox <gi...@apache.org>.
ronan-crcdc commented on issue #4605:
URL: https://github.com/apache/netbeans/issues/4605#issuecomment-1341078327

   Same issue with fresh install of Netbeans 15


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@netbeans.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


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

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


[GitHub] [netbeans] juneau001 commented on issue #4605: Impossible to create a Maven Web application for Jakarta EE 9.1

Posted by GitBox <gi...@apache.org>.
juneau001 commented on issue #4605:
URL: https://github.com/apache/netbeans/issues/4605#issuecomment-1242960394

   I have confirmed that it is not working properly.  I looked at the code and it seems like the archetype for 9.1 is not configured properly.  This will require a patch/update to resolve.  CCing @pepness on this issue.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@netbeans.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


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

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


[GitHub] [netbeans] sysmat commented on issue #4605: Impossible to create a Maven Web application for Jakarta EE 9.1

Posted by GitBox <gi...@apache.org>.
sysmat commented on issue #4605:
URL: https://github.com/apache/netbeans/issues/4605#issuecomment-1287674533

   Same here


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@netbeans.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


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

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


[GitHub] [netbeans] pepness closed issue #4605: Impossible to create a Maven Web application for Jakarta EE 9.1

Posted by GitBox <gi...@apache.org>.
pepness closed issue #4605: Impossible to create a Maven Web application for Jakarta EE 9.1
URL: https://github.com/apache/netbeans/issues/4605


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@netbeans.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


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

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


[GitHub] [netbeans] ricardojonathanromero commented on issue #4605: Impossible to create a Maven Web application for Jakarta EE 9.1

Posted by GitBox <gi...@apache.org>.
ricardojonathanromero commented on issue #4605:
URL: https://github.com/apache/netbeans/issues/4605#issuecomment-1242896747

   the same problem here


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@netbeans.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


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

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


[GitHub] [netbeans] Teddy-1024 commented on issue #4605: Impossible to create a Maven Web application for Jakarta EE 9.1

Posted by GitBox <gi...@apache.org>.
Teddy-1024 commented on issue #4605:
URL: https://github.com/apache/netbeans/issues/4605#issuecomment-1336247075

   Same problem here.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@netbeans.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


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

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