the problem i have is:

i have a struts2 hibernate 3 and spring 2 env. setup with appfuse 2.0m5
when i run cobertura plugin 2.1 i get a coverage of 100%
when i run vobertura plugin 2.0 i get the following error:
--------------------------------------------------------------------------------------------------------------------
[INFO] [hibernate3:hbm2ddl {execution: default}]
[INFO] Configuration XML file loaded:
/home/tibi/eclipseworkspace/incipio-match/src/main/resources/hibernate.cfg.xml
[INFO] Configuration XML file loaded:
/home/tibi/eclipseworkspace/incipio-match/src/main/resources/hibernate.cfg.xml
[INFO]
------------------------------------------------------------------------
[ERROR] FATAL ERROR
[INFO]
------------------------------------------------------------------------
[INFO] Unable to load class declared as <mapping
class="nl.incipio.match.model.Candidate"/> in the configuration:
[INFO]
------------------------------------------------------------------------
[INFO] Trace
org.hibernate.MappingException: Unable to load class declared as <mapping
class="nl.incipio.match.model.Candidate"/> in the configuration:
        at
org.hibernate.cfg.AnnotationConfiguration.parseMappingElement(AnnotationConfiguration.java:545)
        at
org.hibernate.cfg.Configuration.parseSessionFactory(Configuration.java:1479)

--------------------------------------------------------------------------------------------------------------------
when i remove the mappings from the hibernate files cobertura will run but
my test will not.




-- 
View this message in context: 
http://www.nabble.com/Code-Coverage-Plugins-with-Maven-2-tf4510331s177.html#a12864156
Sent from the Maven - Users mailing list archive at Nabble.com.


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

Reply via email to