Hi all,

if you try to use jClouds or Infinispan S3 cache store with cglib, as does 
qi4j, you will probably receive an ugly exception telling you that cglib is 
nowhere to be found...

The only way to get rid of it is by disabling guice's custom loader by adding 
this flag to your command line : -Dguice.custom.loader=false

You will also need to add this library to your pom.xml 
 <dependency>
        <groupId>javax.inject</groupId>
        <artifactId>javax.inject</artifactId>
        <version>1</version>
</dependency>

Hope it helps,

Cheers,

Philippe

P.S.: I spent hours trying to figure out what was happening since all the libs 
where on the classpath 
_______________________________________________
qi4j-dev mailing list
[email protected]
http://lists.ops4j.org/mailman/listinfo/qi4j-dev

Reply via email to