MauroBelardi opened a new issue, #5772:
URL: https://github.com/apache/netbeans/issues/5772
### Apache NetBeans version
Apache NetBeans 17
### What happened
Creating a new Java Maven Enterprise Project, I obtain:
Error executing Maven.
com.google.inject.ProvisionException: Unable to provision, see the following
errors:
1) Error injecting: public void
org.apache.maven.eventspy.internal.EventSpyDispatcher.setEventSpies(java.util.List)
at ClassRealm[maven.ext, parent: ClassRealm[plexus.core, parent: null]]
(via modules: org.eclipse.sisu.wire.WireModule ->
org.eclipse.sisu.plexus.PlexusBindingModule)
while locating org.apache.maven.eventspy.internal.EventSpyDispatcher
1 error
role: org.apache.maven.eventspy.internal.EventSpyDispatcher
roleHint:
Caused by: Unable to provision, see the following errors:
1) Error injecting: public void
org.apache.maven.eventspy.internal.EventSpyDispatcher.setEventSpies(java.util.List)
at ClassRealm[maven.ext, parent: ClassRealm[plexus.core, parent: null]]
(via modules: org.eclipse.sisu.wire.WireModule ->
org.eclipse.sisu.plexus.PlexusBindingModule)
while locating org.apache.maven.eventspy.internal.EventSpyDispatcher
1 error
Caused by: Unable to provision, see the following errors:
1) Error in custom provider, java.lang.TypeNotPresentException: Type
org.netbeans.modules.maven.event.NbEventSpy not present
at ClassRealm[maven.ext, parent: ClassRealm[plexus.core, parent: null]]
(via modules: org.eclipse.sisu.wire.WireModule ->
org.eclipse.sisu.plexus.PlexusBindingModule)
while locating org.apache.maven.eventspy.EventSpy annotated with
@com.google.inject.name.Named(value=ide)
1 error
Caused by: Type org.netbeans.modules.maven.event.NbEventSpy not present
Caused by: org/netbeans/modules/maven/event/NbEventSpy : Unsupported
major.minor version 52.0
### How to reproduce
Try to create a new Maven project "mavenproject1" from NetBeans 17 GUI: File
> New Project... > Java with Maven > Enterprise Application > NEXT > GlassFish
Server (v. 7.0.3) + Jakarta EE 10 + default (Create EJB Module, Create Web App
Module, mavenproject1-ear > Finish
### Did this work correctly in an earlier version?
No / Don't know
### Operating System
Windows 10 Pro, v. 22H2, build 19045.2728, Windows Feature Experience Pack
120.2212.4190.0
### JDK
JDK 17
### Apache NetBeans packaging
Apache NetBeans provided installer
### Anything else
Installer: Codelerity / Gj IT packages
(https://www.codelerity.com/netbeans/), Windows (x86_64),
https://github.com/codelerity/netbeans-installers/releases/download/v17-build1/Apache-NetBeans-17.exe
### Are you willing to submit a pull request?
No
--
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: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]
For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists