[jboss-jira] [JBoss JIRA] (WFLY-10843) WFLYWELD0012 warning while parsing valid beans.xml: Cannot find the declaration of element 'beans'.
Matej Novotny (JIRA)
issues at jboss.org
Mon Aug 20 04:43:00 EDT 2018
[ https://issues.jboss.org/browse/WFLY-10843?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Matej Novotny updated WFLY-10843:
---------------------------------
Git Pull Request: https://github.com/wildfly/wildfly/pull/11542
> WFLYWELD0012 warning while parsing valid beans.xml: Cannot find the declaration of element 'beans'.
> ---------------------------------------------------------------------------------------------------
>
> Key: WFLY-10843
> URL: https://issues.jboss.org/browse/WFLY-10843
> Project: WildFly
> Issue Type: Bug
> Components: CDI / Weld, MP Health
> Reporter: Rostislav Svoboda
> Assignee: Matej Novotny
> Priority: Critical
>
> WFLYWELD0012 warning while parsing valid beans.xml: Cannot find the declaration of element 'beans'.
> {code}
> 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'.
> {code}
> Some details in https://issues.jboss.org/browse/WFWIP-107
> [~mkouba] 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
--
This message was sent by Atlassian JIRA
(v7.5.0#75005)
More information about the jboss-jira
mailing list