[jdf-users] New comment posted on JBoss Developer Framework

Disqus notifications at disqus.net
Fri Apr 12 07:29:50 EDT 2013



Vineet Reynolds <vineet.reynolds at 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/java/org/jboss/jdf/example/ticketmonster/util/CacheProducer.java )  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%2Fexamples%2Fticket-monster%2Ftutorial%2FIntroduction%2F%23comment-860796772%3AzeX-yKplMuymIKwrIVRhIacPpCY&impression=4904ed6a-a364-11e2-923c-003048dfbae6&type=notification.post.moderator&event=email&behavior=click

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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/jdf-users/attachments/20130412/903775f9/attachment-0001.html 


More information about the jdf-users mailing list