java.util.ServiceConfigurationError

org.testng.remote.support.RemoteTestNGFactory: Error reading configuration file

Samebug tips0

We couldn't find tips for this exception.

Don't give up yet. Paste your full stack trace to get a solution.

Solutions on the web471

  • via GitHub by juherr
    ,
  • via GitHub by gastaldi
    ,
  • Stack trace

    • java.util.ServiceConfigurationError: org.testng.remote.support.RemoteTestNGFactory: Error reading configuration file at java.util.ServiceLoader.fail(Unknown Source) at java.util.ServiceLoader.parse(Unknown Source) at java.util.ServiceLoader.access$200(Unknown Source) at java.util.ServiceLoader$LazyIterator.hasNextService(Unknown Source) at java.util.ServiceLoader$LazyIterator.hasNext(Unknown Source) at java.util.ServiceLoader$1.hasNext(Unknown Source) at org.testng.remote.support.ServiceLoaderHelper.getFirst(ServiceLoaderHelper.java:16) at org.testng.remote.RemoteTestNG.main(RemoteTestNG.java:43) Caused by: java.io.FileNotFoundException: C:\Users\MyUsername(Das System kann die angegebene Datei nicht finden) //Translation: Can't find the requested file at java.util.zip.ZipFile.open(Native Method) at java.util.zip.ZipFile.<init>(Unknown Source) at java.util.zip.ZipFile.<init>(Unknown Source) at java.util.jar.JarFile.<init>(Unknown Source) at java.util.jar.JarFile.<init>(Unknown Source) at sun.net.www.protocol.jar.URLJarFile.<init>(Unknown Source) at sun.net.www.protocol.jar.URLJarFile.getJarFile(Unknown Source) at sun.net.www.protocol.jar.JarFileFactory.get(Unknown Source) at sun.net.www.protocol.jar.JarURLConnection.connect(Unknown Source) at sun.net.www.protocol.jar.JarURLConnection.getInputStream(Unknown Source) at java.net.URL.openStream(Unknown Source) ... 7 more

    Write tip

    You have a different solution? A short tip here would help you and many other users who saw this issue last week.

    Users with the same issue

    juzijuzi
    2 times, last one
    rocdayrocday
    Once,
    andyglickandyglick
    18 times, last one
    marcbouvierdavmarcbouvierdav
    Once,
    Unknown visitor
    Unknown visitorOnce,
    31 more bugmates