steveohara / j2mod

Enhanced Modbus library implemented in the Java programming language
Apache License 2.0
275 stars 110 forks source link

Updated jSerialComm version from 2.5.3 to 2.6.1, java.lang.NoSuchMethodError Exception happen #105

Closed liucunjie closed 4 years ago

liucunjie commented 4 years ago

Exception in thread "pool-30-thread-2" java.lang.NoSuchMethodError: com.fazecast.jSerialComm.SerialPort.setComPortParameters(IIII)V at com.ghgande.j2mod.modbus.net.SerialConnection.applyConnectionParameters(SerialConnection.java:149) at com.ghgande.j2mod.modbus.net.SerialConnection.open(SerialConnection.java:99) at com.ghgande.j2mod.modbus.facade.ModbusSerialMaster.connect(ModbusSerialMaster.java:94)