percflow() error [message #65318] |
Wed, 24 May 2006 15:31 |
Eclipse User![Friend of Eclipse Friend](/donate/web-api/friends_decorator.php?email=) |
|
|
|
Originally posted by: lorenzo_clementi.sosto.net
I'm trying to run the examples of Chapter 11 of the book "AspectJ in
Action" (http://www.manning.com/laddad/), using the last Eclipse release
(3.1.2) and the last AJDT plugin (1.5.1).
Everything works fine as long as the code contains no call to the
percflow() method. On the other hand, when there is a call to that
method, like here:
public abstract aspect JDBCTransactionAspect
percflow(topLevelTransactedOperation()) {
....
}
the execution produces the following error:
Exception in thread "main" java.lang.NoSuchFieldError: ajc$cflowCounter$2
at banking.AccountJDBCImpl.credit(AccountJDBCImpl.java:1)
at banking.Test.main(Test.java:9)
The code must be correct, since it has been tested by the book's author.
Does anyone have an idea of what could cause this error?
Thanks
|
|
|
Powered by
FUDForum. Page generated in 0.03046 seconds