Uploaded image for project: 'Weld'
  1. Weld
  2. WELD-912

Specializing beans in different bean archives does not work

    Details

      Description

      @Specializing a bean that is deployed in a different bean archive fails with the following exception:

      Caused by: org.jboss.weld.exceptions.DefinitionException: WELD-000047 Specializing bean must extend another bean: Managed Bean [class fi.affecto.test.MyApplicationBundles] with qualifiers [@Any @Default]
      at org.jboss.weld.bean.ManagedBean.specialize(ManagedBean.java:545)
      at org.jboss.weld.bean.AbstractBean.initialize(AbstractBean.java:124)
      at org.jboss.weld.bean.AbstractClassBean.initialize(AbstractClassBean.java:202)
      at org.jboss.weld.bean.ManagedBean.initialize(ManagedBean.java:372)
      at org.jboss.weld.bootstrap.AbstractBeanDeployer.deploy(AbstractBeanDeployer.java:113)
      at org.jboss.weld.bootstrap.BeanDeployment.deployBeans(BeanDeployment.java:216)
      at org.jboss.weld.bootstrap.WeldBootstrap.deployBeans(WeldBootstrap.java:370)
      at org.jboss.as.weld.WeldContainer.start(WeldContainer.java:82)
      at org.jboss.as.weld.services.WeldService.start(WeldService.java:89)
      ... 4 more

        Gliffy Diagrams

          Attachments

            Issue Links

              Activity

                People

                • Assignee:
                  alesj AleŇ° Justin
                  Reporter:
                  nickarls Nicklas Karlsson
                • Votes:
                  10 Vote for this issue
                  Watchers:
                  14 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved: