<html><head></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><font class="Apple-style-span" face="Arial"><font class="Apple-style-span" size="3"><span class="Apple-style-span" style="font-size: 12px;">Hi all,</span></font></font><div><font class="Apple-style-span" face="Arial"><font class="Apple-style-span" size="3"><span class="Apple-style-span" style="font-size: 12px;"><br></span></font></font></div><div><font class="Apple-style-span" face="Arial"><font class="Apple-style-span" size="3"><span class="Apple-style-span" style="font-size: 12px;">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...</span></font></font></div><div><font class="Apple-style-span" face="Arial"><font class="Apple-style-span" size="3"><span class="Apple-style-span" style="font-size: 12px;"><br></span></font></font></div><div><font class="Apple-style-span" face="Arial"><font class="Apple-style-span" size="3"><span class="Apple-style-span" style="font-size: 12px;">The only way to get rid of it is by disabling guice's custom loader by adding this flag to your command line : </span></font></font><font class="Apple-style-span" face="Arial"><font class="Apple-style-span" size="3"><span class="Apple-style-span" style="font-size: 12px;">-Dguice.custom.loader=false</span></font></font></div><div><font class="Apple-style-span" face="Arial"><font class="Apple-style-span" size="3"><span class="Apple-style-span" style="font-size: 12px;"><br></span></font></font></div><div><font class="Apple-style-span" face="'Lucida Grande'" size="3"><span class="Apple-style-span" style="font-size: 11px;"><p style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; font: normal normal normal 11px/normal Monaco; min-height: 15px; "><font class="Apple-style-span" face="Arial"><font class="Apple-style-span" size="3"><span class="Apple-style-span" style="font-size: 12px;">You will also need to add this library to your pom.xml <br class="webkit-block-placeholder"></span></font></font></p><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; font: normal normal normal 11px/normal Monaco; "><font class="Apple-style-span" face="Arial"><font class="Apple-style-span" size="3"><span class="Apple-style-span" style="font-size: 12px;"> </span></font></font><font class="Apple-style-span" face="Arial"><font class="Apple-style-span" size="3"><span class="Apple-style-span" style="font-size: 12px;"><</span></font></font><font class="Apple-style-span" face="Arial"><font class="Apple-style-span" size="3"><span class="Apple-style-span" style="font-size: 12px;">dependency</span></font></font><font class="Apple-style-span" face="Arial"><font class="Apple-style-span" size="3"><span class="Apple-style-span" style="font-size: 12px;">></span></font></font></div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; font: normal normal normal 11px/normal Monaco; "><font class="Apple-style-span" face="Arial"><font class="Apple-style-span" size="3"><span class="Apple-style-span" style="font-size: 12px;"><span class="Apple-tab-span" style="white-space:pre">        </span><</span></font></font><font class="Apple-style-span" face="Arial"><font class="Apple-style-span" size="3"><span class="Apple-style-span" style="font-size: 12px;">groupId</span></font></font><font class="Apple-style-span" face="Arial"><font class="Apple-style-span" size="3"><span class="Apple-style-span" style="font-size: 12px;">></span></font></font><font class="Apple-style-span" face="Arial"><font class="Apple-style-span" size="3"><span class="Apple-style-span" style="font-size: 12px;">javax.inject</span></font></font><font class="Apple-style-span" face="Arial"><font class="Apple-style-span" size="3"><span class="Apple-style-span" style="font-size: 12px;"></</span></font></font><font class="Apple-style-span" face="Arial"><font class="Apple-style-span" size="3"><span class="Apple-style-span" style="font-size: 12px;">groupId</span></font></font><font class="Apple-style-span" face="Arial"><font class="Apple-style-span" size="3"><span class="Apple-style-span" style="font-size: 12px;">></span></font></font></div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; font: normal normal normal 11px/normal Monaco; "><font class="Apple-style-span" face="Arial"><font class="Apple-style-span" size="3"><span class="Apple-style-span" style="font-size: 12px;"><span class="Apple-tab-span" style="white-space:pre">        </span><</span></font></font><font class="Apple-style-span" face="Arial"><font class="Apple-style-span" size="3"><span class="Apple-style-span" style="font-size: 12px;">artifactId</span></font></font><font class="Apple-style-span" face="Arial"><font class="Apple-style-span" size="3"><span class="Apple-style-span" style="font-size: 12px;">></span></font></font><font class="Apple-style-span" face="Arial"><font class="Apple-style-span" size="3"><span class="Apple-style-span" style="font-size: 12px;">javax.inject</span></font></font><font class="Apple-style-span" face="Arial"><font class="Apple-style-span" size="3"><span class="Apple-style-span" style="font-size: 12px;"></</span></font></font><font class="Apple-style-span" face="Arial"><font class="Apple-style-span" size="3"><span class="Apple-style-span" style="font-size: 12px;">artifactId</span></font></font><font class="Apple-style-span" face="Arial"><font class="Apple-style-span" size="3"><span class="Apple-style-span" style="font-size: 12px;">></span></font></font></div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; font: normal normal normal 11px/normal Monaco; "><font class="Apple-style-span" face="Arial"><font class="Apple-style-span" size="3"><span class="Apple-style-span" style="font-size: 12px;"><span class="Apple-tab-span" style="white-space:pre">        </span><</span></font></font><font class="Apple-style-span" face="Arial"><font class="Apple-style-span" size="3"><span class="Apple-style-span" style="font-size: 12px;">version</span></font></font><font class="Apple-style-span" face="Arial"><font class="Apple-style-span" size="3"><span class="Apple-style-span" style="font-size: 12px;">></span></font></font><font class="Apple-style-span" face="Arial"><font class="Apple-style-span" size="3"><span class="Apple-style-span" style="font-size: 12px;">1</span></font></font><font class="Apple-style-span" face="Arial"><font class="Apple-style-span" size="3"><span class="Apple-style-span" style="font-size: 12px;"></</span></font></font><font class="Apple-style-span" face="Arial"><font class="Apple-style-span" size="3"><span class="Apple-style-span" style="font-size: 12px;">version</span></font></font><font class="Apple-style-span" face="Arial"><font class="Apple-style-span" size="3"><span class="Apple-style-span" style="font-size: 12px;">></span></font></font></div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; font: normal normal normal 11px/normal Monaco; "><font class="Apple-style-span" face="Arial"><font class="Apple-style-span" size="3"><span class="Apple-style-span" style="font-size: 12px;"></</span></font></font><font class="Apple-style-span" face="Arial"><font class="Apple-style-span" size="3"><span class="Apple-style-span" style="font-size: 12px;">dependency</span></font></font><font class="Apple-style-span" face="Arial"><font class="Apple-style-span" size="3"><span class="Apple-style-span" style="font-size: 12px;">></span></font></font></div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; font: normal normal normal 11px/normal Monaco; "><font class="Apple-style-span" face="Arial"><font class="Apple-style-span" size="3"><span class="Apple-style-span" style="font-size: 12px;"><br></span></font></font></div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; font: normal normal normal 11px/normal Monaco; "><font class="Apple-style-span" face="Arial" size="3"><span class="Apple-style-span" style="font-size: 12px;">Hope it helps,</span></font></div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; font: normal normal normal 11px/normal Monaco; "><font class="Apple-style-span" face="Arial" size="3"><span class="Apple-style-span" style="font-size: 12px;"><br></span></font></div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; font: normal normal normal 11px/normal Monaco; "><font class="Apple-style-span" face="Arial" size="3"><span class="Apple-style-span" style="font-size: 12px;">Cheers,</span></font></div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; font: normal normal normal 11px/normal Monaco; "><font class="Apple-style-span" face="Arial"><font class="Apple-style-span" size="3"><span class="Apple-style-span" style="font-size: 12px;"><br></span></font></font></div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; font: normal normal normal 11px/normal Monaco; "><font class="Apple-style-span" face="Arial"><font class="Apple-style-span" size="3"><span class="Apple-style-span" style="font-size: 12px;">Philippe</span></font></font></div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; font: normal normal normal 11px/normal Monaco; "><font class="Apple-style-span" face="Arial" size="3"><span class="Apple-style-span" style="font-size: 12px;"><br></span></font></div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; font: normal normal normal 11px/normal Monaco; "><font class="Apple-style-span" face="Arial" size="3"><span class="Apple-style-span" style="font-size: 12px;">P.S.: I spent hours trying to figure out what was happening since all the libs where on the classpath </span></font></div></span></font></div></body></html>