Tamás Kimmel Yes, you're right. The problem is that Weld shares annotation metadata accross the whole app (EAR in this case). Radoslaw Wisniewski mentioned the workaround - share the lib in EAR/lib directory. In theory, we could modify org.jboss.weld.resolution.QualifierInstance to fall back to full reflection (i.e. skip org.jboss.weld.metadata.cache.MetaAnnotationStore lookup) for this particular case. Matej Novotny WDYT? |