Win a copy of The Way of the Web Tester: A Beginner's Guide to Automating Tests this week in the Testing forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

dbunit: NoSuchTableException

Antonio Diaz Sanchez
Posts: 6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator


I am trying to load an XML file into a HSQLDB (2.4.7) memory database by using DBUnit (1.8). I always get a "NoSuchTableException", and definitely I don't know what I am doing wrong.

Here is the code (it is very simple):

An the XML is being read is:

The error message is:

4730 main INFO org.dbunit.database.DatabaseDataSet - Table 'plasoa' not found in tableMap=org.dbunit.dataset.OrderedTableNameMap[_tableNames=[], _tableMap={}, _caseSensitiveTableNames=false]
Exception in thread "main" org.dbunit.dataset.NoSuchTableException: plasoa
at org.dbunit.database.DatabaseDataSet.getTableMetaData(
at org.dbunit.operation.DeleteAllOperation.execute(
at org.dbunit.operation.CompositeOperation.execute(
at extracttbo.Main.main(

What is wrong?

  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic