Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Language IDEs » AJDT » percflow() error
percflow() error [message #593893] Wed, 24 May 2006 15:31
Eclipse UserFriend
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:percflow() error
Next Topic:My Aspect is not run
Goto Forum:
  


Current Time: Sun Nov 23 18:59:58 GMT 2014

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

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