java.lang.ClassNotFoundException Netbeans java derby

前端 未结 2 1789
無奈伤痛
無奈伤痛 2021-01-22 17:47

I use Netbeans, doing a java app. I created a class ConnectDB for db connetion using Java DB in netbeans. i started the server and ten conneted to db. when i run the file it pro

相关标签:
2条回答
  • 2021-01-22 18:28

    get this library
    http://repo.maven.apache.org/maven2/org/apache/derby/derbyclient/10.9.1.0/derbyclient-10.9.1.0.jar

    and copy it to Derby's libs folder.

    0 讨论(0)
  • 2021-01-22 18:30

    If you use Tomcat download derbyclient.jar from here . And copy the jar file to Tomcat's lib folder.

    0 讨论(0)
提交回复
热议问题