Need help with Hibernate? Read this first:
http://www.hibernate.org/ForumMailingli ... AskForHelp
Hibernate version: 3.1
Mapping documents: n/a
Code between sessionFactory.openSession() and session.close(): n/a
Full stack trace of any exception that occurs:
java.lang.LinkageError: loader constraints violated when linking net/sourceforge/cobertura/coveragedata/ProjectData class
at net.sourceforge.cobertura.coveragedata.ProjectData.loadCoverageDataFromDatafile(ProjectData.java:258)
at net.sourceforge.cobertura.coveragedata.ProjectData.saveGlobalProjectData(ProjectData.java:235)
at net.sourceforge.cobertura.coveragedata.SaveTimer.run(SaveTimer.java:31)
at java.lang.Thread.run(Thread.java:534)
Name and version of the database you are using:DB2 8
The generated SQL (show_sql=true): n/a
Debug level Hibernate log excerpt: n/a
We're doing coverage analyses using cobertura. We found out that cobertura is also using the library ASM. In the forums we found out that there might be a version conflict since cobertura is using a more recent version of ASM. We are not including the ASM of cobertura in our classpath and in our WAR (only the 1.5.3 version of ASM as provided with hibernate). The error occurs when the server is shutting down since this is the moment when cobertura is creating the .ser coverage file.
We would like to know how we can make hibernate and cobertura work together.
Thanks in advance,
Bastiaan