I know exactly where the class is coming from, so that's not an issue. After running the print_class script on it, it appears that the annotationType() method isn't being added to it- which is strange, as it's part of the JDK base annotation class - which it claims to be inheriting/implementing. I'm not sure why it wouldn't be added. Thinks are a little strange due to the whole annotation/interface thing. As far as I know, it SHOULD be getting the method as just isn't.
Looks like the issue might lie with the library I'm using.
Stack trace:
java.lang.NoSuchMethodError: org.robolectric.annotation.Config.annotationType()
at com.sun.proxy.$Proxy0.<clinit>
at java.lang.reflect.Constructor.newInstance(gov.nasa.jpf.vm.JPF_java_lang_reflect_Constructor)
at java.lang.reflect.Proxy.newInstance(Proxy.java:764)
at java.lang.reflect.Proxy.newProxyInstance(Proxy.java:755)
at org.robolectric.util.AnnotationUtil.defaultsFor(AnnotationUtil.java:13)
at org.robolectric.RobolectricTestRunner.getConfig(RobolectricTestRunner.java:373)
at org.robolectric.RobolectricTestRunner$2.evaluate(RobolectricTestRunner.java:181)
at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:271)
at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:70)
at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:50)
at org.junit.runners.ParentRunner$3.run(ParentRunner.java:238)
at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:63)
at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:236)
at org.junit.runners.ParentRunner.access$000(ParentRunner.java:53)
at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:229)
at org.robolectric.RobolectricTestRunner$1.evaluate(RobolectricTestRunner.java:158)
at org.junit.runners.ParentRunner.run(ParentRunner.java:309)
at org.junit.runners.Suite.runChild(Suite.java:127)
at org.junit.runners.Suite.runChild(Suite.java:26)
at org.junit.runners.ParentRunner$3.run(ParentRunner.java:238)
at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:63)
at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:236)
at org.junit.runners.ParentRunner.access$000(ParentRunner.java:53)
at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:229)
at org.junit.runners.ParentRunner.run(ParentRunner.java:309)
at org.junit.runner.JUnitCore.run(JUnitCore.java:160)
at org.junit.runner.JUnitCore.run(JUnitCore.java:138)
at org.junit.runner.JUnitCore.run(JUnitCore.java:117)
at tester.DatClass.main(DatClass.java:12)