|
From: JRSofty <jr...@gm...> - 2023-01-08 08:29:23
|
Hello, So I've used DBUnit briefly a few years ago, and decided that it would be a good part of my current projects tests. I'm building my project in Maven so I included the DBUnit 2.7.3 version in my POM, no problems no errors, jar files appeared as expected. Then I wanted to create a new test case so I created a class and had it extend the DBTestCase class that is located in the DBUnit package org.dbunit. My IDE (I'm using Eclipse's most recent version) I receive the following error " The hierarchy of the type MyTestClass is inconsistent " Which means something is missing, but I have, as far as I know, included all dependencies that are needed for this to work. What I find most interesting is that when I downgraded to DBUnit 2.7.0, this error no longer occurs and I can work as normal. Once I bump it up to 2.7.1 the error appears once more. Could you provide information on what has changed between 2.7.0 and 2.7.1 so I can identify what is missing in my project setup? I really would like to use the most recent version of the library if possible. -- Regards Jason Reed http://jrsofty1.stinkbugonline.com |