[infinispan-dev] Hotwo : cglib and guice living in perfect harmony

Manik Surtani manik at jboss.org
Mon Dec 14 07:30:46 EST 2009


Thanks for sharing this info!

On 13 Dec 2009, at 23:18, philippe van dyck wrote:

> 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 
> _______________________________________________
> infinispan-dev mailing list
> infinispan-dev at lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/infinispan-dev

--
Manik Surtani
manik at jboss.org
Lead, Infinispan
Lead, JBoss Cache
http://www.infinispan.org
http://www.jbosscache.org




-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/infinispan-dev/attachments/20091214/f2cb1808/attachment-0002.html 


More information about the infinispan-dev mailing list