org.apache.tomcat.dbcp.dbcp.SQLNestedException: Cannot load JDBC driver class 'org.postgresql.Driver'

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Solutions on the web

via openxava by oswall
, 1 year ago
Cannot load JDBC driver class 'org.postgresql.Driver'
via liferay.com by Unknown author, 2 years ago
Cannot load JDBC driver class 'com.liferay.jdbc.Life rayDriver'
via Oracle Community by 843859, 1 year ago
Cannot load JDBC driver class 'com.mysql.jdbc.Driver'
via dbaspot.com by Unknown author, 1 year ago
org.apache.tomcat.dbcp.dbcp.SQLNestedException: Cannot load JDBC driver class 'org.postgresql.Driver'
at org.apache.tomcat.dbcp.dbcp.BasicDataSource.createDataSource(BasicDataSource.java:766)
at org.apache.tomcat.dbcp.dbcp.BasicDataSource.getConnection(BasicDataSource.java:540)
at org.openxava.util.DataSourceConnectionProvider.getConnection(DataSourceConnectionProvider.java:162)
at org.openxava.tab.impl.JDBCTabProvider.getResultSize(JDBCTabProvider.java:321)
at org.openxava.tab.impl.EntityTabDataProvider.getResultSize(EntityTabDataProvider.java:216)
at org.openxava.tab.impl.EntityTab.getResultSize(EntityTab.java:560)
at org.openxava.tab.impl.TableModelBean.getTotalSize(TableModelBean.java:276)
at org.openxava.tab.impl.XTableModelDecoratorBase.getTotalSize(XTableModelDecoratorBase.java:87)
at org.openxava.tab.Tab.getTotalSize(Tab.java:712)

Users with the same issue

Samebug visitor profile picture
Unknown user
Once, 2 years ago
Samebug visitor profile picture
Unknown user
Once, 2 years ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 2 years ago
Samebug visitor profile picture
Unknown user
Once, 2 years ago

Know the solutions? Share your knowledge to help other developers to debug faster.