java.lang.NoClassDefFoundError: oracle/xdb/XMLType error for tests run with Ready Api maven plugin
I have a test suite with JDBC steps that it's failling in Jenkins that uses maven plugin with error java.lang.NoClassDefFoundError: oracle/xdb/XMLType even if I'm using the correct driver. The same driver is used in other projects that are not failing and also for the same suite, when it is run from test runner it is not failing.
According to the Receiving class not found exception of oracle.xdb.XMLType for Oracle DB query? article, the issue is related to the required database library files. You may need to add the following files to the classpath:
- xdb6.jar (since Oracle Database 220.127.116.11)
Please see the following articles for details:
Did my reply answer your question? Give Kudos or Accept it as a Solution to help others. ⬇️⬇️⬇️