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

前端 未结 16 1525
广开言路
广开言路 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:29

    url="jdbc:postgresql//localhost:5432/mmas"
    

    That URL looks wrong, do you need the following?

    url="jdbc:postgresql://localhost:5432/mmas"
    

提交回复
热议问题