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

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Solutions on the web

via geronimo-user by rwengr, 1 year ago
via geronimo-user by rwengr, 1 year ago
via Sonatype JIRA by Maciek Makowski, 1 year ago
Error retrieving previous build number for artifact 'com.mmakowski:maven-specs2-plugin:maven-plugin': repository metadata for: 'snapshot com.mmakowski:maven-specs2-plugin:0.3.0-SNAPSHOT' could not be retrieved from repository: oss.sonatype.org due
via Sonatype JIRA by Maciek Makowski, 1 year ago
Error retrieving previous build number for artifact 'com.mmakowski:maven-specs2-plugin:maven-plugin': repository metadata for: 'snapshot com.mmakowski:maven-specs2-plugin:0.3.0-SNAPSHOT' could not be retrieved from repository: oss.sonatype.org due
via Stack Overflow by Michał Herman
, 2 years ago
via jboss.org by Unknown author, 2 years ago
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(SingleGBeanBuilder.java:154)
at org.apache.geronimo.deployment.service.SingleGBeanBuilder.setReference(SingleGBeanBuilder.java:129)
at org.apache.geronimo.deployment.service.SingleGBeanBuilder.setReference(SingleGBeanBuilder.java:123)
at org.apache.geronimo.deployment.service.GBeanBuilder.addGBeanData(GBeanBuilder.java:144)
at org.apache.geronimo.deployment.service.GBeanBuilder.build(GBeanBuilder.java:108)
at org.apache.geronimo.deployment.NamespaceDrivenBuilderCollection.build(NamespaceDrivenBuilderCollection.java:43)
at org.apache.geronimo.deployment.service.ServiceConfigBuilder.buildConfiguration(ServiceConfigBuilder.java:252)
at org.apache.geronimo.deployment.service.ServiceConfigBuilder.buildConfiguration(ServiceConfigBuilder.java:211)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.apache.geronimo.gbean.runtime.ReflectionMethodInvoker.invoke(ReflectionMethodInvoker.java:34)
at org.apache.geronimo.gbean.runtime.GBeanOperation.invoke(GBeanOperation.java:131)
at org.apache.geronimo.gbean.runtime.GBeanInstance.invoke(GBeanInstance.java:883)
at org.apache.geronimo.mavenplugins.car.PackageMojo.invokeDeployer(PackageMojo.java:525)
at org.apache.geronimo.mavenplugins.car.PackageMojo.buildPackage(PackageMojo.java:338)
at org.apache.geronimo.mavenplugins.car.PackageMojo.execute(PackageMojo.java:229)
at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:694)
at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalWithLifecycle(DefaultLifecycleExecutor.java:556)
at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(DefaultLifecycleExecutor.java:535)
at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures(DefaultLifecycleExecutor.java:387)
at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(DefaultLifecycleExecutor.java:348)
at org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java:180)
at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:328)
at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:138)
at org.apache.maven.cli.MavenCli.main(MavenCli.java:362)
at org.apache.maven.cli.compat.CompatibleMain.main(CompatibleMain.java:60)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.codehaus.classworlds.Launcher.launchEnhanced(Launcher.java:315)
at org.codehaus.classworlds.Launcher.launch(Launcher.java:255)
at org.codehaus.classworlds.Launcher.mainWithExitCode(Launcher.java:430)

Users with the same issue

You are the first who have seen this exception.

Write tip

Know the solutions? Share your knowledge to help other developers to debug faster.