tomee-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jean-Louis MONTEIRO <jeano...@gmail.com>
Subject Re: Cobertura error
Date Mon, 08 Oct 2012 07:56:21 GMT
Maybe, we could filter Cobertura interfaces during scanning and application
validation to avoid such errors and such workarounds.
WDYT?

JLouis

2012/10/8 amber <amber63@hotmail.fr>

> hi Romain,
>
> exact, same error (got some hidden classes ;) )
>
> Last version give me better traces : GRAVE - FAIL ... FooDAOImpl:
>  Ejb
> [FooDAOImpl] implements too many interfaces: [my.company.dao.FooDAO,
> net.sourceforge.cobertura.coveragedata.HasBeenInstrumented]. Use
> @Local(<interface>) or keep a single interface.
>
> After checking all my @stateless classes and adding @Local
> (<interface>.class) , Cobertura works fine :
>
> ...
> @Local (IFoo.class)
> @Stateless
> public class Foo implements IFoo
> ...
>
>
>
>
> thanks again for your help :)
>
>
>
> --
> View this message in context:
> http://openejb.979440.n4.nabble.com/Cobertura-error-tp4657791p4657852.html
> Sent from the OpenEJB User mailing list archive at Nabble.com.
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message