users@glassfish.java.net

Error deploying Solr under Glassfish

From: Fernando Sánchez Laulhé <fsl_at_terasoft.es>
Date: Wed, 31 Jul 2013 14:11:19 +0200

Hi to all

In trying to deploy *solr.war* under Glassfish 4 the following error occurs

*Error occurred during deployment: Exception while loading the app : CDI
deployment failure:WELD-001408 Unsatisfied dependencies for type
[Set<Service>] with qualifiers [@Default] at injection point
[[BackedAnnotatedParameter] Parameter 1 of [BackedAnnotatedConstructor]
@Inject com.google.common.util.**concurrent.ServiceManager(Set<**Service>)].
*

I have seen this error reported in several trials to deploy war flles. Does
anybody has an on how to overcome this problem

For reference, I am using

   - GlassFish Server Open Source Edition 4.0 (build 89)
   - Apache Solr 4.4.0
   - JDK 1.7.0_25-b15
   - CentOS Linux 6.4

Any idea will be welcome
Fernando