Uploaded image for project: 'WildFly'
  1. WildFly
  2. WFLY-10843

WFLYWELD0012 warning while parsing valid beans.xml: Cannot find the declaration of element 'beans'.

    XMLWordPrintable

Details

    Description

      WFLYWELD0012 warning while parsing valid beans.xml: Cannot find the declaration of element 'beans'.

       WFLYWELD0012:
       Warning while parsing jar:file:/Users/rsvoboda/tmp/wildfly/dist/target/wildfly-14.0.0.Beta2-SNAPSHOT/modules/system/layers/base/io/smallrye/health/main/
       smallrye-health-1.0.2.jar!/META-INF/beans.xml:4 cvc-elt.1.a:
       Cannot find the declaration of element 'beans'.
      

      Some details in https://issues.jboss.org/browse/WFWIP-107

      mkouba@redhat.com says that https://github.com/wildfly/wildfly/blob/master/weld/subsystem/src/main/java/org/jboss/as/weld/deployment/PropertyReplacingBeansXmlHandler.java needs to be adjusted to correctly detect error messages which should be ignored ++ follow Weld code in https://github.com/weld/core/blob/master/impl/src/main/java/org/jboss/weld/xml/BeansXmlValidator.java#L116-L122

      Attachments

        Issue Links

          Activity

            People

              manovotn Matěj Novotný
              rsvoboda@redhat.com Rostislav Svoboda
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: