Skip to main content



      Home
Home » Language IDEs » AspectJ » percflow() error
percflow() error [message #65318] Wed, 24 May 2006 11: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:how to compare pointcuts
Next Topic:percflow() error
Goto Forum:
  


Current Time: Sat May 03 00:02:59 EDT 2025

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

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

Back to the top