java.lang.RuntimeException

org.apache.maven.plugin.PluginExecutionException: Execution default-bundle of goal org.apache.felix:maven-bundle-plugin:3.2.0:bundle failed: Unable to load the mojo 'bundle' (or one of its required components) from the plugin 'org.apache.felix:maven-bundle-plugin:3.2.0'

Samebug tips0

We couldn't find tips for this exception.

Don't give up yet. Paste your full stack trace to get a solution.

Solutions on the web23

  • via GitHub by ahoehma
    ,
  • Stack trace

    • java.lang.RuntimeException: org.apache.maven.plugin.PluginExecutionException: Execution default-bundle of goal org.apache.felix:maven-bundle-plugin:3.2.0:bundle failed: Unable to load the mojo 'bundle' (or one of its required components) from the plugin 'org.apache.felix:maven-bundle-plugin:3.2.0' at org.everit.osgi.dev.e4.plugin.m2e.packaging.ProjectPackager.checkExecutionResultExceptions(ProjectPackager.java:94) at org.everit.osgi.dev.e4.plugin.m2e.packaging.ProjectPackager.lambda$4(ProjectPackager.java:303) at org.everit.osgi.dev.e4.plugin.m2e.M2EUtil.executeWithMutableProjectState(M2EUtil.java:117) at org.everit.osgi.dev.e4.plugin.m2e.packaging.ProjectPackager.lambda$3(ProjectPackager.java:298) at org.everit.osgi.dev.e4.plugin.m2e.M2EUtil.lambda$0(M2EUtil.java:96) at org.eclipse.m2e.core.internal.embedder.MavenExecutionContext.executeBare(MavenExecutionContext.java:176) at org.eclipse.m2e.core.internal.embedder.MavenExecutionContext.execute(MavenExecutionContext.java:151) at org.everit.osgi.dev.e4.plugin.m2e.M2EUtil.executeInContext(M2EUtil.java:84) at org.everit.osgi.dev.e4.plugin.m2e.packaging.ProjectPackager.packageProject(ProjectPackager.java:287) at org.everit.osgi.dev.e4.plugin.EOSGiProject.packDependencies(EOSGiProject.java:419) at org.everit.osgi.dev.e4.plugin.EOSGiProject.atomicDist(EOSGiProject.java:190) at org.everit.osgi.dev.e4.plugin.EOSGiProject.lambda$6(EOSGiProject.java:327) at org.eclipse.core.internal.resources.Workspace.run(Workspace.java:2240) at org.eclipse.core.internal.resources.Workspace.run(Workspace.java:2262) at org.everit.osgi.dev.e4.plugin.EOSGiProject.dist(EOSGiProject.java:325) at org.everit.osgi.dev.e4.plugin.ui.command.DistCommandHandler.lambda$0(DistCommandHandler.java:34) at org.eclipse.core.runtime.jobs.Job$2.run(Job.java:186) at org.eclipse.core.internal.jobs.Worker.run(Worker.java:55) Caused by: org.apache.maven.plugin.PluginExecutionException: Execution default-bundle of goal org.apache.felix:maven-bundle-plugin:3.2.0:bundle failed: Unable to load the mojo 'bundle' (or one of its required components) from the plugin 'org.apache.felix:maven-bundle-plugin:3.2.0' at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:153) at org.eclipse.m2e.core.internal.embedder.MavenImpl.execute(MavenImpl.java:331) at org.eclipse.m2e.core.internal.embedder.MavenImpl$11.call(MavenImpl.java:1362) at org.eclipse.m2e.core.internal.embedder.MavenImpl$11.call(MavenImpl.java:1) at org.eclipse.m2e.core.internal.embedder.MavenExecutionContext.executeBare(MavenExecutionContext.java:176) at org.eclipse.m2e.core.internal.embedder.MavenExecutionContext.execute(MavenExecutionContext.java:112) at org.eclipse.m2e.core.internal.embedder.MavenImpl.execute(MavenImpl.java:1360) at org.everit.osgi.dev.e4.plugin.m2e.packaging.ProjectPackager.lambda$4(ProjectPackager.java:301) ... 16 more Caused by: org.apache.maven.plugin.PluginContainerException: Unable to load the mojo 'bundle' (or one of its required components) from the plugin 'org.apache.felix:maven-bundle-plugin:3.2.0' at org.apache.maven.plugin.internal.DefaultMavenPluginManager.getConfiguredMojo(DefaultMavenPluginManager.java:551) at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:121) ... 23 more Caused by: org.codehaus.plexus.component.repository.exception.ComponentLookupException: java.util.NoSuchElementException role: org.apache.maven.plugin.Mojo roleHint: org.apache.felix:maven-bundle-plugin:3.2.0:bundle at org.codehaus.plexus.DefaultPlexusContainer.lookup(DefaultPlexusContainer.java:267) at org.codehaus.plexus.DefaultPlexusContainer.lookup(DefaultPlexusContainer.java:255) at org.apache.maven.plugin.internal.DefaultMavenPluginManager.getConfiguredMojo(DefaultMavenPluginManager.java:517) ... 24 more Caused by: java.util.NoSuchElementException at org.eclipse.sisu.plexus.RealmFilteredBeans$FilteredItr.next(RealmFilteredBeans.java:118) at org.eclipse.sisu.plexus.RealmFilteredBeans$FilteredItr.next(RealmFilteredBeans.java:1) at org.eclipse.sisu.plexus.DefaultPlexusBeans$Itr.next(DefaultPlexusBeans.java:76) at org.eclipse.sisu.plexus.DefaultPlexusBeans$Itr.next(DefaultPlexusBeans.java:1) at org.codehaus.plexus.DefaultPlexusContainer.lookup(DefaultPlexusContainer.java:263) ... 26 more

    Write tip

    You have a different solution? A short tip here would help you and many other users who saw this issue last week.

    Users with the same issue

    Unknown visitor
    Unknown visitorOnce,
    Unknown visitor
    Unknown visitor2 times, last one
    Unknown visitor
    Unknown visitorOnce,
    Unknown visitor
    Unknown visitorOnce,
    Unknown visitor
    Unknown visitorOnce,