Make sure that the JDBC URL, which you specify in the DriverManager.getconnection() method, has a valid protocol class name for the ProtocolClass parameter.