Tech ramblings by Marcin

SoapUI ext libs and its weirdness

2011-11-02 15:32

Suppose you want to add some additional jars to your SoapUI installation. It all should work ok if you put them in bin/ext directory. It is scanned at startup, and jars found there are automatically added to classpath.

However if you want to add some JDBC drivers, and happen to be using SoapUI version higher than 3.5.1 it is a bit more tricky.

You may face this NoClassDefFoundError:

An error occured [oracle/jdbc/Driver], see error log for details
java.lang.NoClassDefFoundError: oracle/jdbc/Driver

If so, try regist zygm0ntering your drivers with registerJdbcDriver function, like I did in this snippet of code:

What a crappy thing!

Comments

You can definitely see your expertise in the work you write.
The world hopes for more passionate writers such as you who are not afraid to
say how they believe. Always go after your heart.

It's going to be end of mine day, however before finish I am reading this fantastic paragraph to increase my experience.

My family every time say that I am wasting my time
here at net, except I know I am getting knowledge every day by reading such pleasant articles.

Thanks , I've just been looking for info approximately this topic for a long time and yours is the greatest I have found out till now. But, what concerning the bottom line? Are you positive in regards to the source?

Nice post. I was checking continuously this blog and I am impressed!
Extremely helpful information specially the last part
:) I care for such information much. I was looking for this
particular info for a long time. Thank you and best of luck.