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

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

Samebug tips

,
Expert tip

It's possible you're trying to write to a connection that's already closed. Another cause for this is that you closed the socket with unread data in the socket receive buffer.

,
Expert tip

This might be caused by unmatching versions of SSL. Java starts normally with SSLv2 and your server might not be able to negotiate. You have to force Java to use SSLv3. See this comment: https://goo.gl/hx0YB3

Solutions on the web

via Stack Overflow by Pelsono
, 1 year ago
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
via Stack Overflow by XUDONG SUN
, 2 years ago
Failed to execute goal on project mia: Could not resolve dependencies for project com.manning:mia:jar:0.5: The following artifacts could not be resolved: org.apache.mahout:mahout-core:jar:tests:0.5, org.uncommons.maths:uncommons-maths:jar:1.2
via Stack Overflow by priyaranjan
, 2 years ago
Failed to execute goal on project hdfstrying: Could not resolve dependencies for project hdfsTrying:hdfstrying:jar:0.0.1-SNAPSHOT: The following artifacts could not be resolved: com.thoughtworks.paranamer:paranamer:jar:2.3
via Coderanch by Volodymyr Lysenko, 1 year ago
Failed to execute goal o n project RestExample: Could not resolve dependencies for project com.RestExampl e:RestExample:war:1.0: Could not find artifact org.eclipse.persistence:eclipseli nk:jar:2.3.0 in central (http://repo.maven.apache.org/maven2)
via GitHub by talset
, 1 year ago
Failed to execute goal on project session-replication: Could not resolve dependencies for project session-replication:session-replication:war:1.0: Could not find artifact xalan:xalan:jar:2.7.1.jbossorg-2 in central (https://repo1.maven.org/maven2)
via aries-dev by Apache Jenkins Server, 1 year ago
Failed to execute goal on project org.apache.aries.blueprint.itests: Could not resolve dependencies for project org.apache.aries.blueprint:org.apache.aries.blueprint.itests:jar:1.0.2-SNAPSHOT: Could not find artifact org.apache.aries.blueprint:org.apache.aries.blueprint.core:jar:1.4.0-SNAPSHOT in codehaus.snapshots (http://snapshots.repository.codehaus.org)
java.net.SocketException: Connection reset
at java.net.SocketInputStream.read(SocketInputStream.java:168)
at org.apache.maven.wagon.providers.http.httpclient.impl.io.AbstractSessionInputBuffer.fillBuffer(AbstractSessionInputBuffer.java:149)
at org.apache.maven.wagon.providers.http.httpclient.impl.io.SocketInputBuffer.fillBuffer(SocketInputBuffer.java:111)
at org.apache.maven.wagon.providers.http.httpclient.impl.io.AbstractSessionInputBuffer.readLine(AbstractSessionInputBuffer.java:264)
at org.apache.maven.wagon.providers.http.httpclient.impl.conn.DefaultResponseParser.parseHead(DefaultResponseParser.java:98)
at org.apache.maven.wagon.providers.http.httpclient.impl.io.AbstractMessageParser.parse(AbstractMessageParser.java:252)
at org.apache.maven.wagon.providers.http.httpclient.impl.AbstractHttpClientConnection.receiveResponseHeader(AbstractHttpClientConnection.java:282)
at org.apache.maven.wagon.providers.http.httpclient.impl.conn.DefaultClientConnection.receiveResponseHeader(DefaultClientConnection.java:247)
at org.apache.maven.wagon.providers.http.httpclient.impl.conn.AbstractClientConnAdapter.receiveResponseHeader(AbstractClientConnAdapter.java:219)
at org.apache.maven.wagon.providers.http.httpclient.protocol.HttpRequestExecutor.doReceiveResponse(HttpRequestExecutor.java:298)
at org.apache.maven.wagon.providers.http.httpclient.protocol.HttpRequestExecutor.execute(HttpRequestExecutor.java:125)
at org.apache.maven.wagon.providers.http.httpclient.impl.client.DefaultRequestDirector.tryExecute(DefaultRequestDirector.java:633)
at org.apache.maven.wagon.providers.http.httpclient.impl.client.DefaultRequestDirector.execute(DefaultRequestDirector.java:454)
at org.apache.maven.wagon.providers.http.httpclient.impl.client.AbstractHttpClient.execute(AbstractHttpClient.java:820)
at org.apache.maven.wagon.providers.http.httpclient.impl.client.AbstractHttpClient.execute(AbstractHttpClient.java:754)
at org.apache.maven.wagon.shared.http4.AbstractHttpClientWagon.execute(AbstractHttpClientWagon.java:674)
at org.apache.maven.wagon.shared.http4.AbstractHttpClientWagon.fillInputData(AbstractHttpClientWagon.java:793)
at org.apache.maven.wagon.StreamWagon.getInputStream(StreamWagon.java:116)
at org.apache.maven.wagon.StreamWagon.getIfNewer(StreamWagon.java:88)
at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
at java.lang.Thread.run(Thread.java:662)

Users with the same issue

16 times, 6 days ago
Once, 6 days ago
2 times, 1 week ago
4 times, 3 weeks ago
Once, 1 month ago

Write tip

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