Important Notice: Our web hosting provider recently started charging us for additional visits, which was unexpected. In response, we're seeking donations. Depending on the situation, we may explore different monetization options for our Community and Expert Contributors. It's crucial to provide more returns for their expertise and offer more Expert Validated Answers or AI Validated Answers. Learn more about our hosting issue here.

Unsupported Protocol Error when deploying a 3rd party jar. What should I do?

0
Posted

Unsupported Protocol Error when deploying a 3rd party jar. What should I do?

0

When using deploy-deploy-file goal and encountered this error “Error deploying artifact: Unsupported Protocol: ‘ftp’: Cannot find wagon which supports the requested protocol: ftp” You only have to place the appropriate wagon provider to your %M2_HOME%/lib. In this case the provider needed is ftp, so we have to place the wagon-ftp jar to the lib of your m2 installation. If the error description is something like “Error deploying artifact: Unsupported Protocol: ‘ftp’: Cannot find wagon which supports the requested protocol: ftp org/apache/commons/net/ftp/FTP” Place also the commons-net jar to %M2_HOME%/lib.

Related Questions

What is your question?

*Sadly, we had to bring back ads too. Hopefully more targeted.

Experts123