1 Reply Latest reply on Nov 30, 2011 9:42 AM by Ales Justin

    Unhelpful DeploymentException Message (Serialization Problem)

    Andrew Hughes Newbie

      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:


      The WELD-001408 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 Problem



      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.


      Question



      Is this something that is possible to address? Should a Jira issue be created for this? Like to know what people think.


      Cheers
      --AH