Java exception- Exception in thread “main” java.lang.NoClassDefFoundError: net/sourceforge/tess4 j/Tesseract
I am try to make things works with tess4j (OCR algorithm), and i m using this code: import java.awt.image.RenderedImage; import java.io.File; import java.net.URL; import javax.imageio.ImageIO; import net.sourceforge.tess4j.*; public static void main(String[] args) throws Exception{ URL imageURL = new URL("http://s4.postimg.org/e75hcme9p/IMG_20130507_190237.jpg"); RenderedImage img = ImageIO.read(imageURL); File outputfile = new File("saved.png"); ImageIO.write(img, "png", outputfile); try { Tesseract instance = Tesseract.getInstance(); // JNA Interface Mapping // Tesseract1 instance = new