Getting error while trying to upgrade to Aspose total 24.10

Hi
we are trying to upgrade aspose-total java version from 23.8 to 24.10 when we try to do so we get below error

Failed to collect dependencies at com.aspose:aspose-total:pom:24.10 → com.aspose:aspose-drawing:jar:jdk18:24.10 → com.aspose.ms.jdk.NetFramework:mscorlib:jar:23.11: Failed to read artifact descriptor for com.aspose.ms.jdk.NetFramework:mscorlib:jar:23.11: Could not transfer artifact com.aspose.ms.jdk.NetFramework:mscorlib:pom:23.11 from/to aspose-repository (file://${basedir}/misc/lib): Repository path /misc/lib does not exist, and cannot be created. → [Help 1]

however when we use version 24.5 it works fine , it starts to give same error as above beyond version 24.5

please find definition from pom.xml

	<dependency>
		<groupId>com.aspose</groupId>
		<artifactId>aspose-total</artifactId>
		<version>24.10</version>
		<type>pom</type>
	</dependency>


	<repository>
		<id>AsposeJavaAPI</id>
		<name>Aspose Java API</name>
		<url>https://repository.aspose.com/repo/</url>
	</repository>

@Nikhil_Kamani

It seems you are encountering an issue while trying to upgrade to Aspose.Total Java version 24.10. The error message indicates a problem with collecting dependencies, specifically related to the mscorlib artifact. This issue arises when the repository path specified in your configuration does not exist or cannot be created.

Here are a few steps you can take to troubleshoot and resolve this issue:

  1. Check Repository Path: Ensure that the repository path specified in your pom.xml is correct. The error message indicates that the path /misc/lib does not exist. You may need to create this directory or adjust the path to point to a valid location.

  2. Update Repository Configuration: Make sure that your repository configuration in the pom.xml is set up correctly. You can refer to the Aspose documentation for guidance on configuring the Aspose Cloud Maven Repository. Here’s a basic example of how your repository configuration should look:

    <repository>
        <id>AsposeJavaAPI</id>
        <name>Aspose Java API</name>
        <url>https://repository.aspose.com/repo/</url>
    </repository>
    
  3. Dependency Version Compatibility: Since you mentioned that version 24.5 works fine, it might be worth checking if there are any specific changes or additional dependencies introduced in versions beyond 24.5 that could be causing this issue. Review the release notes or documentation for any breaking changes.

  4. Clear Local Repository: Sometimes, clearing your local Maven repository can help resolve dependency issues. You can do this by deleting the .m2/repository folder in your user directory and then rebuilding your project.

  5. Consult Aspose Support: If the issue persists, consider reaching out to Aspose support or checking their forums for similar issues. Other users may have encountered the same problem and could provide insights or solutions.

By following these steps, you should be able to resolve the dependency issue and successfully upgrade to Aspose.Total Java version 24.10.

Sources:
[1]: Configuration and Using Aspose.Total Java for Maven - Aspose Documentation

@Nikhil_Kamani,

Thanks for notifying the issue.

We will be looking into your mentioned issue and will get back to you soon.

In the meantime, please do specify your desired Aspose for Java APIs (with desired version and other elements) explicitly in pom.xml file. This will work fine. I tested using the below contents and it works fine and all specified JARs/libraries are downloaded/imported fine (including Aspose.Drawing for Java v24.10 version). See the sample contents of my test pom.xml file for your reference.

<repositories>
		<repository>
			<id>AsposeJavaAPI</id>
			<name>Aspose Java API</name>
			<url>https://releases.aspose.com/java/repo/</url>
        </repository>
		
  </repositories>
   <dependencies>

		...
		<dependency>
			<groupId>com.aspose</groupId>
			<artifactId>aspose-words</artifactId>
			<version>24.5</version>
			<classifier>jdk17</classifier>
		</dependency>
		<dependency>
			<groupId>com.aspose</groupId>
			<artifactId>aspose-words</artifactId>
			<version>24.10</version>
			<classifier>javadoc</classifier>
		</dependency>
		<dependency>
			<groupId>com.aspose</groupId>
			<artifactId>aspose-slides</artifactId>
			<version>24.10</version>
			<classifier>jdk16</classifier>
		</dependency>
		<dependency>
			<groupId>com.aspose</groupId>
			<artifactId>aspose-drawing</artifactId>
			<version>24.10</version>
			<classifier>jdk18</classifier>
		</dependency>
		<dependency>
			<groupId>com.aspose</groupId>
			<artifactId>aspose-cells</artifactId>
			<version>24.10</version>			
		</dependency>
<!--
add your desired dependencies here.
-->

    </dependencies> 
.... 

Moreover, please check the pom.xml of Aspose.Total for Java 24.10 for your reference.