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

Emmanuel Bernard emmanuel at hibernate.org
Mon Dec 14 07:33:26 EST 2009


Are you 100% using 330 or are you Guice specific?
In other words, would Weld work? (they don't use CGlib AFAIK).



On 14 déc. 2009, at 13:30, Manik Surtani wrote:

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

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


More information about the infinispan-dev mailing list