The infamous java.sql.SQLException: No suitable driver found

前端 未结 16 1528
广开言路
广开言路 2020-11-21 05:10

I\'m trying to add a database-enabled JSP to an existing Tomcat 5.5 application (GeoServer 2.0.0, if that helps).

The app itself talks to Postgres just fine, so I kn

16条回答
  •  醉话见心
    2020-11-21 05:45

    It might be worth noting that this can also occur when Windows blocks downloads that it considers to be unsafe. This can be addressed by right-clicking the jar file (such as ojdbc7.jar), and checking the 'Unblock' box at the bottom.

    Windows JAR File Properties Dialog:
    Windows JAR File Properties Dialog

提交回复
热议问题