It appears that 22.1 is missing/incompletely published on repository.aspose.com.
Starting from the artifact metadata page (https://releases.aspose.com/words/java/), the Download link in the top right corner https://releases.aspose.com/words/java/ leads nowhere. Gradle is also unable to find what it needs:
> Could not find com.aspose:aspose-words:22.1.
Searched in the following locations:
- <https://repository.aspose.com/repo/com/aspose/aspose-words/22.1/aspose-words-22.1.pom>
If the artifact you are trying to retrieve can be found in the repository but without metadata in 'Maven POM' format, you need to adjust the 'metadataSources { ... }' of the repository declaration.
By way of comparison, 21.12 works both via the Download link and Gradle.