dependency injection - WELD-001408 Unsatisfied dependencies for type [EmbeddedCacheManager] with qualifiers [@Default] -


i getting exception:

weld-001408 unsatisfied dependencies type [embeddedcachemanager] qualifiers [@default] @ injection point [[parameter 1] of [constructor] @inject public org.jboss.jdf.example.ticketmonster.service.seatallocationservice(embeddedcachemanager)]. 

does have tip? have confirmed beans.xml in src\main\webapp\web-inf , not publishing more 1 jar. it's 1 project.

@inject public seatallocationservice(embeddedcachemanager manager) {      configuration allocation = new configurationbuilder()         .transaction()         .transactionmode(transactionmode.transactional)          .transactionmanagerlookup(new jbosstransactionmanagerlookup())          .lockingmode(lockingmode.pessimistic)          .loaders()         .addfilecachestore()         .purgeonstartup(true)          .build();      manager.defineconfiguration(allocations, allocation);      this.cache = manager.getcache(allocations);  } 

pom snippet:

<dependencymanagement>     ...     <artifactid>jboss-javaee-6.0-with-infinispan</artifactid>     ... </dependencymanagement>  <dependencies>     ...     <artifactid>infinispan-core</artifactid>     ... </dependencies> 

my guess infinispan class , don't have infinispan on classpath.


Comments

Popular posts from this blog

android - getbluetoothservice() called with no bluetoothmanagercallback -

sql - ASP.NET SqlDataSource, like on SelectCommand -

ios - Undefined symbols for architecture armv7: "_OBJC_CLASS_$_SSZipArchive" -