I complete my post :
This pointcut :
_expression_="within(org.objectweb.jonas.webapp.jonasadmin..*)
AND call(public * org.objectweb.jonas.webapp.jonasadmin..*(..)) AND !cflowbelow(call(public
* org.objectweb.jonas.webapp.jonasadmin..*(..)) ) "?
doesn’t work with
the element <weaver> filled like this :
<weaver>
<include
within="org.objectweb.jonas.webapp.jonasadmin..*"/>
</weaver>
When I comment the
include tag, it runs ! but there are error send to console :
[JClassLoader@5164f0]
error can't determine superclass of missing type org.objec
tweb.jonas_ws.deployment.lib.MappingFileManager
when weaving type
org.objectweb.jonas_ws.deployment.api.ServiceRefDesc
when weaving classes
when weaving
[Xlint:cantFindType]
[JClassLoader@5164f0]
error can't determine superclass of missing type org.objec
tweb.jonas_ws.deployment.lib.MappingFileManager
when weaving type
org.objectweb.jonas_ws.deployment.api.ServiceRefDesc
when weaving classes
when weaving
Is there a precedence between
the within clause of aspctj/concrete-aspect tag and the within clause of
weaver/include tag ?
Cordialement / Best regards
Jean-Louis PASTUREL
De :
aspectj-users-bounces@xxxxxxxxxxx [mailto:aspectj-users-bounces@xxxxxxxxxxx] De la part de Jean-Louis PASTUREL
Envoyé : mardi 13 novembre
2007 09:04
À : aspectj-users@xxxxxxxxxxx
Objet : [aspectj-users] Why i
get java.lang.NoSuchFieldError ?
HI
I get this Exception
java.lang.NoSuchFieldError:ajc$cfowCounter$0
With a pointcut defined in aop.xml like this :
_expression_="within(org.objectweb.jonas.webapp.jonasadmin..*)
AND call(public * org.objectweb.jonas.webapp.jonasadmin..*(..)) AND !cflowbelow(call(public
* org.objectweb.jonas.webapp.jonasadmin..*(..)) ) "?
When i remove the !cflowbelow(..) condition
there is no error.
With AspectJ lastbuild :
aspectj-DEVELOPMENT-20071112180727.jar. Running on Windows XP, JRockit 1.5.0_11
Cordialement / Best
regards
Jean-Louis PASTUREL