[jbosstools-issues] [JBoss JIRA] (JBIDE-26793) cvc-complex-type.2.4.a error in <weld:scan> tag in the pom.xml when using CDI 2.0

Zbyněk Červinka (Jira) issues at jboss.org
Wed Aug 14 06:26:00 EDT 2019


     [ https://issues.jboss.org/browse/JBIDE-26793?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Zbyněk Červinka updated JBIDE-26793:
------------------------------------
    Description: 
h2. *Error message:*

{code}
cvc-complex-type.2.4.a: Invalid content was found starting with element 'weld:scan'. One of '{"http://xmlns.jcp.org/xml/ns/javaee":interceptors, "http://xmlns.jcp.org/xml/ns/javaee":decorators, "http://xmlns.jcp.org/xml/ns/javaee":alternatives, "http://xmlns.jcp.org/xml/ns/javaee":scan, "http://xmlns.jcp.org/xml/ns/javaee":trim}' is expected.
{code}


h2. *Affected weld version details:*
* Weld se version: 2.2.4.Final, 2.4.8.Final
* Weld api version: 2.2.SP3, 3.1.SP1


h2. *Additional information:*
* error only appears when using CDI 2.0, older versions of CDI are working properly
* Error appears when using WildFly 16 and in several CodeReady Studio version (July/August)


  was:
h2. *Error message:*

{code}
cvc-complex-type.2.4.a: Invalid content was found starting with element 'weld:scan'. One of '{"http://xmlns.jcp.org/xml/ns/javaee":interceptors, "http://xmlns.jcp.org/xml/ns/javaee":decorators, "http://xmlns.jcp.org/xml/ns/javaee":alternatives, "http://xmlns.jcp.org/xml/ns/javaee":scan, "http://xmlns.jcp.org/xml/ns/javaee":trim}' is expected.
{code}


h2. *Affected weld version details:*
* Weld se version: 2.2.4.Final, 2.4.8.Final
* Weld api version: 2.2.SP3, 3.1.SP1


h2. *Additional information:*
* error only appears when using CDI 2.0, older versions of CDI are working properly




> cvc-complex-type.2.4.a error in <weld:scan> tag in the pom.xml when using CDI 2.0
> ---------------------------------------------------------------------------------
>
>                 Key: JBIDE-26793
>                 URL: https://issues.jboss.org/browse/JBIDE-26793
>             Project: Tools (JBoss Tools)
>          Issue Type: Bug
>          Components: cdi
>    Affects Versions: 4.12.0.Final
>         Environment: OS X, RHEL 7, Windows 10 (both java 8 and java 11)
>            Reporter: Zbyněk Červinka
>            Priority: Major
>
> h2. *Error message:*
> {code}
> cvc-complex-type.2.4.a: Invalid content was found starting with element 'weld:scan'. One of '{"http://xmlns.jcp.org/xml/ns/javaee":interceptors, "http://xmlns.jcp.org/xml/ns/javaee":decorators, "http://xmlns.jcp.org/xml/ns/javaee":alternatives, "http://xmlns.jcp.org/xml/ns/javaee":scan, "http://xmlns.jcp.org/xml/ns/javaee":trim}' is expected.
> {code}
> h2. *Affected weld version details:*
> * Weld se version: 2.2.4.Final, 2.4.8.Final
> * Weld api version: 2.2.SP3, 3.1.SP1
> h2. *Additional information:*
> * error only appears when using CDI 2.0, older versions of CDI are working properly
> * Error appears when using WildFly 16 and in several CodeReady Studio version (July/August)



--
This message was sent by Atlassian Jira
(v7.12.1#712002)



More information about the jbosstools-issues mailing list