Thanks Andy,
My aspect ( package iep.perf.MyAspect)  is not woven itself. The bugs that
you pointed are corresponding to my problem.
My aspect is in another package than
'org.objectweb.jonas.webapp.jonasadmin..*'
I will try adding id in the weaver/include tag and returns here to report
the result.

Best regards
 
 
Jean-Louis Pasturel
[EMAIL PROTECTED]
 


-----Message d'origine-----
De : [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] De la part de Andy Clement
Envoyé : mardi 13 novembre 2007 17:25
À : [email protected]
Objet : Re: [aspectj-users] Why i get java.lang.NoSuchFieldError ?

You must ensure the aspect type representing the XML concrete aspect
itself is woven.  See these two bugs in bugzilla:

https://bugs.eclipse.org/bugs/show_bug.cgi?id=166647

https://bugs.eclipse.org/bugs/show_bug.cgi?id=186322

What is the name you are giving your generated aspect?  Is it being
put into the package 'org.objectweb.jonas.webapp.jonasadmin..*' which
would enable it to be included by the <weaver> include statement?

Andy.

On 13/11/2007, Jean-Louis PASTUREL
<[EMAIL PROTECTED]> wrote:
>
>
>
>
> 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 :
>
>
>
> [EMAIL PROTECTED] 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]
>
> [EMAIL PROTECTED] 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 : [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED] De la part de
> Jean-Louis PASTUREL
>  Envoyé : mardi 13 novembre 2007 09:04
>  À : [email protected]
>  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
>
>
>
> *********************************
>  This message and any attachments (the "message") are confidential and
> intended solely for the addressees.
>  Any unauthorised use or dissemination is prohibited.
>  Messages are susceptible to alteration.
>  France Telecom Group shall not be liable for the message if altered,
> changed or falsified.
>  If you are not the intended addressee of this message, please cancel it
> immediately and inform the sender.
>  ********************************
>
> *********************************
>  This message and any attachments (the "message") are confidential and
> intended solely for the addressees.
>  Any unauthorised use or dissemination is prohibited.
>  Messages are susceptible to alteration.
>  France Telecom Group shall not be liable for the message if altered,
> changed or falsified.
>  If you are not the intended addressee of this message, please cancel it
> immediately and inform the sender.
>  ********************************
>
> _______________________________________________
> aspectj-users mailing list
> [email protected]
> https://dev.eclipse.org/mailman/listinfo/aspectj-users
>
>
_______________________________________________
aspectj-users mailing list
[email protected]
https://dev.eclipse.org/mailman/listinfo/aspectj-users


*********************************
This message and any attachments (the "message") are confidential and intended 
solely for the addressees. 
Any unauthorised use or dissemination is prohibited.
Messages are susceptible to alteration. 
France Telecom Group shall not be liable for the message if altered, changed or 
falsified.
If you are not the intended addressee of this message, please cancel it 
immediately and inform the sender.
********************************
_______________________________________________
aspectj-users mailing list
[email protected]
https://dev.eclipse.org/mailman/listinfo/aspectj-users

Reply via email to