-
-
Notifications
You must be signed in to change notification settings - Fork 6
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
java.lang.NoClassDefFoundError: org/dbunit/dataset/ITableMetaData when run test with@ExpectedDatabase #151
Comments
Could you provide the name of the class that cannot be found please? |
The class that cannot be found is org/dbunit/dataset/ITableMetaData.I've had this issue resolved by adding dbunit dependency to pom. |
But I have another issue with annotation @DatabaseSetup("OtpSendcode.xml") when I run test case.The dataset xml file is in the same directory as test case. java.lang.IllegalArgumentException: Unable to load dataset from "com/dory/pais/cases/app/OtpSendcode.xml" using class com.github.springtestdbunit.dataset.FlatXmlDataSetLoader
|
My Project: Spring boot 2.3.3+testng7.1.0+spring-test-dbunit-core5.2.0
run test method as below and get NoClassDefFoundError,need further help.
The text was updated successfully, but these errors were encountered: