android - GreenDao freemaker.jar is missing -
i downloaded new jar file greendao in order create db app i'm building.
after going through process of modeling entities , connections between them, tried run generator project got error line generated db:
exception in thread "main" java.lang.noclassdeffounderror: freemarker/template/objectwrapper @ com.glide.talk.glide.model.generator.model.main(model.java:29) caused by: java.lang.classnotfoundexception: freemarker.template.objectwrapper @ java.net.urlclassloader$1.run(urlclassloader.java:202) @ java.security.accesscontroller.doprivileged(native method) @ java.net.urlclassloader.findclass(urlclassloader.java:190) @ java.lang.classloader.loadclass(classloader.java:306) @ sun.misc.launcher$appclassloader.loadclass(launcher.java:301) @ java.lang.classloader.loadclass(classloader.java:247) ... 1 more
the line happened in is: new daogenerator().generateall(schema, src);
, have in buildpath , in lib
folder greendao-generator-1.3.0.jar file.
any thoughts or solutions helpful.
p.s. is ok use freemaker.jar in version 1.2?
edit: now, downloaded this version sourceforge , hoping need use.
i had similar problem , downloaded jar http://mvnrepository.com/artifact/org.freemarker/freemarker worked out well.
when take @ build.gradle in daogenerator-project, you'll find dependency points artifact. guess using gradle build project automatically downloads these dependencies maven does. if not wish use either, it's fine download , include artifacts manually.
Comments
Post a Comment