Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Language IDEs » AJDT » percflow() error
percflow() error [message #65318] Wed, 24 May 2006 15:31
Eclipse User
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
Previous Topic:how to compare pointcuts
Next Topic:percflow() error
Goto Forum:
  


Current Time: Tue Sep 30 19:55:28 GMT 2014

Powered by FUDForum. Page generated in 0.02991 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software