java.lang.NoClassDefFoundError: oracle/xdb/XMLType error for tests run with Ready Api maven plugin
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-13-2016
07:35 AM
04-13-2016
07:35 AM
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.
1 REPLY 1
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-27-2017
02:35 AM
07-27-2017
02:35 AM
Hi anamv,
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:
- xdb.jar
- xdb6.jar (since Oracle Database 11.2.0.3)
- xmlparserv2.jar
Please see the following articles for details:
https://mvnrepository.com/artifact/oracle/xdb/1.0
Did my reply answer your question? Give Kudos or Accept it as a Solution to help others. ⬇️⬇️⬇️
