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

Disqus notifications at disqus.net
Thu Apr 11 13:49:27 EDT 2013



Demetrio <DemeCarv_Emphasys at prestadorliberty.com.br> wrote, in response to Vineet Reynolds:

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
 @bcd1b8f07c01d2004c7726b924e9d470:disqus 
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/infinispan-core-5‌​.1.2.FINAL-sources.jar). Should I install some libs or start some service? I am asking this because in my opinion the warning suggests that it is not find the lib even though it is in the lib of the project.

IP address: 187.8.230.31
Link to comment: http://redirect.disqus.com/url?url=http%3A%2F%2Fjboss.org%2Fjdf%2Fexamples%2Fticket-monster%2Ftutorial%2FIntroduction%2F%23comment-859884965%3A_sQYEMaQhYitxA16Acwua1rRhD4&impression=26f5399e-a2d0-11e2-8427-00259035ce46&type=notification.post.moderator&event=email&behavior=click

Vineet Reynolds wrote:

Hi Demetrio, thanks for reporting this. I'll try and address both of your problems:

1. The unsatisfied dependencies exception is not thrown when I work off the TicketMonster sources on Git. There's a difference between the source listing of SeatAllocationService here in the tutorial and on Git, since the one on the site does not list the use of EmbeddedCacheManager and JDG. I'd recommend using the Git sources for now (tags 2.1.0 or 2.1.1 should be ok), until the site is synchronized. I've raised JDF-259: https://issues.jboss.org/browse/JDF-259 to track this.

2. The PDF does indeed miss a few lines of the SeatAllocationService. I'd recommend sticking to the git sources of 2.1.0 or 2.1.1 (preferably) or the JDF site for now. Raised JDF-260: https://issues.jboss.org/browse/JDF-260 to track ...

-----
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/20130411/c2320a2f/attachment-0001.html 


More information about the jdf-users mailing list