Hi.

My code compiles cleanly just with the basic guice.jar but when I try
to run some test I get the following error:

java.lang.NoClassDefFoundError: [Lorg/aopalliance/intercept/
MethodInterceptor;
        at java.lang.Class.getDeclaredMethods0(Native Method)
        at java.lang.Class.privateGetDeclaredMethods(Class.java:2395)
        at java.lang.Class.getDeclaredMethods(Class.java:1763)
        at com.google.inject.internal.ProviderMethodsModule.getProviderMethods
(ProviderMethodsModule.java:78)
        at com.google.inject.internal.ProviderMethodsModule.configure
(ProviderMethodsModule.java:70)
        at com.google.inject.spi.Elements$RecordingBinder.install
(Elements.java:223)
        at com.google.inject.spi.Elements$RecordingBinder.install
(Elements.java:232)
        at com.google.inject.AbstractModule.install(AbstractModule.java:118)


Isnt aopalliance an optional dependency that you throw in just when
you use guice AOP?

Thanks!

PD: Obviously I'm NOT using AOP, just simple DI
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"google-guice" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/google-guice?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to