org.apache.maven.lifecycle.LifecycleExecutionException: Failed to > > resolve dependencies for one or more projects in the reactor. Reason: Unable > to > > > get dependency information: Unable to read the metadata file for artifact 'com.sun.jersey:jersey-bundle:jar': Cannot find parent: com.sun.jersey:jersey-project for project: > null:jersey-bundle:jar:null > > > for project null:jersey-bundle:jar:null com.sun.jersey:jersey-bundle:jar:1.4 from the specified remote repositories: apache.snapshots (http://repository.apache.org/snapshots), apache.snapshots.https ( https://repository.apache.org/content/repositories/snapshots), central (http://repo1.maven.org/maven2), apache.public.https ( https://repository.apache.org/content/repositories/public) Path to dependency: 1) org.apache.ranger:security-admin-web:war:0.4.0 at > > > > > > org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:719) 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)

There are no available Samebug tips for this exception. Do you have an idea how to solve this issue? A short tip would help users who saw this issue last week.

  • Re: Error while building.
    via by Sitaraman Vilayannur,
  • Maven won't package java project
    via Stack Overflow by Serge
    ,
  • error calling msbuild from maven
    via Stack Overflow by bluesman
    ,
  • The Axis Users List
    via by Unknown author,
  • Problem with mvn release:perform and Mercurial
    via by Unknown author,
  • Installed \ - Sonar 1.11.1 on remote server - hudson sonar plugin 1.1 - on hudson 1.332 Could this be related to version of PICO? http://jira.codehaus.org/browse/SONAR-1018 sonar execution fails with this log : [INFO] [sonar-core:internal {execution: default-internal}] [INFO] ------------------------------------------------------------------------ [ERROR] BUILD ERROR [INFO] ------------------------------------------------------------------------ [INFO] Can not execute Sonar Embedded error: java.lang.NoClassDefFoundError cannot be cast to java.lang.Exception [INFO] ------------------------------------------------------------------------ [INFO] Trace org.apache.maven.lifecycle.LifecycleExecutionException: Can not execute Sonar at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:719) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeStandaloneGoal(DefaultLifecycleExecutor.java:569) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(DefaultLifecycleExecutor.java:539) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures(DefaultLifecycleExecutor.java:387) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(DefaultLifecycleExecutor.java:284) 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) at org.codehaus.classworlds.Launcher.main(Launcher.java:375) Caused by: org.apache.maven.plugin.MojoExecutionException: Can not execute Sonar at org.codehaus.mojo.sonar.Bootstraper.executeMojo(Bootstraper.java:87) at org.codehaus.mojo.sonar.Bootstraper.start(Bootstraper.java:65) at org.codehaus.mojo.sonar.SonarMojo.execute(SonarMojo.java:117) at org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginManager.java:490) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:694) ... 17 more Caused by: java.lang.ClassCastException: java.lang.NoClassDefFoundError cannot be cast to java.lang.Exception at org.picocontainer.lifecycle.ReflectionLifecycleStrategy.invokeMethod(ReflectionLifecycleStrategy.java:115) at org.picocontainer.lifecycle.ReflectionLifecycleStrategy.start(ReflectionLifecycleStrategy.java:89) at org.picocontainer.adapters.InstanceAdapter.start(InstanceAdapter.java:113) at org.picocontainer.behaviors.AbstractBehavior.start(AbstractBehavior.java:171) at org.picocontainer.behaviors.Stored$RealComponentLifecycle.start(Stored.java:134) at org.picocontainer.behaviors.Stored.start(Stored.java:111) at org.picocontainer.DefaultPicoContainer.startAdapters(DefaultPicoContainer.java:916) at org.picocontainer.DefaultPicoContainer.start(DefaultPicoContainer.java:664) at org.sonar.batch.BatchMojo.createMainContainer(BatchMojo.java:164) at org.sonar.batch.BatchMojo.executeBatch(BatchMojo.java:135) at org.sonar.batch.BatchMojo.execute(BatchMojo.java:130) at org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginManager.java:490) at org.codehaus.mojo.sonar.Bootstraper.executeMojo(Bootstraper.java:82) ... 21 more
    via by mmorizot,
    • org.apache.maven.lifecycle.LifecycleExecutionException: Failed to > > resolve dependencies for one or more projects in the reactor. Reason: Unable > to > > > get dependency information: Unable to read the metadata file for artifact 'com.sun.jersey:jersey-bundle:jar': Cannot find parent: com.sun.jersey:jersey-project for project: > null:jersey-bundle:jar:null > > > for project null:jersey-bundle:jar:null com.sun.jersey:jersey-bundle:jar:1.4 from the specified remote repositories: apache.snapshots (http://repository.apache.org/snapshots), apache.snapshots.https ( https://repository.apache.org/content/repositories/snapshots), central (http://repo1.maven.org/maven2), apache.public.https ( https://repository.apache.org/content/repositories/public) Path to dependency: 1) org.apache.ranger:security-admin-web:war:0.4.0 at > > > > > > org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:719) 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)

    Users with the same issue

    Unknown visitor1 times, last one,
    Unknown visitor1 times, last one,
    davidvanlaatum
    davidvanlaatum2 times, last one,
    Unknown visitor1 times, last one,
    Unknown visitor1 times, last one,
    28 more bugmates