I have a java aplication and I´m moving to dynamic web projet.
The desktop application works fine, but in the dynamic web project I´m getting this error:
java.lang.NoSuchMethodError: com.sun.jna.Native.register(Ljava/lang/String;)V
at net.sourceforge.tess4j.TessAPI1.<clinit>(TessAPI1.java:44)
The line 44 in the TessAPI1
library is
Native.register(WINDOWS ? LIB_NAME : LIB_NAME_NON_WIN);
what is the possible cause of this error?
The implementation of your interface is not present or is not at the correct version. Update the implementation version where it has that method implemented.