ClassNotFoundException for Apache Derby database
I am trying to use Apache Derby in Network mode for my J2EE Web App using Eclipse I am getting the following error:
ClassNotFoundException: org.apache.derby.jdbc.ClientDriver
SQLException: S开发者_运维知识库QLState: 08001
I have already added the derbyclient.jar
and derby.jar
in classpath variable of system and the project. I cannot figure out the problem
You must add derbyclient.jar
to YourProject\WebContent\WEB-INF\lib
. Not needed to add derby.jar
to classpath.
It's helped me.
精彩评论