A new comment has been posted on JDF Project site


Juraj Huska

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 ?

Jason Porter

Sounds to me like you're missing an entitymanager producer.

Sent from Mailbox for iPhone

Reply on JDF Project site

Moderate by email

User’s email address: lightguard.jp@gmail.com | User’s IP address: 127.0.0.1

You can reply to this email with "Delete", "Approve", or "Spam", or moderate from the Disqus moderation panel.