org.apache.maven.lifecycle.LifecycleExecutionException: could not package plugin

geronimo-user | rwengr | 3 years ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    Packaging a CAR file with car-mave-plugin cannot find Reference beans

    geronimo-user | 3 years ago | rwengr
    org.apache.maven.lifecycle.LifecycleExecutionException: could not package plugin
  2. 0

    Packaging a CAR file with car-mave-plugin cannot find Reference beans

    geronimo-user | 3 years ago | rwengr
    org.apache.maven.lifecycle.LifecycleExecutionException: could not package plugin

    Root Cause Analysis

    1. org.apache.geronimo.common.DeploymentException

      No reference named ServerInfo in gbean org.apache.geronimo.plugins/directory/9.0.2/car?ServiceModule=org.apache.geronimo.plugins/directory/9.0.2/car,j2eeType=GBean,name=DirectoryService

      at org.apache.geronimo.deployment.service.SingleGBeanBuilder.buildAbstractNameQuery()
    2. org.apache.geronimo
      GBeanBuilder.build
      1. org.apache.geronimo.deployment.service.SingleGBeanBuilder.buildAbstractNameQuery(SingleGBeanBuilder.java:154)
      2. org.apache.geronimo.deployment.service.SingleGBeanBuilder.setReference(SingleGBeanBuilder.java:129)
      3. org.apache.geronimo.deployment.service.SingleGBeanBuilder.setReference(SingleGBeanBuilder.java:123)
      4. org.apache.geronimo.deployment.service.GBeanBuilder.addGBeanData(GBeanBuilder.java:144)
      5. org.apache.geronimo.deployment.service.GBeanBuilder.build(GBeanBuilder.java:108)
      5 frames
    3. Geronimo :: Deploy :: Common Config
      NamespaceDrivenBuilderCollection.build
      1. org.apache.geronimo.deployment.NamespaceDrivenBuilderCollection.build(NamespaceDrivenBuilderCollection.java:43)
      1 frame
    4. org.apache.geronimo
      ServiceConfigBuilder.buildConfiguration
      1. org.apache.geronimo.deployment.service.ServiceConfigBuilder.buildConfiguration(ServiceConfigBuilder.java:252)
      2. org.apache.geronimo.deployment.service.ServiceConfigBuilder.buildConfiguration(ServiceConfigBuilder.java:211)
      2 frames
    5. Geronimo :: Deploy :: Common Config
      Deployer.deploy
      1. org.apache.geronimo.deployment.Deployer.deploy(Deployer.java:281)
      1 frame
    6. Java RT
      Method.invoke
      1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
      3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      4. java.lang.reflect.Method.invoke(Method.java:597)
      4 frames
    7. Geronimo :: Kernel
      BasicKernel.invoke
      1. org.apache.geronimo.gbean.runtime.ReflectionMethodInvoker.invoke(ReflectionMethodInvoker.java:34)
      2. org.apache.geronimo.gbean.runtime.GBeanOperation.invoke(GBeanOperation.java:131)
      3. org.apache.geronimo.gbean.runtime.GBeanInstance.invoke(GBeanInstance.java:883)
      4. org.apache.geronimo.kernel.basic.BasicKernel.invoke(BasicKernel.java:245)
      4 frames
    8. org.apache.geronimo
      PackageMojo.execute
      1. org.apache.geronimo.mavenplugins.car.PackageMojo.invokeDeployer(PackageMojo.java:525)
      2. org.apache.geronimo.mavenplugins.car.PackageMojo.buildPackage(PackageMojo.java:338)
      3. org.apache.geronimo.mavenplugins.car.PackageMojo.execute(PackageMojo.java:229)
      3 frames
    9. Maven Plugin
      DefaultPluginManager.executeMojo
      1. org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginManager.java:490)
      1 frame
    10. Maven Core
      DefaultMaven.execute
      1. org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:694)
      2. org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalWithLifecycle(DefaultLifecycleExecutor.java:556)
      3. org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(DefaultLifecycleExecutor.java:535)
      4. org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures(DefaultLifecycleExecutor.java:387)
      5. org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(DefaultLifecycleExecutor.java:348)
      6. org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java:180)
      7. org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:328)
      8. org.apache.maven.DefaultMaven.execute(DefaultMaven.java:138)
      8 frames
    11. M3 Interceptor
      MavenCli.main
      1. org.apache.maven.cli.MavenCli.main(MavenCli.java:362)
      1 frame
    12. org.apache.maven
      CompatibleMain.main
      1. org.apache.maven.cli.compat.CompatibleMain.main(CompatibleMain.java:60)
      1 frame
    13. Java RT
      Method.invoke
      1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
      3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      4. java.lang.reflect.Method.invoke(Method.java:597)
      4 frames
    14. Plexus
      Launcher.main
      1. org.codehaus.classworlds.Launcher.launchEnhanced(Launcher.java:315)
      2. org.codehaus.classworlds.Launcher.launch(Launcher.java:255)
      3. org.codehaus.classworlds.Launcher.mainWithExitCode(Launcher.java:430)
      4. org.codehaus.classworlds.Launcher.main(Launcher.java:375)
      4 frames