[jdf-users] [jdf] Re: JBoss Developer Framework

Disqus notifications at disqus.net
Sun Mar 17 13:19:20 EDT 2013



Juraj Huska <gooseka2 at gmail.com> (unregistered) wrote:

Hey, thanks for tutorial, it is very clear and helpful.  My little problem:

I was following the tutorial to test my REST services in my project. I used the BaseEntityService as a base for my services. When I was testing them, the micro deployment failed with error: 

WELD-001408 Unsatisfied dependencies for type [EntityManager] with qualifiers [@Default] at injection point [[field] @Inject private on a field entityManager in the class BaseEntityService.



I managed to get rid of this error with changing the @Injection annotation over that field with @PersistenceContext annotation. But honestly do know why it is so :) Anyone can clear this for me ?

IP address: 147.251.201.100
Link to comment: http://redirect.disqus.com/url?url=http%3A%2F%2Fjboss.org%2Fjdf%2Fexamples%2Fticket-monster%2Ftutorial%2FBusinessLogic%2F%23comment-832642633%3AS_fKj1S_RnEPB91BJmD_NhwKiBI&impression=cdd1849c-8f26-11e2-a584-003048de3680&type=notification.post.moderator&event=email&behavior=click

-----
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/20130317/aa70c62f/attachment.html 


More information about the jdf-users mailing list