Is there any one knows how to fix the error below. Before I have epubcheck-1.2.jar and it perfectly worked in my program and now i try to incorporate this new epubcheck-3.0.1.jar. I encounter this error. I am not a java developer, hope someone can help me here.. I need to upgrade my program because the for epub 2 and epub 3, or there is any one knows an offline validator.
Epubcheck Version 3.0.1
java.lang.NoClassDefFoundError: com/thaiopensource/validate/SchemaReaderFactory
at com.adobe.epubcheck.ocf.OCFChecker.<clinit>(OCFChecker.java:65)
at com.adobe.epubcheck.api.EpubCheck.validate(EpubCheck.java:205)
at com.adobe.epubcheck.tool.Checker.validateFile(Checker.java:172)
at com.adobe.epubcheck.tool.Checker.run(Checker.java:255)
at com.adobe.epubcheck.tool.Checker.main(Checker.java:182)
Caused by: java.lang.ClassNotFoundException: com.thaiopensource.validate.SchemaReaderFactory
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)
... 5 more
It's look like You missed at least one dependency
http://mvnrepository.com/artifact/com.thaiopensource/jing/20091111
here it is on maven. if you add this to your project anything should be ok.