Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Solutions on the web

via Google Groups by Jason Porter, 1 year ago
Unable to find appropriate constructor to create suite: org.apache.maven.surefire.testng.TestNGDirectoryTestSuite.<init>(java.io.File, java.util.ArrayList, java.util.ArrayList, java.lang.String, java.lang.String, java.util.Properties); nested
org.apache.maven.surefire.testset.TestSetFailedException: Unable to find
 appropriate constructor to create suite:
 org.apache.maven.surefire.testng.TestNGDirectoryTestSuite.<init>(java.io.File,
 java.util.ArrayList, java.util.ArrayList, java.lang.String,
 java.lang.String, java.util.Properties); nested exception is
 java.lang.NoSuchMethodException:
 org.apache.maven.surefire.testng.TestNGDirectoryTestSuite.<init>(java.io.File,
 java.util.ArrayList, java.util.ArrayList, java.lang.String,
 java.lang.String, java.util.Properties)
 java.lang.NoSuchMethodException:
 org.apache.maven.surefire.testng.TestNGDirectoryTestSuite.<init>(java.io.File,
 java.util.ArrayList, java.util.ArrayList, java.lang.String,
 java.lang.String, java.util.Properties)	at java.lang.Class.getConstructor0(Class.java:2706)	at java.lang.Class.getConstructor(Class.java:1657)	at org.apache.maven.surefire.Surefire.instantiateObject(Surefire.java:217)	at org.apache.maven.surefire.Surefire.instantiateSuite(Surefire.java:246)	at org.apache.maven.surefire.Surefire.createSuiteFromDefinition(Surefire.java:148)	at org.apache.maven.surefire.Surefire.run(Surefire.java:111)	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)	at java.lang.reflect.Method.invoke(Method.java:597)