Hi!
I'm using maven 2.0.4 with the Surefire plugin 2.2 to test a couple of
DAOs set up with Hibernate.
At all tests i get the following exception, and I'm not able to find
the cause, which I suspect lies within DBUnit 2.1...
I realize that this is probably not a Maven2 problem, but as I guess
that many of you use DBUnit, som may recognize it and suggest a
solution.


org.dbunit.dataset.DataSetException:
org.xml.sax.SAXNotSupportedException: not supported setting property
http://xml.org/sax/properties/lexical-handler
      at 
org.dbunit.dataset.xml.FlatXmlProducer.produce(FlatXmlProducer.java:165)
      at org.dbunit.dataset.CachedDataSet.<init>(CachedDataSet.java:71)
      at org.dbunit.dataset.xml.FlatXmlDataSet.<init>(FlatXmlDataSet.java:200)
      at org.dbunit.dataset.xml.FlatXmlDataSet.<init>(FlatXmlDataSet.java:187)
      at 
ks.rah.avik2.dao.DBUnitOperationWrapper.getDataSet(DBUnitOperationWrapper.java:74)
      at 
ks.rah.avik2.dao.DBUnitOperationWrapper.cleanInsert(DBUnitOperationWrapper.java:84)
      at 
ks.rah.avik2.dao.AbstractDaoTestBase.onSetUp(AbstractDaoTestBase.java:65)
      at ks.rah.avik2.dao.TestFunctionDao.onSetUp(TestFunctionDao.java:45)

Grateful for any help!

/B-E

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to