Could not resolve all dependencies for configuration ':appComponent

A problem occurred configuring project ‘:app-core’.

Could not resolve all dependencies for configuration ‘:appComponent’.
Could not resolve com.haulmont.reports:reports-global:6.10.15.
Required by:
project :
Could not resolve com.haulmont.reports:reports-global:6.10.15.
Could not get resource ‘https://repo.cuba-platform.com/content/groups/premium/com/haulmont/reports/reports-global/6.10.15/reports-global-6.10.15.pom’.
Could not GET ‘https://repo.cuba-platform.com/content/groups/premium/com/haulmont/reports/reports-global/6.10.15/reports-global-6.10.15.pom’. Received status code 401 from server: Unauthorized
Could not resolve com.haulmont.charts:charts-global:6.10.15.

This project you have problem with - uses platform version 6.10.x and uses two add-ons: reports and charts, which were paid in the 6.10.x version.
So in order to download these add-ons from the central repository, you need to get an active CUBA/Jmix subscription and then configure access to the premium repository: Configuring Access to Repository - CUBA Platform. Developer’s Manual

Thank you. That really helped. I realized that my license was not active hence the errors. I resolved it by entering my subscription license which in turn allowed me to get these resources from

"‘https://repo.cuba-platform.com/content/groups/premium/com/haulmont/reports/reports-global/6.10.15/reports-global-6.10.15.pom’.

https://repo.cuba-platform.com/content/groups/premium/com/haulmont/reports/reports-global/6.10.15/reports-global-6.10.15.pom’."