org.testng.TestNGException: The test(s) <[]> cannot be found.

Stack Overflow | skia.heliou | 1 month ago
tip
Click on the to mark the solution that helps you, Samebug will learn from it.
As a community member, you’ll be rewarded for you help.
  1. 0

    maven-surefire-plugin: java.lang.NoSuchMethodError: org.testng.TestNG.configure(Ljava/util/Map;)V

    Stack Overflow | 2 years ago | Roman Maxymiv
    java.lang.NoSuchMethodError: org.testng.TestNG.configure(Ljava/util/Map;)V
  2. 0

    Re: [webdriver] Whenver i am running my testng.xml from pom.xml i am getting the below described error

    Google Groups | 2 months ago | ⇜Krishnan Mahadevan⇝
    org.testng.TestNGException: [ERROR] [ERROR] Listener customListeners.CustomListeners was not found in project's classpath
  3. Speed up your debug routine!

    Automated exception search integrated into your IDE

  4. 0

    Whenever i am running my testng.xml from pom.xml i am getting the below described error can anyone please help me

    Google Groups | 2 months ago | Akash Srivastava
    org.testng.TestNGException: Listener customListeners.CustomListeners was not found in project's classpath

    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. java.lang.RuntimeException

      There was an error in the forked process org.testng.TestNGException: The test(s) <[]> cannot be found.

      at org.testng.TestNG.extractTestNames()
    2. TestNG
      TestNG.run
      1. org.testng.TestNG.extractTestNames(TestNG.java:436)
      2. org.testng.TestNG.initializeSuitesAndJarFile(TestNG.java:310)
      3. org.testng.TestNG.run(TestNG.java:1088)
      3 frames
    3. org.apache.maven
      TestNGProvider.invoke
      1. org.apache.maven.surefire.testng.TestNGExecutor.run(TestNGExecutor.java:281)
      2. org.apache.maven.surefire.testng.TestNGXmlTestSuite.execute(TestNGXmlTestSuite.java:75)
      3. org.apache.maven.surefire.testng.TestNGProvider.invoke(TestNGProvider.java:121)
      3 frames
    4. SureFire
      ForkedBooter.main
      1. org.apache.maven.surefire.booter.ForkedBooter.invokeProviderInSameClassLoader(ForkedBooter.java:290)
      2. org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:242)
      3. org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:121)
      3 frames
    5. Maven Surefire Common
      AbstractSurefireMojo.execute
      1. org.apache.maven.plugin.surefire.booterclient.ForkStarter.fork(ForkStarter.java:584)
      2. org.apache.maven.plugin.surefire.booterclient.ForkStarter.fork(ForkStarter.java:460)
      3. org.apache.maven.plugin.surefire.booterclient.ForkStarter.run(ForkStarter.java:229)
      4. org.apache.maven.plugin.surefire.booterclient.ForkStarter.run(ForkStarter.java:201)
      5. org.apache.maven.plugin.surefire.AbstractSurefireMojo.executeProvider(AbstractSurefireMojo.java:1026)
      6. org.apache.maven.plugin.surefire.AbstractSurefireMojo.executeAfterPreconditionsChecked(AbstractSurefireMojo.java:862)
      7. org.apache.maven.plugin.surefire.AbstractSurefireMojo.execute(AbstractSurefireMojo.java:755)
      7 frames
    6. Maven Plugin
      DefaultBuildPluginManager.executeMojo
      1. org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:134)
      1 frame
    7. Maven Core
      DefaultMaven.execute
      1. org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:207)
      2. org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:153)
      3. org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:145)
      4. org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:116)
      5. org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:80)
      6. org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder.build(SingleThreadedBuilder.java:51)
      7. org.apache.maven.lifecycle.internal.LifecycleStarter.execute(LifecycleStarter.java:128)
      8. org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:307)
      9. org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:193)
      10. org.apache.maven.DefaultMaven.execute(DefaultMaven.java:106)
      10 frames
    8. M3 Interceptor
      Maven33Launcher.main
      1. org.jvnet.hudson.maven3.launcher.Maven33Launcher.main(Maven33Launcher.java:129)
      1 frame
    9. Java RT
      Method.invoke
      1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
      3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      4. java.lang.reflect.Method.invoke(Method.java:498)
      4 frames
    10. Plexus
      Launcher.launch
      1. org.codehaus.plexus.classworlds.launcher.Launcher.launchStandard(Launcher.java:330)
      2. org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:238)
      2 frames
    11. jenkins.maven3.agent
      Maven33Main.launch
      1. jenkins.maven3.agent.Maven33Main.launch(Maven33Main.java:176)
      1 frame
    12. Java RT
      Method.invoke
      1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
      3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      4. java.lang.reflect.Method.invoke(Method.java:498)
      4 frames
    13. Hudson Maven Embedder
      Maven3Builder.call
      1. hudson.maven.Maven3Builder.call(Maven3Builder.java:133)
      2. hudson.maven.Maven3Builder.call(Maven3Builder.java:68)
      2 frames
    14. Hudson :: Remoting Layer
      InterceptingExecutorService$1.call
      1. hudson.remoting.UserRequest.perform(UserRequest.java:153)
      2. hudson.remoting.UserRequest.perform(UserRequest.java:50)
      3. hudson.remoting.Request$2.run(Request.java:336)
      4. hudson.remoting.InterceptingExecutorService$1.call(InterceptingExecutorService.java:68)
      4 frames
    15. Java RT
      Thread.run
      1. java.util.concurrent.FutureTask.run(FutureTask.java:266)
      2. java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
      3. java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
      4. java.lang.Thread.run(Thread.java:745)
      4 frames