Showing results for 
Search instead for 
Did you mean: 

SoapUI's Maven plugin strange problem with ojdbc.

Not applicable

SoapUI's Maven plugin strange problem with ojdbc.

Hi, I have faced a problem and I have no idea what's going on, so I decided to ask for help.
I'm using your plugin for Maven, got this in my pom.xml:


I also have the ojdbc dependency in pom.xml, like this:


And I have a test step in groovy, like this:

import java.sql.*;
def path="jdbc:oracle:thin:@xxxxxxxxxxxxx"
def username='xxxxx'
def password='xxxxx'
Connection conn = DriverManager.getConnection(path, username, password) /// Error here.

I have included the same ojdbc6.jar in my SoapUI's project. The same files - in Maven project and in SoapUI.
My question is:
Why am I getting "java.sql.SQLException: No suitable driver found for jdbc:oracle:thin:@xxxxxxxxxx" using Maven? When I run it in SoapUI everything is working properly, no errors, no exceptions... Help would be really appreciated!
Community Hero

Re: SoapUI's Maven plugin strange problem with ojdbc.

From the error it is clear that driver is not correct. May be you can check below link which i think will help you. ... dependency

New Here?
Join us and watch the welcome video:
Top Kudoed Authors