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

interceptors declared in multiple beans.xml files

    XMLWordPrintable

Details

    Description

      this seems to be the result of out of date code:

      Exception in thread "main" org.jboss.weld.DeploymentException: <interceptor> can only be specified once, but it is specified muliple times [File: file:/Users/gavin/Documents/workspace/setest/bin/META-INF/beans.xml; Node: [interceptors: null], File: file:/Users/gavin/Documents/workspace/sql/bin/META-INF/beans.xml; Node: [interceptors: null]]
      at org.jboss.weld.xml.BeansXmlParser.parse(BeansXmlParser.java:202)
      at org.jboss.weld.bootstrap.BeanDeployment.parseBeansXml(BeanDeployment.java:107)
      at org.jboss.weld.bootstrap.BeanDeployment.<init>(BeanDeployment.java:85)
      at org.jboss.weld.bootstrap.WeldBootstrap$DeploymentVisitor.visit(WeldBootstrap.java:197)
      at org.jboss.weld.bootstrap.WeldBootstrap$DeploymentVisitor.visit(WeldBootstrap.java:174)
      at org.jboss.weld.bootstrap.WeldBootstrap.startContainer(WeldBootstrap.java:295)
      at org.jboss.weld.environment.se.StartMain.go(StartMain.java:69)
      at org.jboss.weld.environment.se.StartMain.main(StartMain.java:89)

      Attachments

        Activity

          People

            nickarls Nicklas Karlsson (Inactive)
            gavin.king Gavin King (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: