-->
These old forums are deprecated now and set to read-only. We are waiting for you on our new forums!
More modern, Discourse-based and with GitHub/Google/Twitter authentication built-in.

All times are UTC - 5 hours [ DST ]



Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 1 post ] 
Author Message
 Post subject: LinkageError
PostPosted: Fri Jul 28, 2006 10:04 am 
Newbie

Joined: Fri Jul 28, 2006 9:50 am
Posts: 1
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


Top
 Profile  
 
Display posts from previous:  Sort by  
Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 1 post ] 

All times are UTC - 5 hours [ DST ]


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
© Copyright 2014, Red Hat Inc. All rights reserved. JBoss and Hibernate are registered trademarks and servicemarks of Red Hat, Inc.