java.lang.NoSuchMethodError: <init>

Comments & issues
aksistemas
Fresh meat
Posts: 2
Joined: Wed Mar 14, 2018 7:14 am
Contact:

java.lang.NoSuchMethodError: <init>

Postby aksistemas » Wed Mar 14, 2018 7:23 am

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"

User avatar
Patrick
Lead Developer
Posts: 3220
Joined: Mon Jun 20, 2005 8:46 am
Location: Canada
Contact:

Re: java.lang.NoSuchMethodError: <init>

Postby Patrick » Wed Mar 14, 2018 12:48 pm

What OS are you on? This probably means that the native library cannot be found.

-Patrick

aksistemas
Fresh meat
Posts: 2
Joined: Wed Mar 14, 2018 7:14 am
Contact:

Re: java.lang.NoSuchMethodError: <init>

Postby aksistemas » Thu Mar 15, 2018 5:09 pm

I using Windows 7 and the library is 2.2


Return to “General”

Who is online

Users browsing this forum: No registered users and 1 guest