We're sorry Aspose doesn't work properply without JavaScript enabled.

Free Support Forum - aspose.com

Exception in omr class

Dear Support Team

I had got the below exception when i tried to run the examples (http://www.aspose.com/docs/display/OCRJAVA/Extracting+OMR+Data+from+an+Image)

my class is omrtest . Please help on this .

G:\Program Files\Java\jre7\bin>java com.aspose.omr.omrtest
Exception in thread “main” java.lang.NoClassDefFoundError: com/aspose/omr/intern
al/bo (wrong name: com/aspose/omr/internal/bO)
at java.lang.ClassLoader.defineClass1(Native Method)
at java.lang.ClassLoader.defineClass(Unknown Source)
at java.security.SecureClassLoader.defineClass(Unknown Source)
at java.net.URLClassLoader.defineClass(Unknown Source)
at java.net.URLClassLoader.access$100(Unknown Source)
at java.net.URLClassLoader$1.run(Unknown Source)
at java.net.URLClassLoader$1.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
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)
at com.aspose.omr.omrtest.main(omrtest.java:15)

G:\Program Files\Java\jre7\bin>

Hi,


Thank you for contacting Aspose support.

We have evaluated your presented scenario on our end while using the latest version of Aspose.OCR for Java 2.0.0 (aspose-omr-2.0-jdk16.jar), and we are unable to replicate the said exception. It would be of great help in identifying the problem cause if you can provide an executable sample application along with its dependencies to reproduce the problem.

Looking forward to your kind response to figure out this problem at earliest.