TestNGListener not found

Hello, I have added GroupDocs Conversion to my pom.xml as described on the website

com.groupdocs
groupdocs-conversion
20.10.2

But when running any test I get the following exception:

java.util.ServiceConfigurationError: org.testng.ITestNGListener: Provider com.aspose.ms.NUnit.services.TestNGListener not found
at java.util.ServiceLoader.fail(ServiceLoader.java:239)
at java.util.ServiceLoader.access$300(ServiceLoader.java:185)
at java.util.ServiceLoader$LazyIterator.nextService(ServiceLoader.java:372)
at java.util.ServiceLoader$LazyIterator.next(ServiceLoader.java:404)
at java.util.ServiceLoader$1.next(ServiceLoader.java:480)
at org.testng.TestNG.addServiceLoaderListeners(TestNG.java:946)
at org.testng.TestNG.initializeConfiguration(TestNG.java:886)
at org.testng.TestNG.initializeEverything(TestNG.java:975)
at org.testng.TestNG.run(TestNG.java:988)
at org.testng.IDEARemoteTestNG.run(IDEARemoteTestNG.java:73)
at org.testng.RemoteTestNGStarter.main(RemoteTestNGStarter.java:123)

image.png (72.3 KB)

1 Like

@groupdocstest121

Can you please share a sample application using that issue could be reproduced? Also share your development environment details (e.g. OS and Java version).

Windows 10, Java version 1.8.0_181
It works with GroupDocs.Conversion for Java 17.7.1 but from 17.10 and higher I get this error

@groupdocstest121

Please check/evaluate this open-source application. However, we’d recommend you to use latest API version that is 20.10.2. We’ve logged a ticket to upgrade Java Spring application to latest version. Please keep track of this GitHub issue link. Moreover, take a look at this console application that uses latest API version.