java - Google Reflections object doesn't instance -
java - Google Reflections object doesn't instance -
i'm trying create class calls instances of object according value of custom annotation, found that, google reflection alternative can not instantiate it, doing wrong?
i try
public class testedeanotacoes { /** * @param args command line arguments */ public static void main(string[] args) { reflections reflections = new reflections("testedeanotacoes.test"); } }
and have follow error:
exception in thread "main" java.lang.noclassdeffounderror: com/google/common/base/predicate @ testedeanotacoes.testedeanotacoes.main(testedeanotacoes.java:26) caused by: java.lang.classnotfoundexception: com.google.common.base.predicate @ java.net.urlclassloader$1.run(urlclassloader.java:366) @ java.net.urlclassloader$1.run(urlclassloader.java:355) @ java.security.accesscontroller.doprivileged(native method) @ java.net.urlclassloader.findclass(urlclassloader.java:354) @ java.lang.classloader.loadclass(classloader.java:425) @ sun.misc.launcher$appclassloader.loadclass(launcher.java:308) @ java.lang.classloader.loadclass(classloader.java:358) ... 1 more java result: 1
my project
i missed detail not working?
use this: reflections-0.9.9-rc1-uberjar.jar
or switch decent build system...
java google-reflections
Comments
Post a Comment