Closed GoogleCodeExporter closed 8 years ago
Hmm had more problems here, using version 3.1 now and implemented also
TestMonitoringInterceptor.InvokeContext.getTimer()
Maybe it's because i use Eclipse embedded maven together with Open JDK 7
Original comment by andrePan...@gmail.com
on 11 Dec 2013 at 12:42
I do not understand why you have this problem.
Because there is already a dependency on the ejb-api:
<dependency>
<groupId>javax.ejb</groupId>
<artifactId>ejb-api</artifactId>
<version>3.0</version>
<scope>provided</scope>
</dependency>
declared in the pom.xml:
http://code.google.com/p/javamelody/source/browse/trunk/javamelody-core/pom.xml
And the ejb-api already includes javax.interceptor.InvocationContext interface.
Can you try again without javax.interceptor-api?
Original comment by evernat@free.fr
on 11 Dec 2013 at 12:45
I tried it, I got this problem :) But I think I know whats happening here.
I use Eclipse with JBoss Tools with embedded Maven.
This embedded JBossTools-Maven intercepts this ejb-api dependency and creates a
pseudo POM and directly injects the necessary libs...but forgetting the
interceptor-api along this line.
So never mind and close...not that many people will use this build setup. I
only use it in a VM because I was to lazy to install maven seperately ;)
I just changes some stuff to get it working in eclipse for me, like adding the
dependency and implementing an additional new method.
Original comment by andrePan...@gmail.com
on 11 Dec 2013 at 4:29
ok, thanks
Original comment by evernat@free.fr
on 11 Dec 2013 at 9:42
Original issue reported on code.google.com by
andrePan...@gmail.com
on 11 Dec 2013 at 12:22