org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal on project jboss-ejb3-examples-ch04-firstejb: Could not resolve dependencies for project org.jboss.ejb3.examples:jboss-ejb3-examples-ch04-firstejb:jar:1.0.0-cr-1: Could not transfer artifact log4j:log4j:jar:1.2.14 from/to central (http://repo.maven.apache.org/maven2): Connection reset

Stack Overflow | Pelsono | 4 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

    Maven - exception during project building

    Stack Overflow | 4 years ago | Pelsono
    org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal on project jboss-ejb3-examples-ch04-firstejb: Could not resolve dependencies for project org.jboss.ejb3.examples:jboss-ejb3-examples-ch04-firstejb:jar:1.0.0-cr-1: Could not transfer artifact log4j:log4j:jar:1.2.14 from/to central (http://repo.maven.apache.org/maven2): Connection reset
  2. 0

    Failed to execute goal org.apache.maven.plugins:maven-surefire-plugin:2.10:test

    Stack Overflow | 4 years ago | user1784668
    org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal o rg.apache.maven.plugins:maven-surefire-plugin:2.10:test (default-test) on projec t synthesis-core: Execution default-test of goal org.apache.maven.plugins:maven- surefire-plugin:2.10:test failed: Plugin org.apache.maven.plugins:maven-surefire -plugin:2.10 or one of its dependencies could not be resolved: Failed to collect dependencies for org.apache.maven.plugins:maven-surefire-plugin:jar:2.10 ()
  3. 0

    Tomcat with APR connector is disconnecting Java clients with SSL

    Stack Overflow | 3 years ago | Jesse Barnum
    java.net.SocketException: Connection reset
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

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. java.net.SocketException

    Connection reset

    at java.net.SocketInputStream.read()
  2. Java RT
    SocketInputStream.read
    1. java.net.SocketInputStream.read(SocketInputStream.java:168)
    1 frame
  3. org.apache.maven
    AbstractHttpClientWagon.fillInputData
    1. org.apache.maven.wagon.providers.http.httpclient.impl.io.AbstractSessionInputBuffer.fillBuffer(AbstractSessionInputBuffer.java:149)
    2. org.apache.maven.wagon.providers.http.httpclient.impl.io.SocketInputBuffer.fillBuffer(SocketInputBuffer.java:111)
    3. org.apache.maven.wagon.providers.http.httpclient.impl.io.AbstractSessionInputBuffer.readLine(AbstractSessionInputBuffer.java:264)
    4. org.apache.maven.wagon.providers.http.httpclient.impl.conn.DefaultResponseParser.parseHead(DefaultResponseParser.java:98)
    5. org.apache.maven.wagon.providers.http.httpclient.impl.io.AbstractMessageParser.parse(AbstractMessageParser.java:252)
    6. org.apache.maven.wagon.providers.http.httpclient.impl.AbstractHttpClientConnection.receiveResponseHeader(AbstractHttpClientConnection.java:282)
    7. org.apache.maven.wagon.providers.http.httpclient.impl.conn.DefaultClientConnection.receiveResponseHeader(DefaultClientConnection.java:247)
    8. org.apache.maven.wagon.providers.http.httpclient.impl.conn.AbstractClientConnAdapter.receiveResponseHeader(AbstractClientConnAdapter.java:219)
    9. org.apache.maven.wagon.providers.http.httpclient.protocol.HttpRequestExecutor.doReceiveResponse(HttpRequestExecutor.java:298)
    10. org.apache.maven.wagon.providers.http.httpclient.protocol.HttpRequestExecutor.execute(HttpRequestExecutor.java:125)
    11. org.apache.maven.wagon.providers.http.httpclient.impl.client.DefaultRequestDirector.tryExecute(DefaultRequestDirector.java:633)
    12. org.apache.maven.wagon.providers.http.httpclient.impl.client.DefaultRequestDirector.execute(DefaultRequestDirector.java:454)
    13. org.apache.maven.wagon.providers.http.httpclient.impl.client.AbstractHttpClient.execute(AbstractHttpClient.java:820)
    14. org.apache.maven.wagon.providers.http.httpclient.impl.client.AbstractHttpClient.execute(AbstractHttpClient.java:754)
    15. org.apache.maven.wagon.shared.http4.AbstractHttpClientWagon.execute(AbstractHttpClientWagon.java:674)
    16. org.apache.maven.wagon.shared.http4.AbstractHttpClientWagon.fillInputData(AbstractHttpClientWagon.java:793)
    16 frames
  4. Maven
    StreamWagon.get
    1. org.apache.maven.wagon.StreamWagon.getInputStream(StreamWagon.java:116)
    2. org.apache.maven.wagon.StreamWagon.getIfNewer(StreamWagon.java:88)
    3. org.apache.maven.wagon.StreamWagon.get(StreamWagon.java:61)
    3 frames
  5. Aether :: Connector :: Wagon
    WagonRepositoryConnector$GetTask.run
    1. org.sonatype.aether.connector.wagon.WagonRepositoryConnector$GetTask.run(WagonRepositoryConnector.java:601)
    1 frame
  6. Aether :: Utilities
    RunnableErrorForwarder$1.run
    1. org.sonatype.aether.util.concurrency.RunnableErrorForwarder$1.run(RunnableErrorForwarder.java:60)
    1 frame
  7. Java RT
    Thread.run
    1. java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
    2. java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
    3. java.lang.Thread.run(Thread.java:662)
    3 frames