Overview:
When updating Maven for Vault SDK project in the Integrated Development Environment (IDE), the following error message occurs:
VersionRangeResolutionException: No versions available for com.veeva.vault.sdk:vault-sdk:jar:[19.3.0-release0, 18.9.0-release1000000] within specified range.
Root Cause:
This error can typically occur if the user's IDE is not automatically importing or updating Maven dependencies.
Solution:
In IDE (e.g. Eclipse):
- Right-click on the project.
- Select Maven --> Update Project.
- When the update project tab opens, select the Force Update of Snapshots/Releases.
- Click OK.
This should force IDE to download the dependencies. It may take a couple of minutes for the dependencies to fully download.
Related Documentation:
Vault Help Documentation: SDK Setup