Wednesday, March 30, 2011

[SOLVED] java.lang.ClassCastException: javax.naming.Reference cannot be cast to javax.sql.DataSource

PROBLEM:

Caused by: java.lang.ClassCastException: javax.naming.Reference cannot be cast to javax.sql.DataSource


SOLUTION:
Add the jar

commons-dbcp-1.2.1.jar

No comments: