Closed zhouruikun closed 5 years ago
It means that somehow in your configuration, Eclipse is not including the jSerialComm JAR and/or external native libraries correctly when compiling your full application (but it is including them correctly when you include it as a Maven dependency). Unfortunately, I have no way of debugging this issue since it's not a jSerialComm library issue but rather an Eclipse configuration one. Maybe try posting this question to a general forum or Google to see if anyone has had a similar issue including a third-party JAR with native libraries in their own Eclipse/JSP project. Thanks!
import com.fazecast.jSerialComm.SerialPort; public class GetSerial extends HttpServlet { public void service(HttpServletRequest req, HttpServletResponse res) {
}
hello, thanks for your attantion, I write code just above, that is ok, has no error . but i get a error when i run this code
java.lang.ClassNotFoundException: com.fazecast.jSerialComm.SerialPort
but i can use this jar correct on a new maven project with maven dependency import