java.lang.IllegalArgumentException

Unable to load dataset from "classpath:/termData.xml" using class com.github.springtestdbunit.dataset.FlatXmlDataSetLoader

Samebug tips1

If you're unit testing, you should instantiate only the service and mock the dependencies. If you're testing integration, you should add all the mocking to the configurations file.

Don't give up yet. Our experts can help. Paste your full stack trace to get a solution.

Solutions on the web10386

  • via petrikainulainen.net by Unknown author, 1 year ago
    Unable to load dataset from "classpath:/termData.xml" using class com.github.springtestdbunit.dataset.FlatXmlDataSetLoader
  • via petrikainulainen.net by Unknown author, 11 months ago
    Unable to load dataset from "classpath:/termData.xml" using class com.github.springtestdbunit.dataset.FlatXmlDataSetLoader
  • via petrikainulainen.net by Unknown author, 10 months ago
    Unable to load dataset from "classpath:/termData.xml" using class com.github.springtestdbunit.dataset.FlatXmlDataSetLoader
  • Stack trace

    • java.lang.IllegalArgumentException: Unable to load dataset from "classpath:/termData.xml" using class com.github.springtestdbunit.dataset.FlatXmlDataSetLoader at org.springframework.util.Assert.notNull(Assert.java:112)

    Write tip

    You have a different solution? A short tip here would help you and many other users who saw this issue last week.

    Users with the same issue

    2 times, 1 month ago
    2 times, 2 months ago
    Unknown user
    Once, 3 months ago
    Unknown user
    Once, 6 months ago
    Once, 7 months ago
    190 more bugmates