Üdv!
A tesztelést elindítva az alábbi üzenet jelenik meg a test Console-on:
Exception in thread "main" java.lang.Error: Unresolved compilation
problem: The constructor PriorityQueue<LogicTimer.TimerEntry>(new
Comparator<LogicTimer.TimerEntry>(){}) is undefined
at
hu.bme.mit.inf.symod.homework.generic.tests.LogicTimer.(LogicTimer.java:47)
at
hu.bme.mit.inf.symod.homework.generic.tests.TesterAPI.(TesterAPI.java:27)
at
hu.bme.mit.inf.symod.homework.generic.tests.TestCases.base1(TestCases.java:11)
at
hu.bme.mit.inf.symod.homework.generic.tests.TestCases.main(TestCases.java:7)
A java applikációnál pedig a következőt:
Exception in thread "main" java.lang.NoClassDefFoundError: Stage at
java.lang.Class.getDeclaredMethods0(Native Method) at
java.lang.Class.privateGetDeclaredMethods(Unknown Source) at
java.lang.Class.getMethod0(Unknown Source) at
java.lang.Class.getMethod(Unknown Source) at
sun.launcher.LauncherHelper.getMainMethod(Unknown Source) at
sun.launcher.LauncherHelper.checkAndLoadMain(Unknown Source) Caused
by: java.lang.ClassNotFoundException: Stage at
java.net.URLClassLoader$1.run(Unknown Source) at
java.net.URLClassLoader$1.run(Unknown Source) at
java.security.AccessController.doPrivileged(Native Method) at
java.net.URLClassLoader.findClass(Unknown Source) at
java.lang.ClassLoader.loadClass(Unknown Source) at
sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source) at
java.lang.ClassLoader.loadClass(Unknown Source) ... 6 more
Mi ilyenkor a teendő?