first of all thanks for your input. I checked the META-INF/aop-ajc.xml file in the AspectJ project and added the weaver options to it and also the include for the aspect.
But when I start the launchconfig, Eclipse deletes the include tag. And the debug only prints out like this [WeavingURLClassLoader] debug weaving '.framework.preferences.PreferenceGroup' If I change the line <launchConfiguration type="org.eclipse.ajdt.launching.AspectJLTWApplication"> to<launchConfiguration type="org.eclipse.jdt.launching.localJavaApplication"> the launch target works. Changing back to AspectJLTWApplication let it fails again. ----- Ursprüngliche Message ----- Von: oroger <[email protected]> An: [email protected] Cc: Gesendet: 14:35 Mittwoch, 14.September 2011 Betreff: Re: [aspectj-users] ServiceConfigurationError Error with AspectJ Load-Time Weaving So you are using http://www.eclipse.org/aspectj/doc/released/devguide/ltw-configuration.html LTW I am far from begin an AspectJ expert but did you try to : 1- enable debug and/or verbose (<weaver options="-verbose -debug">) 2- if it is not done already, limit the scope of the aspect to your class package only (<include within="com.yourcompany.*"/>) I might give us some clue to find where the error come from. Hope this helps, Olivier -- View this message in context: http://aspectj.2085585.n4.nabble.com/ServiceConfigurationError-Error-with-AspectJ-Load-Time-Weaving-tp3812526p3812687.html Sent from the AspectJ - users mailing list archive at Nabble.com. _______________________________________________ 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
