Hi All,
I just spent (or rather wasted) hours trying to determine what I was doing wrong with my injection qualifiers, with the following error:
org.jboss.weld.exceptions.DeploymentException: WELD-001408 Unsatisfied dependencies for type [Place] with qualifiers [@Named] at injection point [[field] @Inject @Named com.acme.Project.daPlace]
The source of my problem turned out to be that the target bean MyPlace implemented Serializable but did NOT have a no-args constructor. Sure, I'm responsible for this juvenile error and it's likely to be a common mistake for others. The problem is that Weld doesn't exhibit any symptoms for this problem.
Is this something that is possible to address? Should a Jira issue be created for this? Like to know what people think.
Cheers
--AH
Is this something that is possible to address? Should a Jira issue be created for this? Like to know what people think.
Sure, check Validator class, and propose changes/fix.
(if you do it via github pull request you get extra points :-))