Start a new thread, please, with a subject line relevant to your question. Write to the mailing lists, not to me.
Gj On Fri, 15 May 2020 at 15:40, HRH <hrh...@yahoo.com> wrote: > Oh, thank you. Here is my question: > > I just installed Netbeans 11.3, on windows 10 running JDK 14. I tried to > follow the simple 10 minutes learning tutorial provided at Developing > General Java Applications > <https://netbeans.apache.org/kb/docs/java/javase-intro.html> just to get > my feet wet. Everything worked fine until I reached the section under > "Creating JUnits Tests". The IDE does a good job in generating the code for > the JUnit test class, however, the test fails with Could not find or load > main class error. Here is the stack trace from the output window: > > Developing General Java Applications > > Apache NetBeans > > Developing General Java Applications - Apache NetBeans > <https://netbeans.apache.org/kb/docs/java/javase-intro.html> > > compile-test: > Created dir: C:\Users\....\Documents\NetBeansProjects\MyLib\build\test\results > Testsuite: org.me.mylib.LibClassTest > Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 0.152 sec > > Testcase: initializationError(org.me.mylib.LibClassTest): Caused an ERROR > No runnable methods > java.lang.Exception: No runnable methods > at > java.base/jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance0(Native > Method) > at > java.base/jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62) > at > java.base/jdk.internal.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45) > at > java.base/java.lang.reflect.Constructor.newInstanceWithCaller(Constructor.java:500) > at > java.base/java.lang.reflect.Constructor.newInstance(Constructor.java:481) > > > Test org.me.mylib.LibClassTest FAILED > > The exception seems to take place during the test initializ > > I have added all the libraries (jar files) mentioned in the tutorial and > they appear in the classpath. > > Any insights will be great. > Thanks > > > > On Friday, May 15, 2020, 6:03:28 PM GMT+4:30, Geertjan Wielenga < > geert...@apache.org> wrote: > > > > What questions do you have? > > Gj > > On Fri, 15 May 2020 at 15:25, HRH <hrh...@yahoo.com.invalid> wrote: > > Hi, > I have joined this mailing list in the past few days. Thus far, all I see > are daily new questions posted without any responses from the community. I > am wondering why I am not receiving or seeing the responses to these > questions? Is the community support active? > > Thanks for any insights. > >