homberghp commented on issue #7819: URL: https://github.com/apache/netbeans/issues/7819#issuecomment-3031165496
The following scenario reproduces the error. New Project -> Java with Ant -> Java Application. choose location and name. generated by my choices ```java package puk; public class Puk { /** * @param args the command line arguments */ public static void main(String[] args) { // TODO code application logic here } } ``` Add test for existing class. Generated is a test class with references to junit 5: ```java package puk; import org.junit.jupiter.api.Test; import static org.junit.jupiter.api.Assertions.*; public class PukTest { public PukTest() { } @Test public void testSomeMethod() { fail("puk"); } } ``` The libraries are loaded, fitting to this choice of junit.  However, trying to run the test produces  -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: notifications-unsubscr...@netbeans.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: notifications-unsubscr...@netbeans.apache.org For additional commands, e-mail: notifications-h...@netbeans.apache.org For further information about the NetBeans mailing lists, visit: https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists