Compilation

VERIFIER ERROR junit/framework/TestCase.runTest()V: Cannot find class java/lang/reflect/InvocationTargetException

This is because you are using standatd j2se junit library and it appear in class path before cldcunit.

In Eclipse project properties select Build Path then Order and Export move junit-3.8.1.jar to the last position.

Eclipse project Order and Export

This .classpath example

<classpath>
	<classpathentry kind="src" path="src/main/java"></classpathentry>
	<classpathentry kind="src" path="src/main/resources"></classpathentry>
	<classpathentry kind="src" output="target/test-classes" path="src/test/java"></classpathentry>
	<classpathentry kind="con" path="J2MELIB"></classpathentry>
	<classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER"></classpathentry>
	<classpathentry kind="var" path="M2_REPO/org/microemu/microemu-swing/2.0.0.cr1-SNAPSHOT/microemu-swing-2.0.0.cr1-SNAPSHOT-app.jar"></classpathentry>
	<classpathentry kind="var" path="M2_REPO/com/pyx4me/cldcunit/2.0.1-SNAPSHOT/cldcunit-2.0.1-SNAPSHOT.jar" exported="true"></classpathentry>
	<classpathentry kind="var" path="M2_REPO/com/pyx4me/cldcunit-se/2.0.1-SNAPSHOT/cldcunit-se-2.0.1-SNAPSHOT.jar"></classpathentry>
	<classpathentry kind="var" path="M2_REPO/junit/junit/3.8.1/junit-3.8.1.jar"></classpathentry>
	<classpathentry kind="output" path="target/classes"></classpathentry>
</classpath>

[top]