Vineet Reynolds <vineet.reynolds(a)gmail.com> wrote, in response to Demetrio:
Demetrio, I suspect you're missing the CacheProducer class (see
https://github.com/jboss-jdf/ticket-monster/blob/master/demo/src/main/jav...
) in your project. It produces the EmbeddedCacheManager instance, and hence the reason
why you see the warnings in Eclipse, and the deployment failure. Your project POM does
appear to be correct though. Infinispan Core 5.1.2.Final is the dependency to be used.
As an aside, the JDG tutorial will be added to contain instructions involving the classes
needed for configuring JDG. This is in the works. Many thanks for reporting all of these.
IP address: 209.132.188.34
Link to comment:
http://redirect.disqus.com/url?url=http%3A%2F%2Fjboss.org%2Fjdf%2Fexample...
Demetrio wrote:
Vineet, thanks for your replying. Nevertheless, I am using exactly the source from the git
and so, in my project, already there is the import of EmbeddedCacheManager both in
SeatAllocationService and CartStore and I am getting the warning "No bean is eligible
for injection to the injection point [JSR-299 §5.2.1]" on the line
"@Inject
public SeatAllocationService(EmbeddedCacheManager manager) {..."
When I tried to deploy the project I get the error "WELD-001408 Unsatisfied
dependencies for type [EmbeddedCacheManager] " as previously mentioned. This is my
first use of Infinispan and at least in the tutorial doens't say to configure nothing
further the marvem sets. I have confirmed that I have the jar in the project library
(.../.m2/repository/org/infinispan/infinispan-core/5.1.2.FINAL/infini...
-----
Options: You can moderate through email. Respond in the body with "Delete".
Reply with "Like" to like this comment, or respond with anything else to approve
this comment and post your message as a reply comment.
Or use the moderate panel:
http://jdf.disqus.com/admin/moderate/#/pending
Stop receiving notifications when new comments are posted:
http://disqus.com/account/#notifications