org.apache.maven.lifecycle.LifecycleExecutionException

If you like a tip written by other Samebug users, mark is as helpful! Marks help our algorithm provide you better solutions and also help other users.
tip

Check if your server (or a proxy server) is not going up and down. There might be something between a proxy and a client sending intermittent requests to non-functioning hosts as well. There might as well be too many requests in a short amount of time.

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

  • Build failure
    via by Angel Todorov,
  • BufferedReader  error on i.4
    via by 843811,
  • Connection refused error
    via by Tamara,
  • Sun JVM not for enterprises ?
    via by 843804,
  • OpenIAM | LinkedIn
    via by Unknown author,
  • Homematic binding not working
    via by Christian Lörner,
  • ghostar - architectures for tomorrow
    via by Unknown author,
    • org.apache.maven.lifecycle.LifecycleExecutionException: Unable to build project for plugin 'com.sun.tools.xjc.maven2:maven-jaxb-plugin': Error getting POM for ' com.sun.tools.xjc.maven2:maven-jaxb-plugin' from the repository: Error transferr ing file com.sun.tools.xjc.maven2:maven-jaxb-plugin:pom:1.1 from the specified remote repositories: central (http://repo1.maven.org/maven2), sateh (http://maven.sateh.com/maven2//), apache.incubator (http://people.apache.org/repo/m2-incubating-repository), java.net (https://maven-repository.dev.java.net/repository), apache.ws.m1.snapshots (http://ws.zones.apache.org/repository), apache.snapshots (http://people.apache.org/repo/m2-snapshot-repository), codehaus-snapshot (http://snapshots.repository.codehaus.org) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.verifyPlugin(DefaultLifecycleExecutor.java:1269) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.bindPluginToLifecycle(DefaultLifecycleExecutor.java:1216) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.constructLifecycleMappings(DefaultLifecycleExecutor.java:982) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(DefaultLifecycleExecutor.java:453) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures(DefaultLifecycleExecutor.java:306) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(DefaultLifecycleExecutor.java:273) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java:140) at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:322) at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:115) at org.apache.maven.cli.MavenCli.main(MavenCli.java:256) 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:585) 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.InvalidPluginException: Unable to build proje ct for plugin 'com.sun.tools.xjc.maven2:maven-jaxb-plugin': Error getting POM fo r 'com.sun.tools.xjc.maven2:maven-jaxb-plugin' from the repository: Error transf erring file com.sun.tools.xjc.maven2:maven-jaxb-plugin:pom:1.1 from the specified remote repositories: central (http://repo1.maven.org/maven2), sateh (http://maven.sateh.com/maven2//), apache.incubator (http://people.apache.org/repo/m2-incubating-repository), java.net (https://maven-repository.dev.java.net/repository), apache.ws.m1.snapshots (http://ws.zones.apache.org/repository), apache.snapshots (http://people.apache.org/repo/m2-snapshot-repository), codehaus-snapshot (http://snapshots.repository.codehaus.org) at org.apache.maven.plugin.DefaultPluginManager.checkRequiredMavenVersion(DefaultPluginManager.java:265) at org.apache.maven.plugin.DefaultPluginManager.verifyVersionedPlugin(DefaultPluginManager.java:183) at org.apache.maven.plugin.DefaultPluginManager.verifyPlugin(DefaultPluginManager.java:163) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.verifyPlugin(DefaultLifecycleExecutor.java:1252) ... 17 more Caused by: org.apache.maven.project.ProjectBuildingException: Error getting POM for 'com.sun.tools.xjc.maven2:maven-jaxb-plugin' from the repository: Error tran sferring file com.sun.tools.xjc.maven2:maven-jaxb-plugin:pom:1.1 from the specified remote repositories: central (http://repo1.maven.org/maven2), sateh (http://maven.sateh.com/maven2//), apache.incubator (http://people.apache.org/repo/m2-incubating-repository), java.net (https://maven-repository.dev.java.net/repository), apache.ws.m1.snapshots (http://ws.zones.apache.org/repository), apache.snapshots (http://people.apache.org/repo/m2-snapshot-repository), codehaus-snapshot (http://snapshots.repository.codehaus.org) at org.apache.maven.project.DefaultMavenProjectBuilder.findModelFromRepository(DefaultMavenProjectBuilder.java:501) at org.apache.maven.project.DefaultMavenProjectBuilder.buildFromRepository(DefaultMavenProjectBuilder.java:225) at org.apache.maven.plugin.DefaultPluginManager.checkRequiredMavenVersion(DefaultPluginManager.java:249) ... 20 more Caused by: org.apache.maven.artifact.resolver.ArtifactResolutionException: Error transferring file com.sun.tools.xjc.maven2:maven-jaxb-plugin:pom:1.1 from the specified remote repositories: central (http://repo1.maven.org/maven2), sateh (http://maven.sateh.com/maven2//), apache.incubator (http://people.apache.org/repo/m2-incubating-repository), java.net (https://maven-repository.dev.java.net/repository), apache.ws.m1.snapshots (http://ws.zones.apache.org/repository), apache.snapshots (http://people.apache.org/repo/m2-snapshot-repository), codehaus-snapshot (http://snapshots.repository.codehaus.org) at org.apache.maven.artifact.resolver.DefaultArtifactResolver.resolve(DefaultArtifactResolver.java:140) at org.apache.maven.artifact.resolver.DefaultArtifactResolver.resolve(DefaultArtifactResolver.java:63) at org.apache.maven.project.DefaultMavenProjectBuilder.findModelFromRepository(DefaultMavenProjectBuilder.java:467) ... 22 more Caused by: org.apache.maven.wagon.TransferFailedException: Error transferring fi le at org.apache.maven.wagon.providers.http.LightweightHttpWagon.fillInputData(LightweightHttpWagon.java:99) at org.apache.maven.wagon.StreamWagon.get(StreamWagon.java:68) at org.apache.maven.artifact.manager.DefaultWagonManager.getRemoteFile(DefaultWagonManager.java:369) at org.apache.maven.artifact.manager.DefaultWagonManager.getArtifact(DefaultWagonManager.java:282) at org.apache.maven.artifact.manager.DefaultWagonManager.getArtifact(DefaultWagonManager.java:244) at org.apache.maven.artifact.resolver.DefaultArtifactResolver.resolve(DefaultArtifactResolver.java:124) ... 24 more Caused by: java.net.ConnectException: Connection timed out: connect at java.net.PlainSocketImpl.socketConnect(Native Method) at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:333) at java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:195) at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:182) at java.net.Socket.connect(Socket.java:516) at java.net.Socket.connect(Socket.java:466) at sun.net.NetworkClient.doConnect(NetworkClient.java:157) at sun.net.www.http.HttpClient.openServer(HttpClient.java:365) at sun.net.www.http.HttpClient.openServer(HttpClient.java:477) at sun.net.www.protocol.https.HttpsClient.<init>(HttpsClient.java:278) at sun.net.www.protocol.https.HttpsClient.New(HttpsClient.java:335) at sun.net.www.protocol.https.AbstractDelegateHttpsURLConnection.getNewHttpClient(AbstractDelegateHttpsURLConnection.java:176) at sun.net.www.protocol.http.HttpURLConnection.plainConnect(HttpURLConnection.java:748) at sun.net.www.protocol.https.AbstractDelegateHttpsURLConnection.connect(AbstractDelegateHttpsURLConnection.java:162) at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:917) at sun.net.www.protocol.https.HttpsURLConnectionImpl.getInputStream(HttpsURLConnectionImpl.java:234) at org.apache.maven.wagon.providers.http.LightweightHttpWagon.fillInputData(LightweightHttpWagon.java:85) ... 29 more

    Users with the same issue

    filipebatistafilipebatista
    1 times, last one,
    tvrmsmithtvrmsmith
    11 times, last one,
    batwalrus76batwalrus76
    5 times, last one,
    rocdayrocday
    3 times, last one,
    Михайло ТітовМихайло Тітов
    16 times, last one,
    274 more bugmates