Forum Discussion

Lavalyte's avatar
Lavalyte
Occasional Contributor
8 years ago
Solved

can't register JDCB driver class

  When using SoapUI Opensource;   I have a mock server groovy script that is attempting to access a sql server database. My soapUI installation has a valid sqljdbc4.jar file in /ext directory.  ...
  • nmrao's avatar
    8 years ago
    • Hope you might copied the library under SOAPUI_HOME/bin/ext and restarted soapui.
    • It requires to register the driver using below statement in the groovy script as per the documentation
    • Of course, you need to change the driver class in below statement as well.
    com.eviware.soapui.support.GroovyUtils.registerJdbcDriver( "com.mysql.jdbc.Driver" )