it has a class ( controllers.HealthWatcherFacade ) that implements an interface through "introduction" construction. I need to generate stubs and skeletons for this class, however after the correct ant instrumentation occurs the error:
[aopc] Build Successful: 3011 ms generate-rmi: [rmic] RMI Compiling 1 class to ##SYSTEM###/bin [rmic] error: Class org.jboss.aop.Advised not found in class controllers.HealthWatcherFacade. [rmic] error: Class org.jboss.aop.Advised not found in controllers.HealthWatcherFacade. [rmic] 2 errors BUILD FAILED ...
hi, when you introduce an interface to a class, that class will always also implement Advised. i do not know why it fails to compile, but it might be because the rmic do not have Advised in its classpath?
- will it work to aopc after rmic?