org.apache.maven.lifecycle.LifecycleExecutionException: Unable to verify if the server was started in the given time (300 seconds)

geronimo-dev | prasad@apache.org | 9 years ago
  1. 0

    [BUILD] 2.1: Failed for Revision: 607792

    geronimo-dev | 9 years ago | prasad@apache.org
    org.apache.maven.lifecycle.LifecycleExecutionException: Unable to verify if the server was started in the given time (300 seconds)
  2. 0

    Unable to deploy ear application through maven script

    Stack Overflow | 2 years ago | Kumar
    org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal com.oracle.weblogic:weblogic-maven-plugin:12.1.3.0:deploy (wl-deploy) on project ear: weblogic.deploy.api.tools.deployer.DeployerException: Unable to connect to 'http://localhost:7001': weblogic.security.utils.KeyStoreConfiguration. Ensure the url represents a running admin server and that the credentials are correct. If using http protocol, tunneling must be enabled on the admin server.
  3. 0

    Releasing LTS RC on "Java(TM) SE Runtime Environment (build 1.8.0_92-b14)" fails with: {noformat} [ERROR] Failed to execute goal org.codehaus.mojo:apt-maven-plugin:1.0-alpha-5:process (default) on project jenkins-core: Unable to locate the apt compiler in: [ERROR] /usr/lib/jvm/java-8-jdk/jre/../lib/tools.jar [ERROR] Please ensure you are using JDK 1.5 or above and [ERROR] not a JRE (the com.sun.tools.apt.Main class is required). [ERROR] In most cases you can change the location of your Java [ERROR] installation by setting the JAVA_HOME environment variable. [ERROR] -> [Help 1] org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal org.codehaus.mojo:apt-maven-plugin:1.0-alpha-5:process (default) on project jenkins-core: Unable to locate the apt compiler in: /usr/lib/jvm/java-8-jdk/jre/../lib/tools.jar Please ensure you are using JDK 1.5 or above and not a JRE (the com.sun.tools.apt.Main class is required). In most cases you can change the location of your Java installation by setting the JAVA_HOME environment variable. at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:212) at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:153) at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:145) at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:116) at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:80) at org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder.build(SingleThreadedBuilder.java:51) at org.apache.maven.lifecycle.internal.LifecycleStarter.execute(LifecycleStarter.java:128) at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:307) at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:193) at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:106) at org.apache.maven.cli.MavenCli.execute(MavenCli.java:863) at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:288) at org.apache.maven.cli.MavenCli.main(MavenCli.java:199) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.java:289) at org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:229) at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:415) at org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:356) Caused by: org.apache.maven.plugin.MojoExecutionException: Unable to locate the apt compiler in: /usr/lib/jvm/java-8-jdk/jre/../lib/tools.jar Please ensure you are using JDK 1.5 or above and not a JRE (the com.sun.tools.apt.Main class is required). In most cases you can change the location of your Java installation by setting the JAVA_HOME environment variable. at org.codehaus.mojo.apt.AptUtils.getAptClass(AptUtils.java:220) at org.codehaus.mojo.apt.AptUtils.invoke(AptUtils.java:76) at org.codehaus.mojo.apt.AbstractAptMojo.executeApt(AbstractAptMojo.java:389) at org.codehaus.mojo.apt.AbstractAptMojo.executeImpl(AbstractAptMojo.java:277) at org.codehaus.mojo.apt.AbstractAptMojo.execute(AbstractAptMojo.java:254) at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:134) at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:207) ... 20 more {noformat}

    Jenkins JIRA | 4 months ago | Oliver Gond┼ża
    org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal org.codehaus.mojo:apt-maven-plugin:1.0-alpha-5:process (default) on project jenkins-core: Unable to locate the apt compiler in: /usr/lib/jvm/java-8-jdk/jre/../lib/tools.jar Please ensure you are using JDK 1.5 or above and not a JRE (the com.sun.tools.apt.Main class is required). In most cases you can change the location of your Java installation by setting the JAVA_HOME environment variable.
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Re: Error while building.

    ranger-dev | 2 years ago | Sitaraman Vilayannur
    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
  6. 0

    Javafx maven project deployment with Intellij IDEA

    Stack Overflow | 9 months ago | abdou amer
    org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal org.apache.maven.plugins:maven-deploy-plugin:2.7:deploy (default-cli) on project EntrepriseLimited: Deployment failed: repository element was not specified in the POM inside distributionManagement element or in -DaltDeploymentRepository=id::layout::url parameter

    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. org.apache.maven.plugin.MojoExecutionException

      Unable to verify if the server was started in the given time (300 seconds)

      at org.apache.geronimo.mavenplugins.geronimo.server.StartServerMojo.doExecute()
    2. org.apache.geronimo
      ReportingMojoSupport.execute
      1. org.apache.geronimo.mavenplugins.geronimo.server.StartServerMojo.doExecute(StartServerMojo.java:346)
      2. org.apache.geronimo.mavenplugins.geronimo.reporting.ReportingMojoSupport.execute(ReportingMojoSupport.java:99)
      2 frames
    3. Maven Plugin
      DefaultPluginManager.executeMojo
      1. org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginManager.java:443)
      1 frame
    4. Maven Core
      DefaultMaven.execute
      1. org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:539)
      2. org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalWithLifecycle(DefaultLifecycleExecutor.java:480)
      3. org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(DefaultLifecycleExecutor.java:459)
      4. org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures(DefaultLifecycleExecutor.java:311)
      5. org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(DefaultLifecycleExecutor.java:278)
      6. org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java:143)
      7. org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:334)
      8. org.apache.maven.DefaultMaven.execute(DefaultMaven.java:125)
      8 frames
    5. M3 Interceptor
      MavenCli.main
      1. org.apache.maven.cli.MavenCli.main(MavenCli.java:280)
      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:585)
      4 frames
    7. 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