org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal org.apache.maven.plugins:maven-deploy-plugin:2.6:deploy (default-deploy) on project pdfbox-parent: Failed to retrieve remote metadata org.apache.pdfbox:pdfbox-parent:1.8.0-SNAPSHOT/maven-metadata.xml: Could not transfer metadata org.apache.pdfbox:pdfbox-parent:1.8.0-SNAPSHOT/maven-metadata.xml from/to apache.snapshots.https (https://repository.apache.org/content/repositories/snapshots): Error transferring file: Connection refused

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

,

Check if your MongoDB is available.

,

Check if your MariaDB is running and available.

Solutions on the web

via pdfbox-dev by Apache Jenkins Server, 1 year ago
Failed to execute goal org.apache.maven.plugins:maven-deploy-plugin:2.6:deploy (default-deploy) on project pdfbox-parent: Failed to retrieve remote metadata org.apache.pdfbox:pdfbox-parent:1.8.0-SNAPSHOT/maven-metadata.xml: Could not transfer
via apache.org by Unknown author, 2 years ago
Failed to execute goal org.apache.maven.plugins:maven-site-plugin:3.2:site (default-site) on project hbase: SiteToolException: The site descriptor cannot be resolved from the repository: ArtifactResolutionException: Unable to locate site descriptor
via Sonatype JIRA by Gerd Aschemann, 1 year ago
Failed to execute goal org.apache.maven.plugins:maven-site-plugin:3.0:deploy (default-cli) on project dummy-fs: Error uploading site
via Sonatype JIRA by Gerd Aschemann, 1 year ago
Failed to execute goal org.apache.maven.plugins:maven-site-plugin:3.0:deploy (default-cli) on project dummy-fs: Error uploading site
via GitHub by aslakagens
, 1 year ago
Failed to execute goal org.apache.maven.plugins:maven-deploy-plugin:2.7:deploy-file (jar-file) on project play-licensing: The parameters 'file' for goal org.apache.maven.plugins:maven-deploy-plugin:2.7:deploy-file are missing or invalid
via Stack Overflow by Michel Werren
, 1 year ago
Failed to execute goal org.apache.maven.plugins:maven-release-plugin:2.3.2:prepare (default-cli) on project parent: An error is occurred in the checkin process: Exception while executing SCM command.
org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal org.apache.maven.plugins:maven-deploy-plugin:2.6:deploy (default-deploy) on project pdfbox-parent: Failed to retrieve remote metadata org.apache.pdfbox:pdfbox-parent:1.8.0-SNAPSHOT/maven-metadata.xml: Could not transfer metadata org.apache.pdfbox:pdfbox-parent:1.8.0-SNAPSHOT/maven-metadata.xml from/to apache.snapshots.https (https://repository.apache.org/content/repositories/snapshots): Error transferring file: Connection refused
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:524)
at java.net.Socket.connect(Socket.java:474)
at sun.net.NetworkClient.doConnect(NetworkClient.java:157)
at sun.net.www.http.HttpClient.openServer(HttpClient.java:388)
at sun.net.www.http.HttpClient.openServer(HttpClient.java:523)
at sun.net.www.protocol.https.HttpsClient.(HttpsClient.java:278)
at sun.net.www.protocol.https.HttpsClient.New(HttpsClient.java:335)
at sun.net.www.protocol.https.AbstractDelegateHttpsURLConnection.getNewHttpClient(AbstractDelegateHttpsURLConnection.java:172)
at sun.net.www.protocol.http.HttpURLConnection.plainConnect(HttpURLConnection.java:791)
at sun.net.www.protocol.https.AbstractDelegateHttpsURLConnection.connect(AbstractDelegateHttpsURLConnection.java:158)
at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:960)
at java.net.HttpURLConnection.getResponseCode(HttpURLConnection.java:367)
at org.apache.maven.wagon.providers.http.LightweightHttpWagon.fillInputData(LightweightHttpWagon.java:115)
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:651)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:676)
at java.lang.Thread.run(Thread.java:595)

Users with the same issue

5 times, 4 hours ago
2 times, 5 hours ago
417 times, 6 hours ago
Once, 1 day ago
9 times, 2 days ago
298 more bugmates

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