Page 1 of 1

java.lang.NoSuchMethodError: <init>

Posted: Wed Mar 14, 2018 7:23 am
by aksistemas
When I run the main class, this error occurs. I tried everything, but nothing works. Someone can help me?

java.lang.NoSuchMethodError: <init>
at java.lang.ClassLoader$NativeLibrary.load(Native Method)
at java.lang.ClassLoader.loadLibrary0(ClassLoader.java:1941)
at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1857)
at java.lang.Runtime.loadLibrary0(Runtime.java:870)
at java.lang.System.loadLibrary(System.java:1122)
at com.phidget22.LogBase.<clinit>(LogBase.java:29)
at com.phidgets.LeitorTemperatura.leitura(LeitorTemperatura.java:23)
at br.phidgets.ConsolePhidget.main(ConsolePhidget.java:10)
Exception in thread "main"

Re: java.lang.NoSuchMethodError: <init>

Posted: Wed Mar 14, 2018 12:48 pm
by Patrick
What OS are you on? This probably means that the native library cannot be found.

-Patrick

Re: java.lang.NoSuchMethodError: <init>

Posted: Thu Mar 15, 2018 5:09 pm
by aksistemas
I using Windows 7 and the library is 2.2