RishiGupta12 / SerialPundit

Serial port communication in Java - FTDI D2XX, HID API, X/Y modem
GNU Affero General Public License v3.0
125 stars 56 forks source link

Native Library /tmp/sp_tuartx1/spcomlnxx64.so already loaded in another classloader with servlet #30

Closed rucko24 closed 6 years ago

rucko24 commented 6 years ago

Regards, how are you? I have a web application with java using vaadin framework, when I make a change in my code and restart my servlet I get this log, Everything returns to work correctly when, to completely my jetty or wildfly server, and I start again

com.serialpundit.core.SerialComException: Native Library /tmp/sp_tuartx1/spcomlnxx64.so already loaded in another classloader at com.serialpundit.serial.internal.SerialComPortJNIBridge.loadNativeLibrary(SerialComPortJNIBridge.java:395) at com.serialpundit.serial.SerialComManager.<init>(SerialComManager.java:382)

RishiGupta12 commented 6 years ago

Please use google group.