Could not transfer artifact org.default:artifact:pom:1.0.0 from/to central (http://repo1.maven.org/maven2/): status code: 501, reason phrase: HTTPS Required (501)

21 views
Skip to first unread message

Podunk Man

unread,
Oct 22, 2024, 1:00:19 PM10/22/24
to jBPM Setup
Hello,

In business process I get XXX times message ' Error retrieving datatypes'

This is probably related to log errors:

Could not transfer artifact org.default:artifact:pom:1.0.0 from/to central (http://repo1.maven.org/maven2/): status code: 501, reason phrase: HTTPS Required (501)

...
Caused by: org.eclipse.aether.transfer.ArtifactTransferException: Could not transfer artifact org.default:artifact:pom:1.0.0 from/to central (https://repo1.maven.org/maven2/): sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested

I tried everything:

Added certificate to keystore; jbpn and java
Created maven settings.xml in .m2 directory
Added line <property name="kie.maven.settings.custom" value="C:/Users/xx/.m2/settings.xml"/> to standalone.xml
Added line set "JAVA_OPTS=%JAVA_OPTS% -Dkie.maven.settings.custom=C:\Users\xxx\.m2\settings.xml" to standalone.bat

NOTHING works!
What should I do?
Reply all
Reply to author
Forward
0 new messages