Try to upgrade Ant or use "forke" to execute tests outside Ant JVM, xml parser loaded by Ant conflicts with hibernate.
> Just found this entry in the FAQ about junit, will give that a try first. > Sorry for bugging the list. (Although it would be nice to know the jars and > versions that are necessary). > > -warner > > ----- Original Message ----- > From: "Warner Onstine" <[EMAIL PROTECTED]> > To: <[EMAIL PROTECTED]> > Sent: Tuesday, January 14, 2003 5:31 PM > Subject: Re: [Hibernate] IncompatibleClassChangeError when trying to create > a datastore > > > > Now when I add jars and attempt again with the latest I get the following: > > > > Testcase: testInitConnection took 2.041 sec > > Caused an ERROR > > loader constraints violated when linking org/w3c/dom/Node class > > java.lang.LinkageError: loader constraints violated when linking > > org/w3c/dom/Node class > > at cirrus.hibernate.map.Root.<init>(Root.java:116) > > at cirrus.hibernate.impl.DatastoreImpl.store(DatastoreImpl.java:106) > > at cirrus.hibernate.impl.DatastoreImpl.storeFile(DatastoreImpl.java:71) > > > > all help is greatly appreciated. > > > > -warner > > ----- Original Message ----- > > From: "Warner Onstine" <[EMAIL PROTECTED]> > > To: <[EMAIL PROTECTED]> > > Sent: Tuesday, January 14, 2003 4:47 PM > > Subject: [Hibernate] IncompatibleClassChangeError when trying to create a > > datastore > > > > > > > Hi all, > > > I am receiving the following when trying to create a datastore as > > described > > > here: > > > > > > http://hibernate.bluemars.net/hib_docs/reference/html/session-configuration. > > > html > > > > > > I have tried both the .storeFile() and .storeClass with the same > results. > > > This is part of my jUnit test output below regarding the error. I am > using > > > 1.2-rc2. I will download the latest and see if that improves things. > (note > > > now I get some kind of linkage error. > > > > > > What I've concluded is that I may be missing some jars from my > classpath, > > > which one's and versions do I absolutely need in order to use this > (please > > > note - I am doing an example of different O/R tools so I absolutely need > > the > > > versions of the jars not just drop all the one's in lib into your > > > classpath). > > > > > > Thanks for the help. > > > > > > 0 [main] INFO impl.DatastoreImpl - Mapping file: > > > > > > /Users/warner/cvs/personal/ortools-examples/src/java/com/warneronstine/ortoo > > > ls/hibernate/om/Group.hbm.xml > > > 124 [main] INFO helpers.XMLHelper - Parsing XML: > > > > > > /Users/warner/cvs/personal/ortools-examples/src/java/com/warneronstine/ortoo > > > ls/hibernate/om/Group.hbm.xml > > > ------------- ---------------- --------------- > > > > > > Testcase: testInitConnection took 2.485 sec > > > Caused an ERROR > > > null > > > java.lang.IncompatibleClassChangeError > > > at > cirrus.hibernate.helpers.XMLHelper.parseInputSource(XMLHelper.java:48) > > > at cirrus.hibernate.helpers.XMLHelper.parseFile(XMLHelper.java:22) > > > at cirrus.hibernate.impl.DatastoreImpl.storeFile(DatastoreImpl.java:68) > > > at > > > > > > com.warneronstine.ortools.hibernate.examples.HibernateConnection.initConnect > > > ion(HibernateConnection.java:35) > > > > > > -warner > > > > > > > > > > > > ------------------------------------------------------- > > > This SF.NET email is sponsored by: Take your first step towards giving > > > your online business a competitive advantage. Test-drive a Thawte SSL > > > certificate - our easy online guide will show you how. Click here to get > > > started: http://ads.sourceforge.net/cgi-bin/redirect.pl?thaw0027en > > > _______________________________________________ > > > hibernate-devel mailing list > > > [EMAIL PROTECTED] > > > https://lists.sourceforge.net/lists/listinfo/hibernate-devel > > > > > > > > > > > ------------------------------------------------------- > > This SF.NET email is sponsored by: Take your first step towards giving > > your online business a competitive advantage. Test-drive a Thawte SSL > > certificate - our easy online guide will show you how. Click here to get > > started: http://ads.sourceforge.net/cgi-bin/redirect.pl?thaw0027en > > _______________________________________________ > > hibernate-devel mailing list > > [EMAIL PROTECTED] > > https://lists.sourceforge.net/lists/listinfo/hibernate-devel > > > > > > ------------------------------------------------------- > This SF.NET email is sponsored by: Take your first step towards giving > your online business a competitive advantage. Test-drive a Thawte SSL > certificate - our easy online guide will show you how. Click here to get > started: http://ads.sourceforge.net/cgi-bin/redirect.pl?thaw0027en > _______________________________________________ > hibernate-devel mailing list > [EMAIL PROTECTED] > https://lists.sourceforge.net/lists/listinfo/hibernate-devel ------------------------------------------------------- This SF.NET email is sponsored by: Take your first step towards giving your online business a competitive advantage. Test-drive a Thawte SSL certificate - our easy online guide will show you how. Click here to get started: http://ads.sourceforge.net/cgi-bin/redirect.pl?thaw0027en _______________________________________________ hibernate-devel mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/hibernate-devel
